head	1.31;
access;
symbols
	TIGRIS_1_1_0RC2:1.28.6.1
	TIGRIS_1_1_0RC1:1.28.6.1
	TIGRIS_1_1:1.28.6.1.0.2
	TIGRIS_1_0_8:1.28.6.1
	TIGRIS_1_0_8RC3:1.28.6.1
	TIGRIS_1_0_8RC2:1.28.6.1
	TIGRIS_1_0_8RC1:1.28.6.1
	TIGRIS_1_0_7:1.28.6.1
	TIGRIS_1_0_7RC3:1.28.6.1
	TIGRIS_1_0_7RC2:1.28.6.1
	TIGRIS_1_0_7RC1:1.28.6.1
	TIGRIS_1_0_6:1.28.6.1
	TIGRIS_1_0_6RC5:1.28.6.1
	TIGRIS_1_0_6RC4:1.28.6.1
	TIGRIS_1_0_6RC3:1.28.6.1
	TIGRIS_1_0_6RC2:1.28.6.1
	TIGRIS_1_0_6RC1:1.28.6.1
	TIGRIS_1_0_5:1.28
	TIGRIS_1_0_5RC6:1.28
	TIGRIS_1_0_5RC5:1.28
	TIGRIS_1_0_5RC4:1.28
	TIGRIS_1_0_5RC3:1.28
	TIGRIS_1_0_5RC2:1.28
	TIGRIS_1_0_5RC1:1.28
	TIGRIS_1_0_4:1.28
	TIGRIS_1_0_3:1.28
	TIGRIS_1_0_2:1.28
	TIGRIS_1_0_1:1.28
	TIGRIS_1_0:1.28.0.6
	TIGRIS_1_0_0:1.28
	TIGRIS_1_0_0_RC1:1.28.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.21.2.1
	TIGRIS_0_9_2_3:1.21.2.1
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.21
	TIGRIS_0_9_2_1:1.21
	TIGRIS_0_9_2:1.21.0.2
	TIGRIS_0_9_0:1.18.0.2
	TIGRIS_0_8_4:1.12.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.30;

1.30
date	2001.05.21.11.36.14;	author edk;	state Exp;
branches;
next	1.29;

1.29
date	2001.05.13.07.35.19;	author jrobbins;	state Exp;
branches;
next	1.28;

1.28
date	2001.03.24.09.06.03;	author jrobbins;	state Exp;
branches
	1.28.6.1;
next	1.27;

1.27
date	2001.03.24.08.39.49;	author jrobbins;	state Exp;
branches;
next	1.26;

1.26
date	2001.03.23.19.20.38;	author jrobbins;	state Exp;
branches;
next	1.25;

1.25
date	2001.03.22.18.25.49;	author caitlyn;	state Exp;
branches;
next	1.24;

1.24
date	2001.02.27.08.30.25;	author dlr;	state Exp;
branches;
next	1.23;

1.23
date	2001.02.24.00.32.48;	author jody;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.21.01.08.29;	author dlr;	state Exp;
branches;
next	1.21;

1.21
date	2000.12.29.17.11.54;	author leonardr;	state Exp;
branches
	1.21.2.1
	1.21.4.1;
next	1.20;

1.20
date	2000.12.29.02.31.34;	author dlr;	state Exp;
branches;
next	1.19;

1.19
date	2000.12.26.21.39.03;	author elicia;	state Exp;
branches;
next	1.18;

1.18
date	2000.12.21.00.39.14;	author jrobbins;	state Exp;
branches;
next	1.17;

1.17
date	2000.12.20.23.33.36;	author kmaples;	state Exp;
branches;
next	1.16;

1.16
date	2000.12.12.21.46.40;	author leonardr;	state Exp;
branches;
next	1.15;

1.15
date	2000.12.07.20.24.33;	author elicia;	state Exp;
branches;
next	1.14;

1.14
date	2000.12.07.01.27.17;	author elicia;	state Exp;
branches;
next	1.13;

