home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
discus_admin_1357211388
/
template
/
admin
/
usermgr1.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
3KB
|
90 lines
# FILE: usermgr1.html
# DESCRIPTION: First User Manager Screen (Choosing a group to edit)
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<#define array @mod_alt_colors (_index, color)#>
1 #e3e3e3
2 #d0d0d0
<#/define#>
<html><head><title>User Manager</title>
<style>
TD.unselected {font: bold 9pt Verdana,Arial,Helvetica; background-color: #d0d0d0}
TD.selected {font: bold 9pt Verdana,Arial,Helvetica; background-color: #ffff00}
td.ub {font: bold 10pt Verdana,Arial,Helvetica}
td.unb {font: 10pt verdana,arial,helvetica}
A.bar {text-decoration: none}
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">
$fs<font size=3><center><b>User Manager</b></center></font>
<hr>
<h4>Manage Users</h4>
<#if $general->{tot_grp} == 0#>
<p>
<font color=#ff0000>There are not any groups on this board. The board administrator
can create groups using the Group Manager.</font>
</p>
</font></body></html>
<#exit#>
<#endif#>
<#if $#grp_arr == 0#>
<p>
<font color=#ff0000>You are not authorized to edit any of the groups of users that exist on
this board. The board administrator assigns group editing privileges.</font>
</p>
</font></body></html>
<#exit#>
<#endif#>
<table bgcolor=#000000 width=100% border=0 cellspacing=0 cellpadding=0><tr><td>
<table cellspacing=1 cellpadding=2 border=0 width=100%>
<tr bgcolor="#f7f7f7">
<td width=90% class="ub">Group</td>
<td class="ub" align=right>Users </td>
</tr>
<#define $q = "0"#>
<#foreach $pu (@grp_arr)#>
<tr valign=center bgcolor="<#pick color $pu->{_iteration} from @mod_alt_colors (1,2)#>">
<td class="unb"><a href="$cgiurl?username=$general->{username}&action=user_mgr_2&group=$pu->{group}">\u$pu->{group}</a></td>
<td class="unb" align=right>$pu->{usrcnt} </td>
</tr>
<#math: $q += 1#>
<#endloop#>
<!--
<#if $general->{username} eq $DCONF->{superuser} && $general->{nocount} > 0#>
<#math: $q += 1#>
<tr valign=center bgcolor="<#pick color $q from @mod_alt_colors (1,2)#>">
<td class="unb"><a href="$cgiurl?username=$general->{username}&action=user_mgr_2&group=%20">(Users not in any group)</a></td>
<td class="unb" align=right>$general->{nocount} </td>
</tr>
<#endif#>
-->
</table>
</td></tr></table>
<#if pro#>
<#if $#queue > 0#>
<h4>Queued Users</h4>
<p>
<#if $#queue == 1#>
There is 1 user in your queue.
<#else#>
There are $#queue users in your queue.
<#endif#>
</p>
<p>
Click here to
<a href="$cgiurl?username=$general->{username}&action=selfreg_queue">go to your queue</a>.
</p>
<#endif#>
<#endif#>
</body></html>
<!--END-->