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 / modgrpas.tmpl < prev    next >
Text File  |  2009-11-06  |  4KB  |  105 lines

  1. # FILE: modgrpas.tmpl
  2. # DESCRIPTION: Moderator Manager - Group Assignment by Moderator screen
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7. <html><head><title>Moderator Manager - Group Assignment</title>
  8. <style>
  9. a.bar {text-decoration: none}
  10. p { margin-left: 2pt; }
  11. p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
  12. .surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
  13. .normal {font: 10pt verdana,arial,helvetica}
  14. .comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
  15. </style>
  16. <script language="JavaScript">
  17. <!--
  18. function selector(param) {
  19.     var l = document.forms[0].group.length;
  20.     for (var i = 0; i < l; i += 1) {
  21.         document.forms[0].group[i].checked = param;
  22.     }
  23. }
  24. // -->
  25. </script>
  26. </head>
  27. <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff">
  28. $fs<font size=3><center><b>Moderator Manager - Group Assignment</b></center></font>
  29. <hr><b>
  30. <a href="$cgiurl?action=mod_mgr&username=$general->{username}&menu=0">Moderator Manager</a>:
  31. Group Assignment
  32. </b><hr>
  33. <#if $general->{saved_flag} > 0#>
  34. <#define array @actions (_index, what)#>
  35. 1    saved e-mail settings
  36. 2    saved group editing privileges
  37. <#/define#>
  38.     <table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
  39.     <b>Note:</b> Successfully <#pick what $general->{saved_flag} from @actions(*)#>
  40.     </font></td></tr></table>
  41. <#endif#>
  42.  
  43. <p>
  44. <form action="$cgiurl" method="post">
  45. <input type="hidden" name="action" value="mod_grp">
  46. <input type="hidden" name="username" value="$general->{username}">
  47. <input type="hidden" name="affect" value="$general->{affect}">
  48. <div class="surround">
  49.     {#if $browser->{ieX}#}<p class="blbar">Assign Groups</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Assign Groups</font></font></td></tr></table>{#endif#}
  50.     <p>
  51.     <#if $general->{mods} > 1#>
  52.         Select group(s) for all marked moderators.
  53.     <#else#>
  54.         Select group(s) for moderator <b>$general->{moduser}</b>.
  55.     <#endif#>
  56.     </p>
  57.     <ul>
  58.     <#foreach $group (@groups)#>
  59.         <input type="checkbox" name="group" value="$group->{name}"\
  60.         <#if $group->{checked}#> checked\
  61.         > \u$group->{name}<br>
  62.     <#endloop#>
  63.     <p>
  64.     <input type=submit value="Save Settings">
  65.     <#if $#groups > 1#>
  66.         <input type=button value="Select All" onClick="selector(1)">
  67.         <input type=button value="Select None" onClick="selector(0)">
  68.     <#endif#>
  69.     </ul>
  70. </div>
  71. </form>
  72.  
  73. <#if $general->{queuemail} == 1#>
  74.     <form action="$cgiurl" method="post">
  75.     <input type="hidden" name="action" value="mod_notify">
  76.     <input type="hidden" name="username" value="$general->{username}">
  77.     <input type="hidden" name="affect" value="$general->{affect}">
  78.     <div class="surround">
  79.         {#if $browser->{ieX}#}<p class="blbar">Notification of New User Applications</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Notification of New User Applications</font></font></td></tr></table>{#endif#}
  80.         <p>
  81.         The following groups accept user account applications and hold them in a queue
  82.         until they are approved or rejected by a moderator.  From this list, select any
  83.         groups for which this moderator will receive a notification upon a new application
  84.         for an account. 
  85.         </p>
  86.         <p>
  87.         Note: You can select only those groups that this moderator is authorized to edit.
  88.         </p>
  89.         <ul>
  90.         <#foreach $group (@groups2)#>
  91.             <input type="checkbox" name="group" value="$group->{name}"\
  92.             <#if $group->{notify_checked}#> checked\
  93.             > \u$group->{name}<br>
  94.         <#endloop#>
  95.         <p>
  96.         <input type=submit value="Save Settings">
  97.         </p>
  98.         </ul>
  99.     </div>
  100.     </form>
  101. <#endif#>
  102.  
  103. </font></body></html>
  104. <!--END-->
  105.