1.13
date	2000.12.06.04.26.00;	author jrobbins;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.03.20.41.00;	author stack;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2000.12.03.06.12.55;	author jrobbins;	state Exp;
branches;
next	1.10;

1.10
date	2000.12.02.21.54.28;	author stack;	state Exp;
branches;
next	1.9;

1.9
date	2000.12.02.04.17.20;	author elicia;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.29.20.39.44;	author cameron;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.29.20.21.49;	author cameron;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.29.09.52.37;	author jrobbins;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.27.19.16.53;	author susank;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.27.16.23.05;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.14.19.31.42;	author dlr;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.13.23.57.46;	author susank;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.08;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.08;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.36.54;	author dlr;	state Exp;
branches;
next	;

1.12.2.1
date	2000.12.07.03.16.45;	author jrobbins;	state Exp;
branches;
next	;

1.21.2.1
date	2001.01.28.02.42.22;	author cameron;	state Exp;
branches;
next	1.21.2.2;

1.21.2.2
date	2001.02.16.02.19.35;	author jrobbins;	state Exp;
branches;
next	;

1.21.4.1
date	2001.01.31.02.05.50;	author leonardr;	state Exp;
branches;
next	1.21.4.2;

1.21.4.2
date	2001.02.07.02.25.55;	author leonardr;	state Exp;
branches;
next	1.21.4.3;

1.21.4.3
date	2001.02.08.00.34.04;	author elicia;	state Exp;
branches;
next	1.21.4.4;

1.21.4.4
date	2001.02.12.17.20.30;	author leonardr;	state Exp;
branches;
next	;

1.28.6.1
date	2001.06.06.07.16.47;	author edk;	state Exp;
branches;
next	;


desc
@@


1.31
log
@Removed WM templates in favor of Velocity templates.
@
text
@#parse "$BRAND_TEMPLATE_ROOT/Admin_Nav.wm"


<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" width="100%">
  <TR>
    <TD colspan="4" class="Header" nowrap>User List: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
    <TD colspan="3" class="PlainText" ALIGN="RIGHT">
      #if ($acl.hasPermission("User - Add", $currentDomain))
      {
       <A HREF="UserAdd">Add&nbsp;New&nbsp;User</a>
      }
      &nbsp;&nbsp;&nbsp; <A HREF="/servlets/AllUserEmails">Get&nbsp;All&nbsp;User&nbsp;Emails</a>
    </TD>   
  </TR>
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">User</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef" nowrap>Real Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Email</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Organization</TD>
  </TR> 

#if ($loginUser.isSuperUser()) {
  #set $paginatableList = $currentDomain.getUsers($itemsPerPage, $filter);
}
#else {
  #set $paginatableList = $currentDomain.getNonSystemUsers($itemsPerPage, $filter);
}
#set $userPage = $paginatableList.getPage($paginated_page);
#if (!$userPage.isEmpty())
{
 #foreach $user in $userPage
 {
  ## this is annoying : WM complains if you try to print a null, at least
  ## when it's the return value from a function.  work around that feature:
  #set $organization = $user.getOrganization()
  #if (!$organization)
  {
       #set $organization = ""
  }
  <TR> 
   <TD class="PlainText" VALIGN="top" nowrap>
   #if ($acl.hasPermission("User - Edit", $user.getDomain()))
   {
    <A HREF="/servlets/UserEdit?userID=$user.getID()">
     $user.getLoginName()
    </A>
   } #else {
    $user.getLoginName()
   }
   </TD>
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getRealName()</TD> 
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getEmail()</TD> 
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$organization</TD> 
  </TR>
  <TR>
   <TD COLSPAN="7">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
}

<TR>
<TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
$paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page);
</TD>

</TR>
} #else {
<span class="Warning">No matching users were found.</span>
}

<TR>
  <TD valign="TOP" COLSPAN="7"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="7">
  <FORM METHOD="post" ACTION="UserList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>
</TABLE>
@


1.30
log
@avoid annoying error messages in the logs : don't try to print null values
@
text
@@


