head	1.18;
access;
symbols
	TIGRIS_1_1_0RC2:1.16
	TIGRIS_1_1_0RC1:1.16
	TIGRIS_1_1:1.16.0.4
	TIGRIS_1_0_8:1.16
	TIGRIS_1_0_8RC3:1.16
	TIGRIS_1_0_8RC2:1.16
	TIGRIS_1_0_8RC1:1.16
	TIGRIS_1_0_7:1.16
	TIGRIS_1_0_7RC3:1.16
	TIGRIS_1_0_7RC2:1.16
	TIGRIS_1_0_7RC1:1.16
	TIGRIS_1_0_6:1.16
	TIGRIS_1_0_6RC5:1.16
	TIGRIS_1_0_6RC4:1.16
	TIGRIS_1_0_6RC3:1.16
	TIGRIS_1_0_6RC2:1.16
	TIGRIS_1_0_6RC1:1.16
	TIGRIS_1_0_5:1.16
	TIGRIS_1_0_5RC6:1.16
	TIGRIS_1_0_5RC5:1.16
	TIGRIS_1_0_5RC4:1.16
	TIGRIS_1_0_5RC3:1.16
	TIGRIS_1_0_5RC2:1.16
	TIGRIS_1_0_5RC1:1.16
	TIGRIS_1_0_4:1.16
	TIGRIS_1_0_3:1.16
	TIGRIS_1_0_2:1.16
	TIGRIS_1_0_1:1.16
	TIGRIS_1_0:1.16.0.6
	TIGRIS_1_0_0:1.16
	TIGRIS_1_0_0_RC1:1.16.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.8
	TIGRIS_0_9_2_3:1.8
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.8
	TIGRIS_0_9_2_1:1.8
	TIGRIS_0_9_2:1.8.0.2
	TIGRIS_0_9_0:1.6.0.2
	TIGRIS_0_8_4:1.4.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.17;

1.17
date	2001.04.11.17.42.12;	author leonardr;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.24.09.06.03;	author jrobbins;	state Exp;
branches;
next	1.15;

1.15
date	2001.03.08.19.05.38;	author leonardr;	state Exp;
branches;
next	1.14;

1.14
date	2001.03.06.02.03.21;	author jrobbins;	state Exp;
branches;
next	1.13;

1.13
date	2001.03.02.01.37.39;	author dlr;	state Exp;
branches;
next	1.12;

1.12
date	2001.03.01.08.34.17;	author dlr;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.28.00.20.54;	author dlr;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.27.08.55.58;	author dlr;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.26.22.28.36;	author dlr;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.15.21.01.09;	author dlr;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.12.00.29.54;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.20.21.01.13;	author dlr;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.12.21.46.40;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2000.12.01.01.06.55;	author susank;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.29.05.33.42;	author susank;	state Exp;
branches;
next	1.2;

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

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

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

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


desc
@@


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

<form method="post" action="UserAdd">

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Add a User: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
  </TR>
</TABLE>
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0">
  <TR> 
    <TD colspan="3"><span class="Asterisk">*</span> <span class="PlainText">Required fields</span></TD> 
  </TR> 
  <TR>      
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">User name:</TD>
    <TD class="PlainText"  VALIGN="top"><input type="text" name="userName" value="$userName" size="15"></TD>
  </TR>
  <TR>      
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">Email:</TD>
    <TD class="PlainText"  VALIGN="top"><input type="text" name="email" value="$email" size="30"></TD>
  </TR>
  <TR>       
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">Real name:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="text" name="realName" value="$realName" size="30"></TD> 
  </TR> 
  <TR>       
    <TD VALIGN="top"></TD> 
    <TD class="InputHeader" VALIGN="top">Organization:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="text" name="organization" value="$organization" size="30"></TD> 
  </TR> 
  <TR>       
    <TD></TD>
    <TD class="InputHeader" VALIGN="top">Password:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="password" name="passwd" value="" size="30"></TD> 
  </TR> 
  <TR>
    <TD></TD>
    <TD class="InputHeader" VALIGN="top">Retype password:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="password" name="passwdConfirm" value="" size="30"></TD> 
  </TR> 
  <TR>
    <TD></TD> 
    <TD></TD> 
    <TD class="PlainText">If you leave the password blank, the new user will be sent a ticket to set their password.</TD> 
  </TR> 
  <TR>
    <TD></TD>
    <TD></TD>
    <TD><INPUT TYPE="submit" NAME="Button" VALUE="Create User"></TD>
  </TR>
