[24] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
[100] | 5 | <td class="main">
|
---|
[24] | 6 |
|
---|
[67] | 7 | <TMPL_IF warnmsg>
|
---|
| 8 | <div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div>
|
---|
| 9 | </TMPL_IF>
|
---|
[142] | 10 | <TMPL_IF errmsg>
|
---|
| 11 | <div class='errmsg'><TMPL_VAR NAME=errmsg></div>
|
---|
[100] | 12 | </TMPL_IF>
|
---|
[24] | 13 |
|
---|
[100] | 14 | <table width="98%" class="csubtable">
|
---|
| 15 | <tr><th colspan="3"><div class="center maintitle">Manage users</div></th></tr>
|
---|
[41] | 16 | <tr>
|
---|
| 17 | <td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
| 18 | <td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
|
---|
| 19 | <td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
|
---|
| 20 | </tr>
|
---|
[40] | 21 | <tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
|
---|
[142] | 22 | <TMPL_IF adduser>
|
---|
[67] | 23 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=user">New User</a></td></tr>
|
---|
[142] | 24 | </TMPL_IF>
|
---|
[24] | 25 | </table>
|
---|
| 26 |
|
---|
[100] | 27 | <table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
|
---|
[24] | 28 | <tr>
|
---|
[44] | 29 | <TMPL_LOOP NAME=colheads>
|
---|
| 30 | <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
|
---|
[142] | 31 | <TMPL_IF deluser> <td class="datahead_s">Delete</td></TMPL_IF>
|
---|
[24] | 32 | </tr>
|
---|
| 33 | <TMPL_IF name=usertable>
|
---|
| 34 | <TMPL_LOOP name=usertable>
|
---|
| 35 | <tr class="row<TMPL_VAR name=bg>">
|
---|
[142] | 36 | <td align="left"><TMPL_IF eduser><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=user&action=edit&user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a><TMPL_ELSE><TMPL_VAR NAME=username></TMPL_IF></td>
|
---|
[59] | 37 | <td class="data_nowrap"><TMPL_VAR name=userfull></td>
|
---|
[38] | 38 | <td><TMPL_VAR name=usertype></td>
|
---|
| 39 | <td><TMPL_VAR name=usergroup></td>
|
---|
[142] | 40 | <td align="center">
|
---|
| 41 | <TMPL_IF eduser>
|
---|
| 42 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin<TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&id=<TMPL_VAR NAME=userid>&userstatus=<TMPL_IF active>useroff<TMPL_ELSE>useron</TMPL_IF>"><TMPL_IF active>enabled<TMPL_ELSE>disabled</TMPL_IF></a>
|
---|
| 43 | <TMPL_ELSE>
|
---|
| 44 | <TMPL_IF active>enabled<TMPL_ELSE>disabled</TMPL_IF>
|
---|
| 45 | </TMPL_IF>
|
---|
| 46 | </td>
|
---|
| 47 | <TMPL_IF deluser>
|
---|
[38] | 48 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=deluser&id=<TMPL_VAR NAME=userid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
[142] | 49 | </TMPL_IF>
|
---|
[24] | 50 | </tr>
|
---|
| 51 | </TMPL_LOOP>
|
---|
| 52 | <TMPL_ELSE>
|
---|
[41] | 53 | <tr><td colspan="6">No users found</td></tr>
|
---|
[24] | 54 | </TMPL_IF>
|
---|
| 55 | </table>
|
---|
| 56 |
|
---|
| 57 | </td>
|
---|
[38] | 58 | </tr>
|
---|
[24] | 59 | </table>
|
---|