1.29
log
@added style, regularized arguments to navigationBar, removed an unneeded link
@
text
@d36 7
d59 1
a59 1
   <TD class="PlainText" VALIGN="top" nowrap>$user.getOrganization()</TD> 
@


1.28
log
@added much needed admin nav element
@
text
@d67 1
a67 1
$paginatableList.navigationBar("UserList", $paginated_page);
d72 1
a72 1
<font color="red">No matching users were found.</font>
@


1.28.6.1
log
@port a fix to the head to the branch : this avoids some annoying error
messages which are otherwise possible during template rendering.
@
text
@a35 7
  ## this is annoying : WM complains if you try to print a null, at least
  ## when it's the return value from a function.  work around that feature:
  #set $organization = $user.getOrganization()
  #if (!$organization)
  {
      #set $organization = ""
  }
d52 1
a52 1
   <TD class="PlainText" VALIGN="top" nowrap>$organization</TD> 
@


1.27
log
@added style, spacing, divider lines, moved a few links around on the pages
@
text
@d1 2
@


1.26
log
@move spaces out of link
@
text
@d74 1
a74 1
  <TD COLSPAN="7"><hr size="1" noshade></TD>
@


1.25
log
@changed width of table, fixed colspan problems,
made space between "Add New User" and "Get All User Emails"
non breaking spaces, got rid of extra table cells.





PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d10 1
a10 1
      <A HREF="AllUserEmails">&nbsp;&nbsp;&nbsp;Get&nbsp;All&nbsp;User&nbsp;Emails</a>
@


1.24
log
@Don't show system users to non super users.
@
text
@d2 1
a2 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
d4 2
a5 3
    <TD class="Header" nowrap>User List: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
    <TD colspan=5></TD>
    <TD  colspan=2 CLASS="PlainText" ALIGN="RIGHT">
d8 1
a8 1
       <A HREF="UserAdd">Add New User</a>
d10 1
a10 1
      <A HREF="AllUserEmails">Get All User Emails</a>
a20 1
    <TD WIDTH="100%" bgcolor="#efefef">&nbsp;</TD>
a50 1
   <TD WIDTH="100%">&nbsp;</TD> 
d53 1
a53 1
   <TD COLSPAN="8">
d63 2
a64 1
<TR><TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
d66 3
a68 1
</TD></TR>
d74 1
a74 1
  <TD COLSPAN="8"><hr size="1" noshade></TD>
d77 1
a77 1
  <TD COLSPAN="8">
@


1.23
log
@added a link for getting to the AllUserEmails servlet :jody
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d25 6
a30 1
#set $paginatableList = $currentDomain.getUsers($itemsPerPage, $filter);
@


1.22
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d6 1
a6 1
    <TD  colspan=2 CLASS="PlainText">
d11 1
@


1.21
log
@Many, many pagination changes.
@
text
@d7 1
a7 1
      #if ($acl.hasPermissionForDomain("User - Add", $currentDomain.getID()))
d24 1
a24 1
#set $paginatableList = $currentDomain.getUsers($itemsPerPage, $criterion);
d32 1
a32 1
   #if ($acl.hasPermissionForDomain("User - Edit", $user.getDomainID()))
d34 2
a35 2
    <A HREF="/servlets/UserEdit?userID=$user.getUserID()">
     $user.getLoginID()
d38 1
a38 1
    $user.getLoginID()
d42 1
a42 1
   <TD class="PlainText" VALIGN="top" nowrap>$user.getName()</TD> 
@


1.21.4.1
log
@Converted permission checking somewhat.
@
text
@d7 1
a7 1
      #if ($acl.hasPermissionForDomain("User - Add", $currentDomain))
@


1.21.4.2
log
@Ported UserList servlet.
@
text
@d24 1
a24 1
#set $paginatableList = $currentDomain.getUsers($itemsPerPage, $criteria);
d35 1
a35 1
     $user.getLoginName()
d38 1
a38 1
    $user.getLoginName()
d42 1
a42 1
   <TD class="PlainText" VALIGN="top" nowrap>$user.getRealName()</TD> 
