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 / options6.tmpl < prev    next >
Text File  |  2009-11-06  |  48KB  |  798 lines

  1. # FILE: options6.tmpl
  2. # DESCRIPTION: Options Manager Screen - For advanced mode, menu=5
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7. <#if $DCONF->{pro} == 1 && $GLOBAL_OPTIONS{allow_allusers} == 1 && $general->{allusers_total} == 0#>
  8.     <table bgcolor="#ffcccc"><tr><td class="unb">
  9.     <p><b>Warning:</b> You have chosen to enable the "member list" in the user
  10.     interface, but you have    not selected any user groups or moderators to show.
  11.     To fix this problem, go to the <a href="#usrlist">User Profile Display</a>
  12.     section and select at least one item from the "Displayed groups" box.</p>
  13.     </td></tr></table>
  14.     <br><br>
  15. <#endif#>
  16.  
  17. <div class="surround">
  18.     {#if $browser->{ieX}#}<p class="blbar">Defaults</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Defaults</font></font></td></tr></table>{#endif#}
  19.     <p>
  20.     Click the following button to set up the default e-mail notification settings for
  21.     newly created accounts.
  22.     </p>
  23.     <ul>
  24.         <p>
  25.         <input type=button value="E-mail Notification" onClick="openwin('$cgiurl?username=$general->{username}&action=options_email_default');">
  26.         <input type=hidden name="default_notify_string" value="$GLOBAL_OPTIONS{default_notify_string}">
  27.         </p>
  28.         <input type="hidden" name="c" value="default_notify_string">
  29.     </ul>
  30.     <#if pro#>
  31.         <p>
  32.         Check any of the following preferences to have them checked by default for
  33.         all newly created accounts.  Also choose whether the preference you selected
  34.         is made permanent and unchangeable to the user.
  35.         </p>
  36.         <ul>
  37.  
  38.         <table bgcolor="#0000aa" cellpadding=0 cellspacing=0 border=0><tr><td>
  39.         <table cellspacing=1 cellpadding=4 border=0>
  40.             <tr bgcolor="#ffffff">
  41.             <td class="ub">Checked</td>
  42.             <td class="ub">Perm.</td>
  43.             <td class="ub">Preference</td>
  44.             </tr>
  45.             <tr bgcolor="#ffffff">
  46.             <td align=center><input type=checkbox name="pref" value="a"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(a)#} checked{#endif#}></td>
  47.             <td align=center><input type=checkbox name="permpref" value="a"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(a)#} checked{#endif#}></td>
  48.             <td class="unb">$L{PRED_COOKIE}</td>
  49.             </tr>
  50.             <tr bgcolor="#ffffff">
  51.             <td align=center><input type=checkbox name="pref" value="b"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(b)#} checked{#endif#}></td>
  52.             <td align=center><input type=checkbox name="permpref" value="b"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(b)#} checked{#endif#}></td>
  53.             <td class="unb">$L{PRED_COOKIE_TEMP}</td>
  54.             </tr>
  55.             <tr bgcolor="#ffffff">
  56.             <td align=center><input type=checkbox name="pref" value="c"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(c)#} checked{#endif#}></td>
  57.             <td align=center><input type=checkbox name="permpref" value="c"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(c)#} checked{#endif#}></td>
  58.             <td class="unb">$L{PROFILE_EDITOR_REAL_EMAIL_HIDE_PREFERENCE}</td>
  59.             </tr>
  60.             <tr bgcolor="#ffffff">
  61.             <td align=center><input type=checkbox name="pref" value="d"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(d)#} checked{#endif#}></td>
  62.             <td align=center><input type=checkbox name="permpref" value="d"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(d)#} checked{#endif#}></td>
  63.             <td class="unb">$L{PRED_SKIP_PREVIEW}</td>
  64.             </tr>
  65.             <tr bgcolor="#ffffff">
  66.             <td align=center><input type=checkbox name="pref" value="g"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(g)#} checked{#endif#}></td>
  67.             <td align=center><input type=checkbox name="permpref" value="g"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(g)#} checked{#endif#}></td>
  68.             <td class="unb">$L{PROFILE_EDITOR_TARGET_PREFERENCE}</td>
  69.             </tr>
  70.             <tr bgcolor="#ffffff">
  71.             <td align=center><input type=checkbox name="pref" value="h"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(h)#} checked{#endif#}></td>
  72.             <td align=center><input type=checkbox name="permpref" value="h"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(h)#} checked{#endif#}></td>
  73.             <td class="unb">$L{PROFILE_EDITOR_FAVORITES_PREFERENCE}</td>
  74.             </tr>
  75.             <tr bgcolor="#ffffff">
  76.             <td align=center><input type=checkbox name="pref" value="i"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(i)#} checked{#endif#}></td>
  77.             <td align=center><input type=checkbox name="permpref" value="i"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(i)#} checked{#endif#}></td>
  78.             <td class="unb">$L{PRED_SPELLCHECK}</td>
  79.             </tr>
  80.             <tr bgcolor="#ffffff">
  81.             <td align=center><input type=checkbox name="pref" value="k"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(k)#} checked{#endif#}></td>
  82.             <td align=center><input type=checkbox name="permpref" value="k"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(k)#} checked{#endif#}></td>
  83.             <td class="unb">$L{ALLUSERS_PREFERENCE}</td>
  84.             </tr>
  85.             <tr bgcolor="#ffffff">
  86.             <td align=center><input type=checkbox name="pref" value="l"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(l)#} checked{#endif#}></td>
  87.             <td align=center><input type=checkbox name="permpref" value="l"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(l)#} checked{#endif#}></td>
  88.             <td class="unb">$L{PRIVATE_MESSAGE_BLOCK_MESSAGE_PREFERENCE}</td>
  89.             </tr>
  90.             <tr bgcolor="#ffffff">
  91.             <td align=center><input type=checkbox name="pref" value="m"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(m)#} checked{#endif#}></td>
  92.             <td align=center><input type=checkbox name="permpref" value="m"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(m)#} checked{#endif#}></td>
  93.             <td class="unb">$L{PRIVATE_MESSAGE_SKIP_INSTRUCTIONS_MESSAGE_PREFERENCE}</td>
  94.             </tr>
  95.             <tr bgcolor="#ffffff">
  96.             <td align=center><input type=checkbox name="pref" value="n"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(n)#} checked{#endif#}></td>
  97.             <td align=center><input type=checkbox name="permpref" value="n"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(n)#} checked{#endif#}></td>
  98.             <td class="unb">$L{PROFILE_PREFERENCE_SHOW_MOST_RECENT}</td>
  99.             </tr>
  100.             </table>
  101.             </td></tr></table>
  102.             <input type="hidden" name="c" value="default_prefs">
  103.         </ul>
  104.         <input type="hidden" name="c" value="permanent_prefs">
  105.     <#endif#>
  106. </div>
  107. <br><br>
  108. <#if pro#>
  109. <div class="surround">
  110.     {#if $browser->{ieX}#}<p class="blbar">Display of Profiles</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Display of Profiles</font></font></td></tr></table>{#endif#}
  111.     <p>
  112.     The following options affect how profiles are displayed.
  113.     </p>
  114.     <ul>
  115.     <table>
  116.     <tr>
  117.     <td class="normal">Empty Fields:</td>
  118.     <td><select name="empty_fields" size=1>
  119.         <option value="0"{#if $GLOBAL_OPTIONS{empty_fields} == 0#} selected{#endif#}>Display field name with no answer</option>
  120.         <option value="1"{#if $GLOBAL_OPTIONS{empty_fields} == 1#} selected{#endif#}>Do not display field name</option>
  121.     </select></td></tr>
  122.     <tr>
  123.     <td class="normal">Hidden Fields:</td>
  124.     <td><select name="hidden_fields" size=1>
  125.         <option value="0"{#if $GLOBAL_OPTIONS{hidden_fields} == 0#} selected{#endif#}>Display field name and text "$L{PROFILE_DISPLAY_HIDDEN}"</option>
  126.         <option value="1"{#if $GLOBAL_OPTIONS{hidden_fields} == 1#} selected{#endif#}>Do not display field name</option>
  127.     </select></td></tr>
  128.     </table>
  129.     </ul>
  130.     <p>
  131.     <input type=checkbox name="moderator_substitute_1" value=1{#if $GLOBAL_OPTIONS->{moderator_substitute_1} == 1#} checked{#endif#}>
  132.         Show moderator profile with matching username in unsuccessful user search<br>
  133.     <input type=checkbox name="moderator_substitute_2" value=1{#if $GLOBAL_OPTIONS->{moderator_substitute_2} == 1#} checked{#endif#}>
  134.         Show user profile with matching username in unsuccessful moderator search<br>
  135.     </p>
  136.  
  137.     <input type="hidden" value="empty_fields,hidden_fields,moderator_substitute_1,moderator_substitute_2" name="a">
  138. </div>
  139. <br><br>
  140.  
  141. <div class="surround">
  142.     {#if $browser->{ieX}#}<p class="blbar">Fields</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Fields</font></font></td></tr></table>{#endif#}
  143.     <p>
  144.     You may specify up to 20 fields for users and moderators to fill out with their profiles.
  145.     To delete a field, delete everything in the text box for that field's description.  For
  146.     more information on specifying fields, consult the administration instructions for Options
  147.     Manager.
  148.     </p>
  149.     <input type="hidden" name="c" value="profile_fields">
  150.     <ul>
  151.     <table cellspacing=0 cellpadding=2>
  152.     <tr align=center>
  153.     <td class="normal"><b>Display</b></td>
  154.     <td class="normal"><b>Req.</b></td>
  155.     <td class="normal"><b>Order</b></td>
  156.     <td class="normal"><b>Type</b></td>
  157.     <td class="normal"><b>Rows</b></td>
  158.     <td class="normal" align=left><b>Description</b></td>
  159.     </tr>
  160.     <#define $field_count = "0"#>
  161.     <#foreach $field (@fields)#>
  162.         <#if $field->{descr} ne ""#>
  163.             <#math: $field_count += 1#>
  164.             <tr align=center>
  165.             <td><select name="show_$field->{var}" size=1>
  166.             <option value="1"{#if $field->{display} == 1#} selected{#endif#}>---</option>
  167.             <option value="0"{#if $field->{display} == 0#} selected{#endif#}>Hide</option>
  168.             <option value="2"{#if $field->{display} == 2#} selected{#endif#}>Show</option>
  169.             </select></td>
  170.             <td><input type=checkbox name="require_$field->{var}" value="1"{#if $field->{require} == 1#} checked{#endif#}></td>
  171.             <td><input type=text name="order_$field->{var}" value="$field_count" size=4></td>
  172.             <td><select name="type_$field->{var}" size=1>
  173.                 <option value="1"{#if $field->{type} == 1#} selected{#endif#}>Text</option>
  174.                 <option value="2"{#if $field->{type} == 2#} selected{#endif#}>URL</option>
  175.                 <option value="3"{#if $field->{type} == 3#} selected{#endif#}>E-mail</option>
  176.                 <option value="4"{#if $field->{type} == 4#} selected{#endif#}>Yahoo ID</option>
  177.                 <option value="5"{#if $field->{type} == 5#} selected{#endif#}>ICQ ID</option>
  178.                 <option value="6"{#if $field->{type} == 6#} selected{#endif#}>Style Sheet</option>
  179.                 </select></td>
  180.             <td><select name="rows_$field->{var}" size=1>
  181.                 <option value="1"{#if $field->{size} == 1#} selected{#endif#}>1</option>
  182.                 <option value="3"{#if $field->{size} == 3#} selected{#endif#}>3</option>
  183.                 <option value="5"{#if $field->{size} == 5#} selected{#endif#}>5</option>
  184.                 </select></td>
  185.             <td><input type=text name="descr_$field->{var}" value="<#form escape "$field->{descr}"#>" size=35></td>
  186.             </tr>
  187.         <#endif#>
  188.     <#endloop#>
  189.     <#if $field_count < 20#>
  190.         <#math: $field_count += 1#>
  191.         <tr bgcolor=#ccccff>
  192.         <td valign=top colspan=6 class="normal">
  193.         To add a new field, type a description and select appropriate options<br>
  194.         for your new field in the following row:
  195.         </td>
  196.         </tr>
  197.         <tr align=center bgcolor=#ccccff>
  198.             <td><select name="show_new" size=1>
  199.             <option value="1">---</option>
  200.             <option value="0">Hide</option>
  201.             <option value="2">Show</option>
  202.             </select></td>
  203.         <td><input type=checkbox name="require_new" value="1"></td>
  204.         <td><input type=text name="order_new" value="$field_count" size=4></td>
  205.         <td><select name="type_new" size=1>
  206.             <option value="1" selected>Text</option>
  207.             <option value="2">URL</option>
  208.             <option value="3">E-mail</option>
  209.             <option value="4">Yahoo ID</option>
  210.             <option value="5">ICQ ID</option>
  211.             <option value="6">Style Sheet</option>
  212.             </select></td>
  213.         <td><select name="rows_new" size=1>
  214.             <option value="1" selected>1</option>
  215.             <option value="3">3</option>
  216.             <option value="5">5</option>
  217.             </select></td>
  218.         <td><input type=text name="descr_new" value="" size=35></td>
  219.         </tr>
  220.     <#endif#>
  221.     </table>
  222.     </ul>
  223. </div>
  224. <br><br>
  225. <div class="surround">
  226.     {#if $browser->{ieX}#}<p class="blbar">Forgotten Password Utility</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Forgotten Password Utility</font></font></td></tr></table>{#endif#}
  227.     <input type=checkbox name=forgotten_pw_util value=1{#if $GLOBAL_OPTIONS{forgotten_pw_util}#} checked{#endif#}> Enable forgotten password utility<br>
  228.     <ul>
  229.         The forgotten password utility works by allowing a user to choose a new password
  230.         and enter the e-mail address originally used for registration.  An e-mail is then
  231.         sent to the user to confirm the password change.  When the password change is
  232.         confirmed, the new password is put into effect.
  233.         <br><br>
  234.         <input type=checkbox name=forgotten_pw_waiting_activation value=1{#if $GLOBAL_OPTIONS{forgotten_pw_waiting_activation}#} checked{#endif#}> Allow accounts awaiting e-mail activation to use utility<br>
  235.         <input type=checkbox name=forgotten_pw_hide_email value=1{#if $GLOBAL_OPTIONS{forgotten_pw_hide_email}#} checked{#endif#}> Hide e-mail address when user chooses new password<br>
  236.         <input type=checkbox name=forgotten_pw_hide_user value=1{#if $GLOBAL_OPTIONS{forgotten_pw_hide_user}#} checked{#endif#}> Hide username when user chooses new password<br>
  237.         <input type=checkbox name=forgotten_pw_email value=1{#if $GLOBAL_OPTIONS{forgotten_pw_email}#} checked{#endif#}> Require e-mail address to be entered to use utility<br>
  238.         <input type=checkbox name=forgotten_pw_pass value=1{#if $GLOBAL_OPTIONS{forgotten_pw_pass}#} checked{#endif#}> Require new password to be entered at time of activation<br>
  239.         <input type=checkbox name=forgotten_pw_user value=1{#if $GLOBAL_OPTIONS{forgotten_pw_user}#} checked{#endif#}> Require username to be entered to use utility<br>
  240.         <input type=hidden name="a" value="forgotten_pw_waiting_activation">
  241.         <input type=hidden name="a" value="forgotten_pw_hide_email">
  242.         <input type=hidden name="a" value="forgotten_pw_hide_user">
  243.         <input type=hidden name="a" value="forgotten_pw_user">
  244.         <input type=hidden name="a" value="forgotten_pw_email">
  245.         <input type=hidden name="a" value="forgotten_pw_util,forgotten_pw_pass">
  246.     </ul>
  247.     <input type=hidden name="a" value="forgotten_pw_turnoff">
  248. </div>
  249. <br><br>
  250. <#endif#>
  251. <#if $GLOBAL_OPTIONS->{database} == 0 || $DCONF->{pro} == 0#>
  252. <div class="surround">
  253.     {#if $browser->{ieX}#}<p class="blbar">Last Access Information</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Last Access Information</font></font></td></tr></table>{#endif#}
  254.     <p>
  255.     This controls how frequently the user database is updated.  The more frequently the
  256.     database is updated, the more accurate the "last access" time will be, but the
  257.     slower the board will operate when authenticating visitors.
  258.     </p>
  259.     <ul>
  260.     <p>Update information: 
  261.     <select name="u_last_access_info" size=1>
  262.         <option value="0"{#if $GLOBAL_OPTIONS{u_last_access_info} == 0#} selected{#endif#}>\
  263.             Upon each access (most accurate / least efficient)</option>
  264.         <option value="1"{#if $GLOBAL_OPTIONS{u_last_access_info} == 1#} selected{#endif#}>\
  265.             Whenever username and password are manually entered</option>
  266.         <#if pro#>
  267.         <option value="2"{#if $GLOBAL_OPTIONS{u_last_access_info} == 2#} selected{#endif#}>\
  268.             Upon first access to the board in session</option>
  269.         <#endif#>
  270.         <option value="3"{#if $GLOBAL_OPTIONS{u_last_access_info} == 3#} selected{#endif#}>\
  271.             Never (not accurate / most efficient)</option>
  272.     </select>
  273.     </p>
  274.     </ul>
  275.     <input type=hidden name="a" value="u_last_access_info">
  276. </div>
  277. <br><br>
  278. <#endif#>
  279. <#if pro#>
  280.     <div class="surround">
  281.         {#if $browser->{ieX}#}<p class="blbar">Pictures</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Pictures</font></font></td></tr></table>{#endif#}
  282.         <input type=checkbox value=1 name="user_picts"{#if $GLOBAL_OPTIONS{user_picts} == 1#} checked{#endif#}>
  283.         Picture upload in profiles<br>
  284.         <input type=hidden name="a" value="user_picts">
  285.         <ul>
  286.             Allowed Formats: <select name=picture_allow_gif value=1>
  287.                 <option value="0"{#if $GLOBAL_OPTIONS{picture_allow_gif} == 0#} selected{#endif#}>JPEG only</option>
  288.                 <option value="1"{#if $GLOBAL_OPTIONS{picture_allow_gif} == 1#} selected{#endif#}>GIF or JPEG</option>
  289.                 </select>
  290.             <input type=hidden name="a" value="picture_allow_gif">
  291.             <br>
  292.             <br>
  293.             <input type=checkbox value=1 name="picture_forcesize"{#if $GLOBAL_OPTIONS{picture_forcesize} == 1#} checked{#endif#}>
  294.                 Picture Size Restriction:
  295.                 <ul>
  296.                     <select name="picture_forcesize_type" size="1">
  297.                     <option value="1"{#if $GLOBAL_OPTIONS{picture_forcesize_type} eq "1"#} selected{#endif#}>Smaller Than</option>
  298.                     <option value="0"{#if $GLOBAL_OPTIONS{picture_forcesize_type} eq "0"#} selected{#endif#}>Exactly</option>
  299.                     </select>
  300.  
  301.                     <input type=text size=5 name="picture_width" value="{#if $GLOBAL_OPTIONS{picture_width} == 0#}50{#else#}$GLOBAL_OPTIONS{picture_width}{#endif#}"> x \
  302.                     <input type=text size=5 name="picture_height" value="{#if $GLOBAL_OPTIONS{picture_height} == 0#}50{#else#}$GLOBAL_OPTIONS{picture_height}{#endif#}">
  303.                 </ul>
  304.                 <input type=hidden name="a" value="picture_forcesize_type,picture_forcesize,picture_width,picture_height">
  305.             <br>
  306.             <input type=hidden name="a" value="thumbnails_enabled,thumbnails_use_gd,thumbnails_enabled_posts">
  307.             <#if $general->{installed_gd}#>
  308.                 <p>
  309.                 <input type=checkbox value=1 name="thumbnails_enabled"{#if $GLOBAL_OPTIONS{thumbnails_enabled} == 1#} checked{#endif#}>
  310.                     Thumbnails:
  311.                     <ul>
  312.                         <p>
  313.                         Thumbnail Creation: <select name="thumbnails_use_gd" size="1">
  314.                         <option value=0{#if $GLOBAL_OPTIONS{thumbnails_use_gd} == 0#} selected{#endif#}>Use uploaded picture</option>
  315.                         <option value=1{#if $GLOBAL_OPTIONS{thumbnails_use_gd} == 1#} selected{#endif#}>Create thumbnails using GD module</option>
  316.                         </select>
  317.                         </p>
  318.                         <p>
  319.                         If you chose to create thumbnails using the GD module, configure
  320.                         the creation options here:
  321.                         </p>
  322.                         <ul>
  323.  
  324.                             Create thumbnails of size:
  325.                             <input type=text size=5 name="thumbnail_width" value="{#if $GLOBAL_OPTIONS{thumbnail_width} == 0#}50{#else#}$GLOBAL_OPTIONS{thumbnail_width}{#endif#}"> x \
  326.                             <input type=text size=5 name="thumbnail_height" value="{#if $GLOBAL_OPTIONS{thumbnail_height} == 0#}50{#else#}$GLOBAL_OPTIONS{thumbnail_height}{#endif#}">
  327.                             <input type=hidden name="a" value="thumbnail_width,thumbnail_height,thumbnail_aspect_ratio">
  328.                             <br><br>
  329.                             Default background color (use 0-255 for each):
  330.                             <ul>
  331.                                 <table>
  332.                                 <tr>
  333.                                 <td class="unb">Red:</td>
  334.                                 <td><input type=text name="thumbnail_bg_red" size=5 value="{#if $GLOBAL_OPTIONS{thumbnail_bg_red} eq ""#}255{#else#}$GLOBAL_OPTIONS{thumbnail_bg_red}{#endif#}"></td>
  335.                                 <td class="unb" rowspan=3>  </td>
  336.                                 <td class="unb" valign=top rowspan=3>
  337.                                 Select:<br>
  338.                                   <a href="#" onClick="document.forms[0].thumbnail_bg_red.value = '255'; document.forms[0].thumbnail_bg_green.value = '255'; document.forms[0].thumbnail_bg_blue.value = '255'; return false;">White</a><br>
  339.                                   <a href="#" onClick="document.forms[0].thumbnail_bg_red.value = '0'; document.forms[0].thumbnail_bg_green.value = '0'; document.forms[0].thumbnail_bg_blue.value = '0'; return false;">Black</a><br>
  340.                                   <a href="#" onClick="document.forms[0].thumbnail_bg_red.value = '128'; document.forms[0].thumbnail_bg_green.value = '128'; document.forms[0].thumbnail_bg_blue.value = '128'; return false;">Gray</a><br>
  341.                                   <a href="#" onClick="document.forms[0].thumbnail_bg_red.value = '255'; document.forms[0].thumbnail_bg_green.value = '255'; document.forms[0].thumbnail_bg_blue.value = '0'; return false;">Yellow</a>
  342.                                 </td>
  343.                                 </tr>
  344.                                 <tr>
  345.                                 <td class="unb">Green:</td>
  346.                                 <td><input type=text name="thumbnail_bg_green" size=5 value="{#if $GLOBAL_OPTIONS{thumbnail_bg_green} eq ""#}255{#else#}$GLOBAL_OPTIONS{thumbnail_bg_green}{#endif#}"></td>
  347.                                 </tr>
  348.                                 <tr>
  349.                                 <td class="unb">Blue:</td>
  350.                                 <td><input type=text name="thumbnail_bg_blue" size=5 value="{#if $GLOBAL_OPTIONS{thumbnail_bg_blue} eq ""#}255{#else#}$GLOBAL_OPTIONS{thumbnail_bg_blue}{#endif#}"></td>
  351.                                 </tr>
  352.                                 </table>
  353.                                 <input type=hidden name="a" value="thumbnail_bg_red,thumbnail_bg_blue,thumbnail_bg_green">
  354.                             </ul>
  355.                             <br>
  356.                             <input type=checkbox name="thumbnail_aspect_ratio" value=1{#if $GLOBAL_OPTIONS{thumbnail_aspect_ratio} == 1#} checked{#endif#}>
  357.                             Preserve aspect ratio
  358.                         </ul>
  359.                         <p>
  360.                         <input type=checkbox name="thumbnails_enabled_posts" value=1{#if $GLOBAL_OPTIONS{thumbnails_enabled_posts} == 1#} checked{#endif#}>
  361.                         Enable picture display on posts
  362.                         </p>
  363.                     </ul>
  364.             <#else#>
  365.                 <input type=hidden name="thumbnails_use_gd" value="0">
  366.                 <input type=checkbox value=1 name="thumbnails_enabled" onClick="if (document.opts.picture_forcesize.checked == false && document.opts.thumbnails_enabled.checked == true) { alert ('You really should limit the size of user picture uploads with the above option.  If you do not, the display of pictures in the user list (and elsewhere where thumbnails are used) will feature pictures of all different shapes and sizes, making the displays difficult to read.'); }"{#if $GLOBAL_OPTIONS{thumbnails_enabled} == 1#} checked{#endif#}>
  367.                     Thumbnails:
  368.                     <ul>
  369.                     <p>Your server does not have the 'GD' Perl module
  370.                     installed.  Thus, it is not possible for your server to automatically
  371.                     resize user pictures.  These "thumbnails" will be exact copies of the
  372.                     images uploaded by users (with the same height and width).</p>
  373.                     <p><font color="#ff0000">It is strongly recommended that you restrict
  374.                     the size of users' uploaded images with the above option if you
  375.                     enable this thumbnail option.
  376.                     </font></p>
  377.                     <input type=checkbox name="thumbnails_enabled_posts" value=1 onClick="if (document.opts.picture_forcesize.checked == false && document.opts.thumbnails_enabled_posts.checked == true) { alert ('You really should limit the size of user picture uploads with the above option.  If you do not, the display of pictures in posts will feature pictures of various sizes, making the post list very difficult to read.'); }"{#if $GLOBAL_OPTIONS{thumbnails_enabled_posts} == 1#} checked{#endif#}>
  378.                     Enable picture display on posts
  379.                     </ul>
  380.             <#endif#>
  381.         </ul>
  382.         <input type=hidden name="a" value="thumbnails_enabled_posts,thumbnail_aspect_ratio">
  383.     </div>
  384.     <br><br>
  385. <#endif#>
  386. <div class="surround">
  387.     {#if $browser->{ieX}#}<p class="blbar">Privileges</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Privileges</font></font></td></tr></table>{#endif#}
  388.     <p>
  389.     <b>Account Functions</b>
  390.     </p>
  391.     <ul>
  392.         <input type=checkbox value=1 name="name_length_limit"{#if $GLOBAL_OPTIONS{name_length_limit} == 1#} checked{#endif#}>
  393.         Limit length of full name to <input type=text name=name_length_limit_number size=3 value="$GLOBAL_OPTIONS{name_length_limit_number}"> characters<br>
  394.         <input type=checkbox value=1 name="pwchange"{#if $GLOBAL_OPTIONS{pwchange} == 1#} checked{#endif#}>
  395.         Users may change their own passwords<br>
  396.         <#if pro#>
  397.             <input type=checkbox value=1 name="user_selfdel"{#if $GLOBAL_OPTIONS{user_selfdel} == 1#} checked{#endif#}>
  398.             Users may delete their own accounts
  399.             <input type=hidden name="a" value="user_selfdel">
  400.         <#endif#>
  401.         <input type=hidden name="a" value="pwchange">
  402.         <input type=hidden name="a" value="name_length_limit">
  403.     </ul>
  404.     <input type=hidden name="b" value="name_length_limit_number">
  405.     <#if pro#>
  406.         <p>
  407.         <b>Signatures</b>
  408.         </p>
  409.  
  410.         <ul>
  411.         <p>
  412.         Enable display of signatures (if supported by selected skin) for:
  413.         </p>
  414.         <ul>
  415.         <input type=checkbox value=1 name="signature_mod"{#if $GLOBAL_OPTIONS{signature_mod} == 1#} checked{#endif#}> Moderators<br>
  416.         <input type=checkbox value=1 name="signature_user"{#if $GLOBAL_OPTIONS{signature_user} == 1#} checked{#endif#}> Users<br>
  417.         </ul>
  418.         </ul>
  419.  
  420.         <ul>
  421.         <p>
  422.         Configure signatures here:
  423.         </p>
  424.  
  425.             <ul>
  426.             <table>
  427.             <tr>
  428.             <td class="normal">Maximum length (characters):</td>
  429.             <td><input type=text name=signature_maxlength_chars value="{#if $GLOBAL_OPTIONS{signature_maxlength_chars} == 0#}0{#else#}$GLOBAL_OPTIONS{signature_maxlength_chars}{#endif#}" size=3></td>
  430.             <td class="normal">Note: 0 = no limit</td>
  431.             </tr>
  432.             <tr>
  433.             <td class="normal">Maximum number of lines:</td>
  434.             <td><input type=text name=signature_maxlength_lines value="{#if $GLOBAL_OPTIONS{signature_maxlength_lines} == 0#}0{#else#}$GLOBAL_OPTIONS{signature_maxlength_lines}{#endif#}" size=3></td>
  435.             <td class="normal"> </td>
  436.             </tr>
  437.             </table>
  438.             <input type=hidden name="a" value="signature_mod,signature_user">
  439.             </ul>
  440.         </ul>
  441.         <input type=hidden name="b" value="signature_maxlength_chars,signature_maxlength_lines">
  442.     <#endif#>
  443. </div>
  444. <a name="usrlist"><br><br></a>
  445. <#if pro#>
  446.     <div class="surround">
  447.         {#if $browser->{ieX}#}<p class="blbar">Username Conflicts</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Username Conflicts</font></font></td></tr></table>{#endif#}
  448.         <p>
  449.         This governs what happens if a moderator attempts to add a user whose username is already taken in another group.
  450.         <input type=hidden name="a" value="adduser_conflict_edit_yes">
  451.         </p>
  452.             <table>
  453.             <tr>
  454.             <td class="unb">If moderator can edit other group:</td>
  455.             <td><select name="adduser_conflict_edit_yes">
  456.                 <option value="0"{#if $GLOBAL_OPTIONS{adduser_conflict_edit_yes} == 0#} selected{#endif#}>Present error message</option>
  457.                 <option value="1"{#if $GLOBAL_OPTIONS{adduser_conflict_edit_yes} == 1#} selected{#endif#}>Copy user if password matches</option>
  458.                 <option value="2"{#if $GLOBAL_OPTIONS{adduser_conflict_edit_yes} == 2#} selected{#endif#}>Copy user always</option>
  459.                 </select></td>
  460.             </tr>
  461.             <tr>
  462.             <td class="unb">If moderator cannot edit other group:</td>
  463.             <td><select name="adduser_conflict_edit_no">
  464.                 <option value="0"{#if $GLOBAL_OPTIONS{adduser_conflict_edit_no} == 0#} selected{#endif#}>Present error message</option>
  465.                 <option value="1"{#if $GLOBAL_OPTIONS{adduser_conflict_edit_no} == 1#} selected{#endif#}>Copy user if password matches</option>
  466.                 <option value="2"{#if $GLOBAL_OPTIONS{adduser_conflict_edit_no} == 2#} selected{#endif#}>Copy user always</option>
  467.                 </select></td>
  468.             </tr>
  469.             </table>
  470.         <input type=hidden name="a" value="adduser_conflict_edit_no">
  471.     </div>
  472.     <br><br>
  473.     <div class="surround">
  474.         {#if $browser->{ieX}#}<p class="blbar">User Profile Display</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>User Profile Display</font></font></td></tr></table>{#endif#}
  475.         <p>
  476.         <input type=checkbox value=1 name="allow_allusers"{#if $GLOBAL_OPTIONS{allow_allusers} == 1#} checked{#endif#}>
  477.         Allow display and searching of registered users in the User Interface<br><br>
  478.         <input type=hidden name="a" value="allow_allusers">
  479.         </p>
  480.         <ul>
  481.             <table>
  482.             <tr>
  483.             <td class="unb">Who may view user list:</td>
  484.             <td><select name="allusers_whomayview">
  485.                 <option value="0"{#if $GLOBAL_OPTIONS{allusers_whomayview} == 0#} selected{#endif#}>Anyone</option>
  486.                 <option value="1"{#if $GLOBAL_OPTIONS{allusers_whomayview} == 1#} selected{#endif#}>Registered users or moderators</option>
  487.                 <option value="2"{#if $GLOBAL_OPTIONS{allusers_whomayview} == 2#} selected{#endif#}>Moderators only</option>
  488.                 </select></td>
  489.             </tr>
  490.  
  491.             <tr>
  492.             <td class="unb">Frame to open profiles:</td>
  493.             <td><select name="allusers_openprofiles">
  494.                 <option value="0"{#if $GLOBAL_OPTIONS{allusers_openprofiles} == 0#} selected{#endif#}>No window control</option>
  495.                 <option value="1"{#if $GLOBAL_OPTIONS{allusers_openprofiles} == 1#} selected{#endif#}>Top frame (replace frameset)</option>
  496.                 <option value="2"{#if $GLOBAL_OPTIONS{allusers_openprofiles} == 2#} selected{#endif#}>New window</option>
  497.                 <option value="3"{#if $GLOBAL_OPTIONS{allusers_openprofiles} == 3#} selected{#endif#}>"Main" frame</option>
  498.                 </select></td>
  499.             </tr>
  500.  
  501.             <tr>
  502.             <td class="unb" valign=top>Available fields:</td>
  503.             <td valign=top>
  504.             <select name="fields_display" multiple size=4>
  505.             <option value="login"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/login/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_USERNAME}</option>
  506.             <option value="fullname"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/fullname/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_FULLNAME}</option>
  507.             <option value="email"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/email/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_EMAIL}</option>
  508.             <option value="access"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/access/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_ACCESS}</option>
  509.             <option value="registered"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/registered/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_REGISTERED}</option>
  510.             <option value="status"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/status/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_STATUS}</option>
  511.             <option value="posts"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/posts/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_POSTS}</option>
  512.             <option value="profile"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/profile/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PROFILE}</option>
  513.             <option value="group"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/group/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_GROUP}</option>
  514.             <option value="picture"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/picture/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PICTURE}</option>
  515.             <#foreach $field (@fields)#>
  516.                 <#if $field->{type} != "6"#>
  517.                     <option value="var$field->{var}"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/var$field->{var}/)#} selected{#endif#}>$field->{descr}</option>
  518.                 <#endif#>
  519.             <#endloop#>
  520.             </select>
  521.             </td>
  522.             <td valign=center class="unb" rowspan=3>
  523.             <p>Hold CTRL and click to<br>
  524.             make multiple selections</p>
  525.             <p>Fields selected in the first<br>
  526.             ("available") box will be the only<br>
  527.             ones shown.</p>
  528.             <p>If you select fields from the<br>
  529.             second ("default") box that are<br>
  530.             not selected as available, then<br>
  531.             your setting of the "default" will<br>
  532.             be ignored.</p>
  533.             </td></tr>
  534.  
  535.             <tr>
  536.             <td class="unb" valign=top>Default selected fields:</td>
  537.             <td><select name="allusers_dispfield" multiple size=4>
  538.                 <option value="login"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/login/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_USERNAME}</option>
  539.                 <option value="fullname"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/fullname/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_FULLNAME}</option>
  540.                 <option value="email"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/email/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_EMAIL}</option>
  541.                 <option value="access"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/access/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_ACCESS}</option>
  542.                 <option value="registered"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/registered/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_REGISTERED}</option>
  543.                 <option value="status"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/status/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_STATUS}</option>
  544.                 <option value="posts"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/posts/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_POSTS}</option>
  545.                 <option value="profile"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/profile/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PROFILE}</option>
  546.                 <option value="group"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/group/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_GROUP}</option>
  547.                 <option value="picture"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/picture/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PICTURE}</option>
  548.                 <#foreach $field (@fields)#>
  549.                     <#if $field->{type} != "6"#>
  550.                         <option value="var$field->{var}"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/var$field->{var}/)#} selected{#endif#}>$field->{descr}</option>
  551.                     <#endif#>
  552.                 <#endloop#>
  553.                 </select></td>
  554.             </tr>
  555.  
  556.             <tr>
  557.             <td class="unb" valign=top>Displayed groups:</td>
  558.             <td><select name="allusers_groups" multiple size=3>
  559.                 <option value="*mod*"{#if $allusers_groups->{moderators} == 1#} selected{#endif#}>(Moderator Accounts)</option>
  560.                 <option value="*usr*"{#if $allusers_groups->{users} == 1#} selected{#endif#}>(All User Groups)</option>
  561.                 <#foreach $group (@groups)#>
  562.                     <option value="$group->{name}"{#if $group->{selected}#} selected{#endif#}>$group->{name}</option>
  563.                 <#endloop#>
  564.                 </select>
  565.                 <input type="hidden" name="b" value="allusers_groups">
  566.                 </td>
  567.             </tr>
  568.             <tr>
  569.             <td class="unb">Default results period:</td>
  570.             <td><select name="allusers_resultsperiod">
  571.                 <option value="30"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 30#} selected{#endif#}>$L{ALLUSERS_PERIOD_HALF_HOUR}</option>
  572.                 <option value="120"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 120#} selected{#endif#}>$L{ALLUSERS_PERIOD_2_HOUR}</option>
  573.                 <option value="1440"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 1440#} selected{#endif#}>$L{ALLUSERS_PERIOD_DAY}</option>
  574.                 <option value="10080"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 10080#} selected{#endif#}>$L{ALLUSERS_PERIOD_WEEK}</option>
  575.                 <option value="40320"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 40320#} selected{#endif#}>$L{ALLUSERS_PERIOD_MONTH}</option>
  576.                 <option value="999999"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 999999 || $GLOBAL_OPTIONS{allusers_resultsperpage} eq ""#} selected{#endif#}>$L{ALLUSERS_PERIOD_ANYTIME}</option>
  577.                 <option value="0"{#if $GLOBAL_OPTIONS{allusers_resultsperiod} == 0#} selected{#endif#}>$L{ALLUSERS_PERIOD_NOMATTER}</option>
  578.                 </select></td>
  579.             </tr>
  580.             <tr>
  581.             <td class="unb">Default results per page:</td>
  582.             <td><select name="allusers_resultsperpage">
  583.                 <option value="10"{#if $GLOBAL_OPTIONS{allusers_resultsperpage} == 10#} selected{#endif#}>10</option>
  584.                 <option value="20"{#if $GLOBAL_OPTIONS{allusers_resultsperpage} == 20 || $GLOBAL_OPTIONS{allusers_resultsperpage} == 0#} selected{#endif#}>20</option>
  585.                 <option value="25"{#if $GLOBAL_OPTIONS{allusers_resultsperpage} == 25#} selected{#endif#}>25</option>
  586.                 <option value="50"{#if $GLOBAL_OPTIONS{allusers_resultsperpage} == 50#} selected{#endif#}>50</option>
  587.                 <option value="100"{#if $GLOBAL_OPTIONS{allusers_resultsperpage} == 100#} selected{#endif#}>100</option>
  588.                 </select></td>
  589.             </tr>
  590.  
  591.             <tr>
  592.             <td class="unb">Default sort order:</td>
  593.             <td><select name="allusers_sortorder">
  594.                 <option value="login"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "login"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_USERNAME}</option>
  595.                 <option value="fullname"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "fullname"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_FULLNAME}</option>
  596.                 <option value="email"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "email"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_EMAIL}</option>
  597.                 <option value="access"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "access"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_ACCESS}</option>
  598.                 <option value="registered"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "registered"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_REGISTERED}</option>
  599.                 <option value="status"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "status"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_STATUS}</option>
  600.                 <option value="posts"{#if $GLOBAL_OPTIONS{allusers_sortorder} eq "posts"#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_POSTS}</option>
  601.                 </select></td>
  602.             </tr>
  603.  
  604.             </table>
  605.             <br>
  606.             <input type=checkbox value=1 name="allusers_allowhide"{#if $GLOBAL_OPTIONS{allusers_allowhide} == 1#} checked{#endif#}> Allow users to prevent themselves from being listed<br>
  607.             <input type=hidden name="a" value="allusers_allowhide">
  608.             <input type=checkbox value=1 name="allusers_forcepicsize"{#if $GLOBAL_OPTIONS{allusers_forcepicsize} == 1#} checked{#endif#}>
  609.             Force picture size: <input type=text name="allusers_picwidth" size=5 value="{#if $GLOBAL_OPTIONS{allusers_picwidth} <= 0#}50{#else#}$GLOBAL_OPTIONS{allusers_picwidth}{#endif#}"> x \
  610.             <input type=text name="allusers_picheight" size=5 value="{#if $GLOBAL_OPTIONS{allusers_picheight} <= 0#}50{#else#}$GLOBAL_OPTIONS{allusers_picheight}{#endif#}"><br>
  611.             <input type=checkbox value=1 name="allusers_hide_admin"{#if $GLOBAL_OPTIONS{allusers_hide_admin} == 1#} checked{#endif#}> Hide board administrator from list<br>
  612.             <input type=checkbox value=1 name="allusers_textonly"{#if $GLOBAL_OPTIONS{allusers_textonly} == 1#} checked{#endif#}> Use text instead of icons for navigation up and down list<br>
  613.             <p>
  614.             Show inactive/suspended users:
  615.             </p>
  616.             <ul>
  617.                 <input type=checkbox value=1 name="allusers_show_banned"{#if $GLOBAL_OPTIONS{allusers_show_banned} == 1#} checked{#endif#}> Banned users<br>
  618.                 <input type=checkbox value=1 name="allusers_show_queued"{#if $GLOBAL_OPTIONS{allusers_show_queued} == 1#} checked{#endif#}> Queued users<br>
  619.                 <input type=checkbox value=1 name="allusers_show_suspended"{#if $GLOBAL_OPTIONS{allusers_show_suspended} == 1#} checked{#endif#}> Suspended users<br>
  620.                 <input type=checkbox value=1 name="allusers_show_agreed"{#if $GLOBAL_OPTIONS{allusers_show_agreed} == 1#} checked{#endif#}> Users awaiting agreement to terms<br>
  621.                 <input type=checkbox value=1 name="allusers_show_email_change"{#if $GLOBAL_OPTIONS{allusers_show_email_change} == 1#} checked{#endif#}> Users awaiting e-mail activation<br>
  622.                 <input type=checkbox value=1 name="allusers_show_passwd_change"{#if $GLOBAL_OPTIONS{allusers_show_passwd_change} == 1#} checked{#endif#}> Users awaiting password change<br>
  623.             </ul>
  624.             <#if $GLOBAL_OPTIONS->{database} == 1#>
  625.                 <p>
  626.                 MySQL-specific setting:
  627.                 </p>
  628.                 <ul>
  629.                     <input type=checkbox value=1 name="allusers_old_mysql"\
  630.                         {#if $GLOBAL_OPTIONS{allusers_old_mysql} == 1#} checked{#endif#}\
  631.                     > Use only MySQL <= 3.22 compatible functions to generate lists (UNSUPPORTED)
  632.                 </ul>
  633.             <#endif#>
  634.             <input type=hidden name="a" value="allusers_show_passwd_change,allusers_old_mysql,allusers_textonly,allusers_show_banned,allusers_show_queued,allusers_show_suspended,allusers_show_agreed,allusers_show_email_change">
  635.             <input type=hidden name="a" value="allusers_hide_admin,allusers_forcepicsize,allusers_picwidth,allusers_picheight">
  636.             <input type=hidden name="b" value="allusers_resultsperiod">
  637.             <input type=hidden name="b" value="allusers_sortorder">
  638.             <input type=hidden name="b" value="allusers_resultsperpage">
  639.             <input type=hidden name="b" value="allusers_whomayview">
  640.             <input type=hidden name="b" value="allusers_openprofiles">
  641.             <input type=hidden name="c" value="fields_display">
  642.             <input type=hidden name="c" value="allusers_dispfield">
  643.         </ul>
  644.         <input type=hidden name="fields_display" value="H">
  645.     </div>
  646.     <br><br>
  647.     <div class="surround">
  648.         {#if $browser->{ieX}#}<p class="blbar">User Self-Registration</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>User Self-Registration</font></font></td></tr></table>{#endif#}
  649.         <p>
  650.         <input type=checkbox value=1 name="allow_selfreg"{#if $GLOBAL_OPTIONS{allow_selfreg} == 1#} checked{#endif#}>
  651.         User self-registration is enabled
  652.         </p>
  653.         <input type=hidden name="a" value="allow_selfreg">
  654.         <ul>
  655.             <p>
  656.             Note: One or more groups must be set up to permit users to self-register in order
  657.             for this feature be useful.  Control the setup of individual groups using the
  658.             User Manager.
  659.             </p>
  660.             <p>
  661.             <input type=checkbox value=1 name="coppa"{#if $GLOBAL_OPTIONS{coppa} == 1#} checked{#endif#}> Age verification (COPPA) » minimum age
  662.                 <input type=text name="coppa_age" value="{#if $GLOBAL_OPTIONS->{coppa_age} == 0#}13{#else#}$GLOBAL_OPTIONS->{coppa_age}{#endif#}" size=2>
  663.                 <br>
  664.             <input type=hidden name="a" value="coppa,coppa_age">
  665.             <input type=checkbox value=1 name="one_group_selfreg_only"{#if $GLOBAL_OPTIONS{one_group_selfreg_only} == 1#} checked{#endif#}> Allow registration into one group only<br>
  666.             <input type=hidden name="a" value="one_group_selfreg_only">
  667.             <input type=checkbox value=1 name="allow_register_same_email"{#if $GLOBAL_OPTIONS{allow_register_same_email} == 1#} checked{#endif#}> Allow registration with an already used e-mail address<br>
  668.             <input type=hidden name="a" value="allow_register_same_email">
  669.             <input type=checkbox value=1 name="confirm_mail_selfreg"{#if $GLOBAL_OPTIONS{confirm_mail_selfreg} == 1 || option_defined:"confirm_mail_selfreg" == 0#} checked{#endif#}> Confirm username/password and application status by e-mail<br>
  670.             <input type=hidden name="a" value="confirm_mail_selfreg">
  671.             <input type=checkbox name="selfreg_ban_domain" value=1{#if $GLOBAL_OPTIONS{selfreg_ban_domain} == 1#} checked{#endif#}>
  672.             Disallow e-mail addresses from certain domains
  673.             (edit <a href="#" onClick="openwin('$cgiurl?action=options_domains&username=$general->{username}'); return false;">domain list</a>)<br>
  674.             <input type=checkbox value=1 name="selfreg_hide_group_list"{#if $GLOBAL_OPTIONS{selfreg_hide_group_list} == 1#} checked{#endif#}> Hide group list (add to groups checked by default in User Manager only)<br>
  675.             <input type=hidden name="a" value="selfreg_hide_group_list">
  676.             <input type=checkbox value=1 name="selfreg_admin_config"{#if $GLOBAL_OPTIONS{selfreg_admin_config} == 1#} checked{#endif#}> Only the board administrator can set up self-registration in User Manager<br>
  677.             <input type=hidden name="a" value="selfreg_admin_config">
  678.             <input type=checkbox value=1 name="require_valid_email"{#if $GLOBAL_OPTIONS{require_valid_email} == 1#} checked{#endif#}> Require a "real" e-mail address to be entered upon registration<br>
  679.             <input type=hidden name="a" value="require_valid_email">
  680.             </p>
  681.         </ul>
  682.         <p>
  683.         Display the following message to a user before registration:
  684.         </p>
  685.         <ul>
  686.             <textarea name="welcome_message" rows=5 cols=50 wrap=virtual>\
  687.             <#form escape "$special->{welcome_message}"#></textarea>
  688.             <input type=hidden name="d" value="welcome_message">
  689.             <p>
  690.             <input type=checkbox name="welcome_message_hide_default" value=1{#if $GLOBAL_OPTIONS{welcome_message_hide_default} == 1#} checked{#endif#}>\
  691.                 Hide default "<#maxchar 50/... "$L{SELFREG_INSTRUCTIONS_01}"#>" message
  692.             </p>
  693.             <input type=hidden name="a" value="welcome_message_hide_default">
  694.         </ul>
  695.         <p>
  696.         Users may change their e-mail address:
  697.         <select name="emchange" size=1>
  698.             <option value="0"{#if $GLOBAL_OPTIONS{emchange} == 0#} selected{#endif#}>Never</option>
  699.             <option value="1"{#if $GLOBAL_OPTIONS{emchange} == 1#} selected{#endif#}>Always</option>
  700.             <option value="2"{#if $GLOBAL_OPTIONS{emchange} == 2#} selected{#endif#}>With e-mail verification</option>
  701.         </select>
  702.         </p>
  703.         <input type=hidden name="a" value="emchange,selfreg_ban_domain">
  704.     </div>
  705.  
  706.     <br><br>
  707.     <div class="surround">
  708.         {#if $browser->{ieX}#}<p class="blbar">User Statuses</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>User Statuses</font></font></td></tr></table>{#endif#}
  709.         <p>
  710.         There are several different statuses that are available for use.  Here, define
  711.         the text descriptions for these statuses.
  712.         </p>
  713.         <ul>
  714.         <table>
  715.         <tr>
  716.         <td class="unb">Unregistered:</td>
  717.         <td><input type=text size=40 name="status2" value="{#if $status->{status2} ne ""#}<#form escape "$status->{status2}"#>{#else#}<#form escape "$L{USER_STATUS_2}"#>{#endif#}">
  718.         </tr>
  719.         <tr>
  720.         <td class="unb">User Level #1 (Lowest):</td>
  721.         <td><input type=text size=40 name="status3" value="{#if $status->{status3} ne ""#}<#form escape "$status->{status3}"#>{#else#}<#form escape "$L{USER_STATUS_3}"#>{#endif#}">
  722.         </tr>
  723.         <tr>
  724.         <td class="unb">User Level #2:</td>
  725.         <td><input type=text size=40 name="status4" value="{#if $status->{status4} ne ""#}<#form escape "$status->{status4}"#>{#else#}<#form escape "$L{USER_STATUS_4}"#>{#endif#}">
  726.         </tr>
  727.         <tr>
  728.         <td class="unb">User Level #3:</td>
  729.         <td><input type=text size=40 name="status5" value="{#if $status->{status5} ne ""#}<#form escape "$status->{status5}"#>{#else#}<#form escape "$L{USER_STATUS_5}"#>{#endif#}">
  730.         </tr>
  731.         <tr>
  732.         <td class="unb">User Level #4:</td>
  733.         <td><input type=text size=40 name="status6" value="{#if $status->{status6} ne ""#}<#form escape "$status->{status6}"#>{#else#}<#form escape "$L{USER_STATUS_6}"#>{#endif#}">
  734.         </tr>
  735.         <tr>
  736.         <td class="unb">User Level #5:</td>
  737.         <td><input type=text size=40 name="status7" value="{#if $status->{status7} ne ""#}<#form escape "$status->{status7}"#>{#else#}<#form escape "$L{USER_STATUS_7}"#>{#endif#}">
  738.         </tr>
  739.         <tr>
  740.         <td class="unb">User Level #6 (Highest):</td>
  741.         <td><input type=text size=40 name="status8" value="{#if $status->{status8} ne ""#}<#form escape "$status->{status8}"#>{#else#}<#form escape "$L{USER_STATUS_8}"#>{#endif#}">
  742.         </tr>
  743.         <tr>
  744.         <td class="unb">Moderator:</td>
  745.         <td><input type=text size=40 name="status9" value="{#if $status->{status9} ne ""#}<#form escape "$status->{status9}"#>{#else#}<#form escape "$L{USER_STATUS_9}"#>{#endif#}">
  746.         </tr>
  747.         <tr>
  748.         <td class="unb">Board Administrator:</td>
  749.         <td><input type=text size=40 name="status10" value="{#if $status->{status10} ne ""#}<#form escape "$status->{status10}"#>{#else#}<#form escape "$L{USER_STATUS_10}"#>{#endif#}">
  750.         </tr>
  751.         </table>
  752.         </ul>
  753.         <p>
  754.         All users, when registered, begin at the lowest user status.  You can automatically
  755.         promote users based on the number of messages they post (the numbers you enter into
  756.         the boxes below represent the <b>total</b> number of messages the user posts to
  757.         your board).
  758.         </p>
  759.         <ul>
  760.         <table>
  761.         <tr>
  762.         <td><input type=checkbox name="promote_34" value="1"{#if $GLOBAL_OPTIONS{promote_34}#} checked{#endif#}></td>
  763.         <td class="unb">Automatically promote from level 1 to 2 after</td>
  764.         <td><input type=text size=3 name="promote_34_posts" value="$GLOBAL_OPTIONS{promote_34_posts}"></td>
  765.         <td class="unb">total posts</td>
  766.         </tr>
  767.         <tr>
  768.         <td><input type=checkbox name="promote_45" value="1"{#if $GLOBAL_OPTIONS{promote_45}#} checked{#endif#}></td>
  769.         <td class="unb">Automatically promote from level 2 to 3 after</td>
  770.         <td><input type=text size=3 name="promote_45_posts" value="$GLOBAL_OPTIONS{promote_45_posts}"></td>
  771.         <td class="unb">total posts</td>
  772.         </tr>
  773.         <tr>
  774.         <td><input type=checkbox name="promote_56" value="1"{#if $GLOBAL_OPTIONS{promote_56}#} checked{#endif#}></td>
  775.         <td class="unb">Automatically promote from level 3 to 4 after</td>
  776.         <td><input type=text size=3 name="promote_56_posts" value="$GLOBAL_OPTIONS{promote_56_posts}"></td>
  777.         <td class="unb">total posts</td>
  778.         </tr>
  779.         <tr>
  780.         <td><input type=checkbox name="promote_67" value="1"{#if $GLOBAL_OPTIONS{promote_67}#} checked{#endif#}></td>
  781.         <td class="unb">Automatically promote from level 4 to 5 after</td>
  782.         <td><input type=text size=3 name="promote_67_posts" value="$GLOBAL_OPTIONS{promote_67_posts}"></td>
  783.         <td class="unb">total posts</td>
  784.         </tr>
  785.         <tr>
  786.         <td><input type=checkbox name="promote_78" value="1"{#if $GLOBAL_OPTIONS{promote_78}#} checked{#endif#}></td>
  787.         <td class="unb">Automatically promote from level 5 to 6 after</td>
  788.         <td><input type=text size=3 name="promote_78_posts" value="$GLOBAL_OPTIONS{promote_78_posts}"></td>
  789.         <td class="unb">total posts</td>
  790.         </tr>
  791.         </table>
  792.         <input type=hidden name="a" value="promote_34,promote_45,promote_56,promote_67,promote_78,promote_34_posts,promote_45_posts,promote_56_posts,promote_67_posts,promote_78_posts">
  793.         </ul>
  794.         <input type=hidden name="d" value="status2,status3,status4,status5,status6,status7,status8,status9,status10">
  795.     </div>
  796.     <#endif#>
  797. <!--END-->
  798.