discourse-legacysite-perl/site/glist/templates/gossamer/admin_user_home.html

100 lines
5.6 KiB
HTML
Raw Normal View History

2024-06-17 12:24:05 +00:00
<html><body>
<%set book_mark = 'user_management'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name=myform action="glist.cgi" method=post>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td bgcolor="#FFFFFF"><img src="<%image_url%>/pics/1pixel.gif" height=4></td>
</tr>
<tr>
<td bgcolor="#7a9f54">
<%set log_usr_type = $usr_type%>
<table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%">
<tr class="body_bold">
<td width=15% bgcolor="#256A19"class="body_white">
<a href="glist.cgi?do=admin_user&sb=usr_type&so=<%if so eq 'ASC' or so eq ''%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Type</font></a>
<%if sb eq 'usr_type' or sb eq ''%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=20% bgcolor="#256A19"class="body_white">
<a href="glist.cgi?do=admin_user&sb=usr_username&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Username</font></a>
<%if sb eq 'usr_username'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=30% bgcolor="#256A19"class="body_bold">
<a href="glist.cgi?do=admin_user&sb=usr_email&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%if sb eq 'usr_email'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=32% bgcolor="#256A19" class="body_bold">
<a href="glist.cgi?do=admin_user&sb=pro_first_name&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Full Name</font></a>
<%if sb eq 'pro_first_name'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>up.gif<%else%>down.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=3% align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" /></td>
</tr>
<%set usr_current = $usr_username%>
<%loop results%>
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
<td class="body">
<%if usr_type == 1%>Administrator<%elsif usr_type == 2%>Limited User<%elsif usr_type == 3%>Unlimited User<%else%>Unvalidated User<%endif%>
</td>
<td class="body">
<a href="glist.cgi?do=admin_user_modify_form&uid=<%usr_username%><%hidden_query%>"><%usr_username%></a>
</td>
<td class="body">
<a href="mailto:<%usr_email%>"><%usr_email%></a>
</td>
<td class="body"><%pro_first_name%> <%pro_last_name%></td>
<td align="center">
<%if usr_current ne $usr_username%>
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
<input type="hidden" name="<%row_num%>-usr_username" value="<%usr_username%>" />
<%endif%>
</td>
</tr>
<%endloop%>
</table>
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="1"cellpadding="1">
<%if hits > $mh%>
<tr align="right" class="body">
<td colspan="2"><%include include_toolbar.html%></td>
</tr>
<%endif%>
<tr>
<td class="body"><%if msg%><%msg%><%endif%></td>
<td align="right">
<input name="badd" type="button" value="Add a User" onclick="open_url('do=admin_page;pg=admin_user_add_form.html<%hidden_query%>')" class="button" />
<%if hits%>
<input type="button" name="bdelete" value="Delete Users" onclick="init_do('myform', 'admin_user_delete', '', '', 'admin_user_')" class="button" />
<%if signup_enable%>
<input type="button" name="bvalidate" value="Validate Users" onclick="init_do('myform', 'admin_user_validate', '', '', 'admin_user_', '','', 'Please choose one or more user to validate by checking the boxes to the right of the user(s).')" class="button" />
<%endif%>
<input name="bsearch" type="button" value="Search Users" onclick="open_url('do=admin_page;pg=admin_user_search_form.html<%hidden_query%>')" class="button">
<%endif%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input name=do value="delete" type="hidden" />
<%hidden_query%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>