@


1.21.4.3
log
@leonardr commit: Changed permission checking and method calls
@
text
@d24 1
a24 1
#set $paginatableList = $currentDomain.getUsers($itemsPerPage, $filter);
d32 1
a32 1
   #if ($acl.hasPermissionForDomain("User - Edit", $user.getDomain()))
d34 1
a34 1
    <A HREF="/servlets/UserEdit?userID=$user.getID()">
@


1.21.4.4
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d7 1
a7 1
      #if ($acl.hasPermission("User - Add", $currentDomain))
d32 1
a32 1
   #if ($acl.hasPermission("User - Edit", $user.getDomain()))
@


1.21.2.1
log
@fixed layout at top of screen so it renders better with long project names
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d1 1
d4 3
a6 2
    <TD colspan="6" class="Header" nowrap>User List: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
    <TD  colspan="2" ALIGN="right" CLASS="PlainText">
d21 1
a21 1
    <TD bgcolor="#efefef">&nbsp;</TD>
@


1.21.2.2
log
@minor html tweaks
@
text
@d58 1
a58 1
<TR><TD COLSPAN="8" ALIGN="center" CLASS="PlainText">
@


1.20
log
@Updated to provide a UI for new HELM_PROJECT.USE_INDEX field.
@
text
@d24 3
a26 1
#foreach $user in $users
d28 2
d31 17
a47 8
    <TD class="PlainText" VALIGN="top" nowrap><A HREF="/servlets/UserEdit?userID=$user.getUserID()">$user.getLoginID()</A></TD>
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
    <TD class="PlainText" VALIGN="top" nowrap>$user.getName()</TD> 
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
    <TD class="PlainText" VALIGN="top" nowrap>$user.getEmail()</TD> 
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
    <TD class="PlainText" VALIGN="top" nowrap>$user.getOrganization()</TD> 
    <TD WIDTH="100%">&nbsp;</TD>
d50 7
a56 7
    <TD COLSPAN="8">
      <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
        <TR>
          <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
        </TR>
      </TABLE>
    </TD>
a58 17
## Only show this pagination shlock if there is actually more than one page.
#if ($currentPage)
{
  <TR>
    <TD COLSPAN="8">&nbsp;</TD>
  </TR>
  <TR>
    ## HELP: How should we handle this if there are so many users that the
    ## jump link list wraps?
    <TD class="PlainText" VALIGN="top" COLSPAN="8" ALIGN="CENTER">
  #if ($prevPage)
  {
      <A HREF="/servlets/UserList?paginated_page=$prevPage">Prev</A> | 
  }
  ## Parse the pages list that contains alphabetical range--
  ## The first letter of the loginID of the first user's loginID, 
  ## and the first letter of the last user's loginID
d60 5
a64 37
  #foreach $page in $pagesWithAlphabetRanges
  {
      #set $index = $counter.reset()
      #set $index = $counter.incrementString()
    #foreach $item in $page
    {
      #if ($index.equals("1"))
      {
          #set $pageNum = $item
      }
      #if ($index.equals("2")) 
      {
          #set $firstLetter = $item
      }
      #if ($index.equals("3"))
      {
          #set $lastLetter = $item
      }
      #set $index = $counter.incrementString()
    }
    #if (!$pageNum.toString().equals("1"))
    {
      |
    }
    #if ($currentPage.toString().equals($pageNum.toString()))
    {
      $pageNum $firstLetter;-$lastLetter
    } #else {
      <A HREF="/servlets/UserList?paginated_page=$pageNum">$pageNum $firstLetter;-$lastLetter</A>
    }
  }
  #if ($nextPage)
  {
      | <A HREF="/servlets/UserList?paginated_page=$nextPage">Next</A>
  }
    </TD>
  </TR>
d66 12
a77 7
  <TR><TD COLSPAN="8"><hr size="1" noshade></TD></TR>
  <TR><TD COLSPAN="8">
   <FORM METHOD="post" ACTION="UserList">
   #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/UserSelection.wm" 
   </FORM>
  </TD></TR>