</TABLE>


<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" > 
  <TR>  
    <TD COLSPAN="3" height="5"><spacer type="block" height="5"></TD>
  </TR> 
  <TR>
    <TD COLSPAN="3" BGCOLOR="#cccccc" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
   </TR>
  <TR> 
        <TD class="Header" nowrap>Add Multiple Users</TD> 
  </TR> 
  <TR>  
        <TD class="PlainText">Use the following form to list users one per line. eg:<br>
                    <SPAN CLASS="PlainTextBold">jdoe jdoe@@domain.com "Jon Doe" "Acme, Inc."</SPAN> <br>
                    <li>The real name is optional (but must be quoted).
                    <li>The organization is optional (but must also be quoted).
                    <li>Each user will be given a random password.
        </TD>
  </TR>  
  <TR>       
        <TD class="PlainText"  VALIGN="top"><textarea name="multipleUsers" rows="5" cols="60">$multipleUsers</textarea></TD> 
  </TR> 
  #if ($acl.hasPermission("UserGroup Element - Add", $currentDomain))
  {
  <TR>       
        <TD class="PlainText">
         Use the following form to list user groups one per line. eg:<br>
         <b>management</b><br>
         <b>javadev</b>
        </TD>
  </TR>  
  <TR>
        <TD>
         <textarea name="userGroupNames" wrap="virtual" rows="3"
                   cols="60">$userGroupNames</textarea>
        </TD>
  </TR>
  }
  <TR>
        <TD class="PlainText"  VALIGN="top">
          <input type="checkbox" name="emailUsers" value="Y"
          #if ($emailUsers && $emailUsers.equals("Y"))
          {
                 checked
          }
          >
          Email password tickets to users <small>(affects only the
          <i>Add Multiple Users</i> box)</small>
        </TD>
  </TR>
  <TR>
        <TD><INPUT TYPE="submit" NAME="Button" VALUE="Create Users"></TD> 
  </TR> 
</TABLE>

</form>
@


1.17
log
@Reworked PasswordEdit and got rid of the practice of generating passwords for new users. New users now get a ticket into PasswordEdit to set their passwords initially.
@
text
@@


1.16
log
@added much needed admin nav element
@
text
@d47 1
a47 1
    <TD class="PlainText">Leave password blank to generate one randomly</TD> 
d102 2
a103 2
          Email passwords to users <small>(affects only the <i>Add Multiple
          Users</i> box)</small>
@


1.15
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
@


1.14
log
@added divider line
@
text
@d76 1
a76 1
  #if ($acl.hasPermission("UserGroup Member - Add", $currentDomain))
@


1.13
log
@* Only show the user group addition text area if the user has
  permission to add users to user groups.
* We're adding to user groups, NOT roles.  Duh.
@
text
@d54 2
a55 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">  
d57 1
a57 1
    <TD height="5"><spacer type="block" height="5"></TD>
d59 3
a61 3
</TABLE> 

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%"> 
@


1.12
log
@Added text area for mass add of users to user groups.
@
text
@d75 2
d80 2
a81 2
         <b>Developer</b><br>
         <b>Project Owner</b>
d90 1
@


1.11
log
@Maintain state of checkbox.
@
text
@d75 14
a88 1
  <TR>     
d98 3
a100 3
        </TD>     
  </TR>    
  <TR> 
@


1.10
log
@Adding organization to mass add section.
@
text
@d77 2
a78 2
          <input type="checkbox" name="emailUsers"
          #if ($emailUsers)
a79 2
              #if (!$emailUsers.equals(""))
              {
a80 1
              }
@


1.9
log
@Added note about check box.
@
text
@d66 5
a70 3
                    <SPAN CLASS="PlainTextBold">jdoe jdoe@@domain.com "Jon Doe"</SPAN> <br>
                    <li>The real name is optional.<br>
                    <li>Each user will be given a random password.</TD>  
@


1.8
log
@User real name now optional.
@
text
@d84 2
a85 1
          Email passwords to users
@


1.7
log
@Tiny textareas begone!
@
text
@d67 1
a67 2
                    ## TODO: Implement optional user names in mass addition.
                    ##<li>The real name is optional. <br>
@


