home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / cgi-bin / discus4_00 / source / usermgr1.tmpl < prev    next >
Text File  |  2009-11-06  |  3KB  |  90 lines

  1. # FILE: usermgr1.html
  2. # DESCRIPTION: First User Manager Screen (Choosing a group to edit)
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7.  
  8. <#define array @mod_alt_colors (_index, color)#>
  9. 1    #e3e3e3
  10. 2    #d0d0d0
  11. <#/define#>
  12.  
  13. <html><head><title>User Manager</title>
  14. <style>
  15.     TD.unselected {font: bold 9pt Verdana,Arial,Helvetica; background-color: #d0d0d0}
  16.     TD.selected {font: bold 9pt Verdana,Arial,Helvetica; background-color: #ffff00}
  17. td.ub {font: bold 10pt Verdana,Arial,Helvetica}
  18. td.unb {font: 10pt verdana,arial,helvetica}
  19.     A.bar {text-decoration: none}
  20. </style>
  21. </head>
  22. <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">
  23. $fs<font size=3><center><b>User Manager</b></center></font>
  24. <hr>
  25.  
  26. <h4>Manage Users</h4>
  27.  
  28. <#if $general->{tot_grp} == 0#>
  29.     <p>
  30.     <font color=#ff0000>There are not any groups on this board.  The board administrator
  31.     can create groups using the Group Manager.</font>
  32.     </p>
  33.     </font></body></html>
  34.     <#exit#>
  35. <#endif#>
  36.  
  37. <#if $#grp_arr == 0#>
  38.     <p>
  39.     <font color=#ff0000>You are not authorized to edit any of the groups of users that exist on
  40.     this board.  The board administrator assigns group editing privileges.</font>
  41.     </p>
  42.     </font></body></html>
  43.     <#exit#>
  44. <#endif#>
  45.  
  46. <table bgcolor=#000000 width=100% border=0 cellspacing=0 cellpadding=0><tr><td>
  47. <table cellspacing=1 cellpadding=2 border=0 width=100%>
  48. <tr bgcolor="#f7f7f7">
  49. <td width=90% class="ub">Group</td>
  50. <td class="ub" align=right>Users  </td>
  51. </tr>
  52. <#define $q = "0"#>
  53. <#foreach $pu (@grp_arr)#>
  54.     <tr valign=center bgcolor="<#pick color $pu->{_iteration} from @mod_alt_colors (1,2)#>">
  55.     <td class="unb"><a href="$cgiurl?username=$general->{username}&action=user_mgr_2&group=$pu->{group}">\u$pu->{group}</a></td>
  56.     <td class="unb" align=right>$pu->{usrcnt}  </td>
  57.     </tr>
  58.     <#math: $q += 1#>
  59. <#endloop#>
  60. <!--
  61. <#if $general->{username} eq $DCONF->{superuser} && $general->{nocount} > 0#>
  62.     <#math: $q += 1#>
  63.     <tr valign=center bgcolor="<#pick color $q from @mod_alt_colors (1,2)#>">
  64.     <td class="unb"><a href="$cgiurl?username=$general->{username}&action=user_mgr_2&group=%20">(Users not in any group)</a></td>
  65.     <td class="unb" align=right>$general->{nocount}  </td>
  66.     </tr>
  67. <#endif#>
  68. -->
  69. </table>
  70. </td></tr></table>
  71.  
  72. <#if pro#>
  73.     <#if $#queue > 0#>
  74.         <h4>Queued Users</h4>
  75.         <p>
  76.         <#if $#queue == 1#>
  77.             There is 1 user in your queue.
  78.         <#else#>
  79.             There are $#queue users in your queue.
  80.         <#endif#>
  81.         </p>
  82.         <p>
  83.         Click here to
  84.         <a href="$cgiurl?username=$general->{username}&action=selfreg_queue">go to your queue</a>.
  85.         </p>
  86.     <#endif#>
  87. <#endif#>
  88. </body></html>
  89. <!--END-->
  90.