head	1.4;
access;
symbols
	TIGRIS_1_1_0RC2:1.2
	TIGRIS_1_1_0RC1:1.2
	TIGRIS_1_1:1.2.0.4
	TIGRIS_1_0_8:1.2
	TIGRIS_1_0_8RC3:1.2
	TIGRIS_1_0_8RC2:1.2
	TIGRIS_1_0_8RC1:1.2
	TIGRIS_1_0_7:1.2
	TIGRIS_1_0_7RC3:1.2
	TIGRIS_1_0_7RC2:1.2
	TIGRIS_1_0_7RC1:1.2
	TIGRIS_1_0_6:1.2
	TIGRIS_1_0_6RC5:1.2
	TIGRIS_1_0_6RC4:1.2
	TIGRIS_1_0_6RC3:1.2
	TIGRIS_1_0_6RC2:1.2
	TIGRIS_1_0_6RC1:1.2
	TIGRIS_1_0_5:1.2
	TIGRIS_1_0_5RC6:1.2
	TIGRIS_1_0_5RC5:1.2
	TIGRIS_1_0_5RC4:1.2
	TIGRIS_1_0_5RC3:1.2
	TIGRIS_1_0_5RC2:1.2
	TIGRIS_1_0_5RC1:1.2
	TIGRIS_1_0_4:1.2
	TIGRIS_1_0_3:1.2
	TIGRIS_1_0_2:1.2
	TIGRIS_1_0_1:1.2
	TIGRIS_1_0:1.2.0.6
	TIGRIS_1_0_0:1.2
	TIGRIS_1_0_0_RC1:1.2.0.2;
locks; strict;
comment	@# @;


1.4
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.3;

1.3
date	2001.05.13.07.35.19;	author jrobbins;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.24.09.06.03;	author jrobbins;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.08.19.05.38;	author leonardr;	state Exp;
branches;
next	;


desc
@@


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

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Add Users: <SPAN CLASS="ProjectNameHeader">$currentUserGroup.getName()</SPAN></TD>  
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
<FORM ACTION="UserGroupElementAdd" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<INPUT TYPE="hidden" NAME="userGroupID" VALUE="$currentUserGroup.getID()">
  <TR>
    <TD WIDTH="5%" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Add</TD>
    <TD WIDTH="11%" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>&nbsp;User</B></TD>
    <TD WIDTH="84%" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Real Name</B></TD>
  </TR>

#set $users = $currentDomain.getUsersNotInGroup($currentUserGroup, $itemsPerPage, $filter);
#set $page = $users.getPage($paginated_page);
#if ($userPage.isEmpty())
{
 #if ($users.isEmpty()) 
 {
  <span class="Warning">All avaliable users are already in this group.</span>
 } #else {
  <span class="Warning">No matching users found.</span>
 }
} #else {
 #foreach $user in $page
 {
  <TR>
   <TD WIDTH="5%" BGCOLOR="white">
    <P><INPUT TYPE="CHECKBOX" NAME="Add $user.getID()">
   </TD>
   <TD WIDTH="20%" CLASS="PlainText" BGCOLOR="white">&nbsp;
    #if ($acl.hasPermission("User - Edit", $currentDomain))
    {
     <A HREF="UserEdit?userID=$user.getID()">$user.getLoginName()</A>
    } #else {
     $user.getLoginName()
    }
   </TD>
   <TD WIDTH="75%" CLASS="PlainText" VALIGN="TOP" BGCOLOR="white">
    $user.getRealName()
   </TD>
  </TR>
  <TR>
   <TD COLSPAN="6">
    <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="3"><INPUT type="Submit" name="Button" value="Add to Group"></TD>
 </TR>
 <TR>
  <TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
   $users.navigationBar($currentProject.getProjectPageURL($servletName, "userGroupID=$currentUserGroup.getID()"), $paginated_page);
  </TD>
 </TR>
}

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


1.3
log
@added style, regularized arguments to navigationBar, removed an unneeded link
@
text
@@


1.2
log
@added much needed admin nav element
@
text
@d24 1
a24 1
  <font color="red">All avaliable users are already in this group.</font>
d26 1
a26 1
  <font color="red">No matching users found.</font>
d62 1
a62 1
   $users.navigationBar("UserGroupElementAdd?userGroupID=$currentUserGroup.getID()", $paginated_page);
@


1.1
log
@Political correctness strikes Tigris.org! The components of project and user groups no longer wish to be called "members", as that causes them to be confused with users who have roles in projects. The new, approved term is "elements".
@
text
@d1 2
@