1.6
log
@Temporary fix for optional user names in mass addition.
@
text
@d72 1
a72 1
        <TD class="PlainText"  VALIGN="top"><textarea name="multipleUsers" rows="5" cols="30">$multipleUsers</textarea></TD> 
@


1.5
log
@Support for user organization
@
text
@a0 10
## WebMacro variables:
##
## $userName : String
## $email : String
## $realName : String
## $passwd : String
## $passwdConfirm : String
## $multipleUsers : String
## $emailUsers : String

d67 2
a68 1
                    <li>The real name is optional. <br>
@


1.4
log
@added *Required Field key
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d38 5
@


1.3
log
@added required field asteriks
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d19 3
@


1.2
log
@updated title, some style things
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d15 1
a15 1
  	<TD class="Header" nowrap>Add a User: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
d20 3
a22 2
  	<TD class="InputHeader" VALIGN="top">User name:</TD>
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="userName" value="$userName" size="15"></TD>
d25 3
a27 2
  	<TD class="InputHeader" VALIGN="top">Email:</TD>
  	<TD class="PlainText"  VALIGN="top"><input type="text" name="email" value="$email" size="30"></TD>
d30 3
a32 2
        <TD class="InputHeader" VALIGN="top">Real name:</TD> 
        <TD class="PlainText"  VALIGN="top"><input type="text" name="realName" value="$realName" size="30"></TD> 
d35 3
a37 2
        <TD class="InputHeader" VALIGN="top">Password:</TD> 
        <TD class="PlainText"  VALIGN="top"><input type="password" name="passwd" value="" size="30"></TD> 
d39 4
a42 3
  <TR>       
        <TD class="InputHeader" VALIGN="top">Retype password:</TD> 
        <TD class="PlainText"  VALIGN="top"><input type="password" name="passwdConfirm" value="" size="30"></TD> 
d44 4
a47 3
  <TR> 
        <TD></TD> 
        <TD class="PlainText">Leave password blank to generate one randomly</TD> 
d50 3
a52 2
  	<TD></TD>
  	<TD><INPUT TYPE="submit" NAME="Button" VALUE="Create User"></TD>
@


1.1
log
@Initial revision
@
text
@d15 1
a15 1
  	<TD class="Header" nowrap>Add a User</TD>
d61 3
a63 3
                    jdoe jdoe@@domain.com "Jon Doe" <br>
                    The real name is optional. <br>
                    Each user will be given a random password.</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 10
d15 1
a15 1
    <TD class="Header" nowrap>Add a User: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
a18 3
  <TR> 
    <TD colspan="3"><span class="Asterisk">*</span> <span class="PlainText">Required fields</span></TD> 
  </TR> 
d20 2
a21 3
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">User name:</TD>
    <TD class="PlainText"  VALIGN="top"><input type="text" name="userName" value="$userName" size="15"></TD>
d24 2
a25 3
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">Email:</TD>
    <TD class="PlainText"  VALIGN="top"><input type="text" name="email" value="$email" size="30"></TD>
d28 2
a29 3
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">Real name:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="text" name="realName" value="$realName" size="30"></TD> 
d32 2
a33 3
    <TD VALIGN="top"></TD> 
    <TD class="InputHeader" VALIGN="top">Organization:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="text" name="organization" value="$organization" size="30"></TD> 
d36 2
a37 3
    <TD></TD>
    <TD class="InputHeader" VALIGN="top">Password:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="password" name="passwd" value="" size="30"></TD> 
d39 3
a41 9
  <TR>
    <TD></TD>
    <TD class="InputHeader" VALIGN="top">Retype password:</TD> 
    <TD class="PlainText"  VALIGN="top"><input type="password" name="passwdConfirm" value="" size="30"></TD> 
  </TR> 
  <TR>
    <TD></TD> 
    <TD></TD> 
    <TD class="PlainText">Leave password blank to generate one randomly</TD> 
d44 2
a45 3
    <TD></TD>
    <TD></TD>
    <TD><INPUT TYPE="submit" NAME="Button" VALUE="Create User"></TD>
d61 3
a63 3
                    <SPAN CLASS="PlainTextBold">jdoe jdoe@@domain.com "Jon Doe"</SPAN> <br>
                    <li>The real name is optional.<br>
                    <li>Each user will be given a random password.</TD>  
d66 1
a66 1
        <TD class="PlainText"  VALIGN="top"><textarea name="multipleUsers" rows="5" cols="60">$multipleUsers</textarea></TD> 
@