</table>
@


1.19
log
@moved Add New User link to line up with right most column
@
text
@d34 1
a34 1
    <TD WIDTH="100%">&nbsp;</TD> 
@


1.18
log
@corrected column spanning and made Prev and Next consistently uppercase
@
text
@d1 2
a2 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
d5 2
a6 1
    <TD CLASS="PlainText">
a12 3
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
@


1.17
log
@Changed key 'page' to 'paginated_page' to avoid name clash w/ a noodle key named 'page'
@
text
@d38 1
a38 1
    <TD COLSPAN="7">
d51 1
a51 1
    <TD COLSPAN="7">&nbsp;</TD>
a53 2
    <TD class="PlainText" VALIGN="top"></TD>
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD>
d56 1
a56 1
    <TD class="PlainText" VALIGN="top" COLSPAN="3">
d59 1
a59 1
      <A HREF="/servlets/UserList?paginated_page=$prevPage">prev</A> | 
d98 1
a98 1
      | <A HREF="/servlets/UserList?paginated_page=$nextPage">next</A>
d100 1
a100 1
    <TD WIDTH="100%">&nbsp;</TD>
d103 2
a104 2
  <TR><TD COLSPAN="7"><hr size="1" noshade></TD></TR>
  <TR><TD COLSPAN="7">
@


1.16
log
@Support for user organization
@
text
@d61 1
a61 1
      <A HREF="/servlets/UserList?page=$prevPage">prev</A> | 
d95 1
a95 1
      <A HREF="/servlets/UserList?page=$pageNum">$pageNum $firstLetter;-$lastLetter</A>
d100 1
a100 1
      | <A HREF="/servlets/UserList?page=$nextPage">next</A>
@


1.15
log
@removed extra error message
@
text
@d20 2
d33 2
d38 1
a38 1
    <TD COLSPAN="6">
d51 1
a51 1
    <TD COLSPAN="6">&nbsp;</TD>
d105 2
a106 2
  <TR><TD COLSPAN="6"><hr size="1" noshade></TD></TR>
  <TR><TD COLSPAN="6">
@


1.14
log
@added alphabetical indications to page numbers
@
text
@a13 6
#if ( ( ! $users ) ||  $users.equals("empty"))
{
  <TR>
     <TD class="PlainText" colspan=6><font color="red">No matching users found.</font></TD>
  </TR>
} #else {
a42 1
}
d62 2
a63 1
  #foreach $page in $pages
@


1.13
log
@made sure long login ids and emails do not wrap
@
text
@a49 1

d66 3
d71 19
a89 1
    #if (!$page.toString().equals("1"))
d93 1
a93 1
    #if ($page.equals($currentPage))
d95 1
a95 1
      $page
d97 1
a97 1
      <A HREF="/servlets/UserList?page=$page">$page</A>
@


1.12
log
@Fixed yesterday. Worked.  Looking at logic, can't figure how it worked.  Redid.  Tested.  Works
@
text
@d32 1
a32 1
    <TD class="PlainText" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$user.getUserID()">$user.getLoginID()</A></TD>
d36 1
a36 1
    <TD class="PlainText" VALIGN="top">$user.getEmail()</TD> 
@


1.12.2.1
log
@moved over change from HEAD
@
text
@d32 1
a32 1
    <TD class="PlainText" VALIGN="top" nowrap><A HREF="/servlets/UserEdit?userID=$user.getUserID()">$user.getLoginID()</A></TD>
d36 1
a36 1
    <TD class="PlainText" VALIGN="top" nowrap>$user.getEmail()</TD> 
@


1.11
log
@added divider lines and applied styles and corrected spacing
@
text
@d14 1
a14 1
#if ($users && $users.equals("empty"))
@


1.10
log
@Test on variable 'users' was throwing NullPointerException if no users.  Rearranged brackets so no reference to 'users' outside of block that tests for null
@
text
@d4 1
a4 1
    <TD CLASS="StatText">
