- Timestamp:
- 02/25/11 17:54:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/user.tmpl
r67 r82 11 11 <input type="hidden" name="page" value="user" /> 12 12 <input type="hidden" name="action" value="<TMPL_VAR NAME=action>" /> 13 <TMPL_IF uid><input type="hidden" name="uid" value="<TMPL_VAR NAME=uid>" /></TMPL_IF> 14 <TMPL_IF gid><input type="hidden" name="gid" value="<TMPL_VAR NAME=gid>" /></TMPL_IF> 13 15 14 16 <table border="0" cellspacing="2" cellpadding="2" width="450"> … … 16 18 <td class="errhead" colspan="2">Error <TMPL_IF add>adding<TMPL_ELSE>updating</TMPL_IF> user <TMPL_VAR NAME=uname>: <TMPL_VAR NAME=errmsg></td> 17 19 </tr></TMPL_IF> 18 <tr class="darkrowheader"><td colspan="2" align="center"> AddUser</td></tr>20 <tr class="darkrowheader"><td colspan="2" align="center"><TMPL_IF add>Add<TMPL_ELSE>Edit</TMPL_IF> User</td></tr> 19 21 20 22 <tr class="datalinelight"> … … 49 51 </tr> 50 52 <tr class="datalinelight"> 51 <td>Create as active user</td><td><input type="checkbox" name="makeactive" checked="checked" /></td> 53 <td><TMPL_IF add>Create as active user<TMPL_ELSE>User is active</TMPL_IF></td> 54 <td><input type="checkbox" name="makeactive" checked="checked" /></td> 52 55 </tr> 53 56 … … 58 61 <tr class="tableheader"> 59 62 <td align="center" colspan="5"> 60 <input type="radio" name="perms_type" value="inherit" <TMPL_IF add_failed><TMPL_IF perm_inherit>checked="checked"</TMPL_IF><TMPL_ELSE>checked="checked"</TMPL_IF>/> Inheritpermissions from group63 <input type="radio" name="perms_type" value="inherit" <TMPL_IF set_permgroup><TMPL_IF perm_inherit>checked="checked"</TMPL_IF><TMPL_ELSE>checked="checked"</TMPL_IF>/> Use permissions from group 61 64 </td> 62 65 </tr> … … 66 69 <tr class="tableheader"> 67 70 <td align="center" colspan="5"> 68 <input type="radio" name="perms_type" value="clone" <TMPL_IF add_failed><TMPL_IF perm_clone> checked="checked"</TMPL_IF></TMPL_IF>/> Clone permissions from an existing user71 <input type="radio" name="perms_type" value="clone" <TMPL_IF set_permgroup><TMPL_IF perm_clone> checked="checked"</TMPL_IF></TMPL_IF>/> Clone permissions from an existing user 69 72 </td> 70 73 </tr> … … 82 85 <tr class="tableheader"> 83 86 <td align="center" colspan="5"> 84 <input type="radio" name="perms_type" value="custom" <TMPL_IF add_failed><TMPL_IF perm_custom> checked="checked"</TMPL_IF></TMPL_IF>/> Specify permissions87 <input type="radio" name="perms_type" value="custom" <TMPL_IF set_permgroup><TMPL_IF perm_custom> checked="checked"</TMPL_IF></TMPL_IF>/> Specify permissions 85 88 </td> 86 89 </tr> … … 92 95 </tr> 93 96 94 <tr><td colspan="2" class="tblsubmit"><input type="submit" value=" Adduser" /></td></tr>97 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="<TMPL_IF add>Add<TMPL_ELSE>Update</TMPL_IF> user" /></td></tr> 95 98 96 <tr><td colspan="2">tmp note: radio button select "group template" vs "clone user"?</td></tr>97 99 </table> 98 100
Note:
See TracChangeset
for help on using the changeset viewer.