@


1.9
log
@moved Add New User list over to the right

checking for empty user list, and posting red message if so
@
text
@d14 1
a14 1
#if ($users.equals("empty"))
d28 1
a28 1
}
d48 1
@


1.8
log
@added lines to visually separate listings.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a0 5
## webmacro variables:
##
## $currentDomain : Domain
## $users : List

d4 6
d14 6
d28 1
a28 1

a85 13
  <TR>
    <TD class="PlainText" VALIGN="top"></TD>
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="StatText">
      #if ($acl.hasPermissionForDomain("User - Add", $currentDomain.getID()))
      {
       <A HREF="UserAdd">Add New User</a>
      }
    </TD>   
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="PlainText" VALIGN="top"></TD>
    <TD WIDTH="100%">&nbsp;</TD>
  </TR>  
@


1.7
log
@fixed hr to match the rest of the site.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d31 10
a40 1
  </TR> 
@


1.6
log
@added class
@
text
@d83 1
a83 1
  <TR><TD COLSPAN="6"><HR></TD></TR>
@


1.5
log
@added domain name to page header
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d73 1
a73 1
    <TD>
@


1.4
log
@Added user search capabilities (swiped from Joist) to UserPaginator, an almost-drop-in replacement for Paginator. Changed servlets that were paginating users to use UserPaginator
@
text
@d8 1
a8 1
    <TD class="Header" nowrap>$displayName</TD>  
@


1.3
log
@Don't want jump link list to be only one column wide--increased to
three.
@
text
@d74 5
a78 4
      <FORM METHOD="post" ACTION="UserAdd">
      <INPUT TYPE="submit" VALUE="Add New User">
      </FORM>
    </TD>
d82 7
a88 1
  </TR>   
@


1.2
log
@added nowrap to name table cell
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d43 3
a45 1
    <TD class="PlainText" VALIGN="top">
a66 2
    <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="PlainText" VALIGN="top"></TD>
@


1.1
log
@Initial revision
@
text
@d16 1
a16 1
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Real name</TD>
d27 1
a27 1
    <TD class="PlainText" VALIGN="top">$user.getName()</TD> 
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d1 4
d6 1
a6 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
d8 1
a8 8
    <TD class="Header" nowrap>User List: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
    <TD colspan=5></TD>
    <TD  colspan=2 CLASS="PlainText">
      #if ($acl.hasPermission("User - Add", $currentDomain))
      {
       <A HREF="UserAdd">Add New User</a>
      }
    </TD>   
d10 3
d16 1
a16 1
    <TD class="ProjectDownloadHeader" bgcolor="#efefef" nowrap>Real Name</TD>
a18 2
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Organization</TD>
d22 1
a22 3
#set $paginatableList = $currentDomain.getUsers($itemsPerPage, $filter);
#set $userPage = $paginatableList.getPage($paginated_page);
#if (!$userPage.isEmpty())
a23 2
 #foreach $user in $userPage
 {
d25 14
a38 17
   <TD class="PlainText" VALIGN="top" nowrap>
   #if ($acl.hasPermission("User - Edit", $user.getDomain()))
   {
    <A HREF="/servlets/UserEdit?userID=$user.getID()">
     $user.getLoginName()
    </A>
   } #else {
    $user.getLoginName()
   }
   </TD>
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getRealName()</TD> 
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getEmail()</TD> 
   <TD WIDTH="10"><SPACER TYPE="block" WIDTH="10"></TD> 
   <TD class="PlainText" VALIGN="top" nowrap>$user.getOrganization()</TD> 
   <TD WIDTH="100%">&nbsp;</TD> 
d41 27
a67 7
   <TD COLSPAN="8">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
d70 13
a82 19

<TR><TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
$paginatableList.navigationBar("UserList", $paginated_page);
</TD></TR>
} #else {
<font color="red">No matching users were found.</font>
}

<TR>
  <TD COLSPAN="8"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="8">
  <FORM METHOD="post" ACTION="UserList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>
</TABLE>
@

