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 / optionsb.tmpl < prev    next >
Text File  |  2009-11-06  |  79KB  |  1,330 lines

  1. # FILE: optionsb.tmpl
  2. # DESCRIPTION: Options Manager Screen - Basic
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7. <#define array @menubar(number,name)#>
  8. <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 0#>    0    Welcome to Options Manager
  9. <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 1#>    0    Basic
  10. <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 1#>    1    Posting
  11. <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 1#>    2    Profiles
  12. <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 1#>    6    E-mail
  13. <#if <#part "options_screen" () exists#> && $GLOBAL_OPTIONS->{basic_configured_defaults} == 1#>    8    Skin
  14. <#/define#>
  15. <html><head><title>Options Manager - Basic View</title>
  16. <style>
  17. td.unselected {font: bold 9pt verdana,arial,helvetica; background-color: #d0d0d0}
  18. td.selected {font: bold 9pt verdana,arial,helvetica; background-color: #f7f757}
  19. td.ub {font: bold 8pt verdana,arial,helvetica}
  20. td.unb {font: 9pt verdana,arial,helvetica}
  21. td.us {font: 8pt verdana,arial,helvetica}
  22. a.bar {text-decoration: none}
  23. .blbar {font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
  24. .surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
  25. .normal {font: 10pt verdana,arial,helvetica}
  26. .comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
  27. p { margin-left: 2pt; }
  28. p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
  29. </style>
  30. <script language="JavaScript">
  31. function openwin(url) {
  32.     return window.open(url, 'X', 'height=550,width=600,scrollbars=yes,resizable');
  33. }
  34. function opensmall(url) {
  35.     return window.open(url, 'X', 'height=100,width=300,scrollbars=no');
  36. }
  37. function config_email_notify () {
  38.     document.opts.popconfig.value = 1;
  39.     return true;
  40. }
  41. </script>
  42. </head>
  43. <body bgcolor="#ffffff" text="#000000" link="#0000FF" vlink="#0000FF"{#if $general->{pop_email_config} == 1#} onLoad="openwin('$cgiurl?action=options_email_cfg&username=$general->{username}');"{#endif#}>
  44. $fs<font size=3><center><b>Options Manager - Basic View</b></center></font>
  45. <hr>
  46. <table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#d0d0d0>
  47. <table cellpadding=5 cellspacing=0><tr>
  48. <#foreach $barid (@menubar)#>
  49.     <#if $general->{menu} == $barid->{number}#>
  50.         <td class="selected">
  51.     <#else#>
  52.         <td class="unselected">
  53.     <#endif#>
  54.     <a class="bar" href="$general->{url}&menu=$barid->{number}">$barid->{name}</a>
  55.     </td>
  56. <#endloop#>
  57. </tr></table>
  58. </td></tr></table>
  59. <hr>
  60.  
  61. <#if $stuff->{saved} ne ""#>
  62.     <table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
  63.     <b>Note:</b> Successfully saved options</font></td></tr></table>
  64.     <p></p>
  65. <#endif#>
  66.  
  67. <#if $general->{menu} == 0#>
  68.     <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 0#>
  69.         <form action="$cgiurl" method="post" name="toggle">
  70.         <input type="hidden" name="action" value="options_save">
  71.         <input type="hidden" name="username" value="$general->{username}">
  72.         <input type="hidden" name="menu" value="$general->{menu}">
  73.         <div class="surround">
  74.             {#if $browser->{ieX}#}<p class="blbar">Configure Defaults and Begin</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Configure Defaults and Begin</font></font></td></tr></table>{#endif#}
  75.             <p>
  76.             To begin using the basic view for the Options Manager, click the button below.
  77.             If you have previously used the advanced view, this may overwrite some of your
  78.             settings.            
  79.             </p>
  80.             <input type=hidden name="a" value="admin"><input type=hidden name="admin" value="1">
  81.             <input type=hidden name="a" value="posting"><input type=hidden name="posting" value="1">
  82.             <input type=hidden name="a" value="dates_zero"><input type=hidden name="dates_zero" value="1">
  83.             <input type=hidden name="a" value="dates_hour_zero"><input type=hidden name="dates_hour_zero" value="1">
  84.             <input type=hidden name="a" value="dates_month_zero"><input type=hidden name="dates_month_zero" value="1">
  85.             <input type=hidden name="a" value="capitalize"><input type=hidden name="capitalize" value="1">
  86.             <input type=hidden name="a" value="new_conv_with_add"><input type=hidden name="new_conv_with_add" value="1">
  87.             <input type=hidden name="a" value="new_conv_with_button"><input type=hidden name="new_conv_with_button" value="0">
  88.             <input type=hidden name="a" value="new_conv_limit"><input type=hidden name="new_conv_limit" value="1">
  89.             <input type=hidden name="a" value="new_conv_limit_num"><input type=hidden name="new_conv_limit" value="70">
  90.             <input type=hidden name="a" value="capitalize_username"><input type=hidden name="capitalize_username" value="1">
  91.             <input type=hidden name="a" value="double_post"><input type=hidden name="double_post" value="1">
  92.             <input type=hidden name="a" value="email_on_post"><input type=hidden name="email_on_post" value="1">
  93.             <input type=hidden name="a" value="fullnames"><input type=hidden name="fullnames" value="1">
  94.             <input type=hidden name="a" value="noload_warning"><input type=hidden name="noload_warning" value="1">
  95.             <input type=hidden name="a" value="public_name_limit"><input type=hidden name="public_name_limit" value="1">
  96.             <input type=hidden name="a" value="public_name_limit_val"><input type=hidden name="public_name_limit" value="40">
  97.             <input type=hidden name="a" value="prevent_long_posts"><input type=hidden name="prevent_long_posts" value="1">
  98.             <input type=hidden name="a" value="prevent_long_posts_threshold"><input type=hidden name="prevent_long_posts_threshold" value="80">
  99.             <input type=hidden name="a" value="profile_on_post"><input type=hidden name="profile_on_post" value="1">
  100.             <input type=hidden name="a" value="html"><input type=hidden name="html" value="1">
  101.             <input type=hidden name="a" value="usersdelpage"><input type=hidden name="usersdelpage" value="1">
  102.             <input type=hidden name="a" value="disable_if_queued"><input type=hidden name="disable_if_queued" value="1">
  103.             <input type=hidden name="a" value="default_autoactivate_frameset"><input type=hidden name="default_autoactivate_frameset" value="1">
  104.             <input type=hidden name="a" value="queue_note_approver"><input type=hidden name="queue_note_approver" value="0">
  105.             <input type=hidden name="a" value="post_ratings_limit"><input type=hidden name="post_ratings_limit" value="1">
  106.             <input type=hidden name="a" value="post_ratings_limit_value"><input type=hidden name="post_ratings_limit_value" value="2">
  107.             <input type=hidden name="a" value="message_icons"><input type=hidden name="message_icons" value="1">
  108.             <input type=hidden name="a" value="cookie_for_new"><input type=hidden name="cookie_for_new" value="1">
  109.             <input type=hidden name="b" value="new_icon_choice"><input type=hidden name="new_icon_choice" value="$icon_url/new02.gif">
  110.             <input type=hidden name="a" value="subtopic_icons"><input type=hidden name="subtopic_icons" value="1">
  111.             <input type=hidden name="a" value="subtopic_icons_user_choose"><input type=hidden name="subtopic_icons_user_choose" value="1">
  112.             <input type=hidden name="a" value="cats_to_show"><input type=hidden name="cats_to_show" value="1">
  113.             <input type=hidden name="a" value="login_message_hide_default"><input type=hidden name="login_message_hide_default" value="0">
  114.             <input type=hidden name="a" value="limit_simultaneous_access_on"><input type=hidden name="limit_simultaneous_access_on" value="1">
  115.             <input type=hidden name="a" value="limit_simultaneous_access"><input type=hidden name="limit_simultaneous_access" value="3">
  116.             <input type=hidden name="a" value="images_admin_unlimited"><input type=hidden name="images_admin_unlimited" value="1">
  117.             <input type=hidden name="a" value="images_require_ip_match"><input type=hidden name="images_require_ip_match" value="0">
  118.             <input type=hidden name="a" value="private_messaging_email"><input type=hidden name="private_messaging_email" value="0">
  119.             <input type=hidden name="a" value="private_messaging_ip_show"><input type=hidden name="private_messaging_ip_show" value="0">
  120.             <input type=hidden name="a" value="private_messaging_send_hour"><input type=hidden name="private_messaging_send_hour" value="0">
  121.             <input type=hidden name="a" value="private_messaging_send_week"><input type=hidden name="private_messaging_send_week" value="0">
  122.             <input type=hidden name="a" value="private_messaging_receive_hour"><input type=hidden name="private_messaging_receive_hour" value="0">
  123.             <input type=hidden name="a" value="private_messaging_receive_week"><input type=hidden name="private_messaging_receive_week" value="0">
  124.             <input type=hidden name="a" value="search_verify_uid"><input type=hidden name="search_verify_uid" value="0">
  125.             <input type=hidden name="a" value="search_link_limit"><input type=hidden name="search_link_limit" value="0">
  126.             <input type=hidden name="a" value="search_results_page_limit"><input type=hidden name="search_results_page_limit" value="1">
  127.             <input type=hidden name="a" value="search_results_per_page"><input type=hidden name="search_results_per_page" value="15">
  128.             <input type=hidden name="a" value="search_results_per_page_chooser"><input type=hidden name="search_results_per_page_chooser" value="0">
  129.             <input type=hidden name="a" value="search_stopwords"><input type=hidden name="search_stopwords" value="1">
  130.             <input type=hidden name="a" value="tree_search_no_cache"><input type=hidden name="tree_search_no_cache" value="1">
  131.             <input type=hidden name="a" value="nm_show_dates"><input type=hidden name="nm_show_dates" value="1">
  132.             <input type=hidden name="a" value="diskquota_disable"><input type=hidden name="diskquota_disable" value="1">
  133.             <input type=hidden name="a" value="quota_check_off"><input type=hidden name="quota_check_off" value="0">
  134.             <input type=hidden name="a" value="lockerror_disable"><input type=hidden name="lockerror_disable" value="1">
  135.             <input type=hidden name="a" value="lock_with_directory_file"><input type=hidden name="lock_with_directory_file" value="0">
  136.             <input type=hidden name="a" value="lock_with_file"><input type=hidden name="lock_with_file" value="0">
  137.             <input type=hidden name="a" value="autoarchive_msgadd"><input type=hidden name="autoarchive_msgadd" value="0">
  138.             <input type=hidden name="a" value="skip_archives_nm"><input type=hidden name="skip_archives_nm" value="1">
  139.             <input type=hidden name="a" value="skip_archives_tree"><input type=hidden name="skip_archives_tree" value="1">
  140.             <input type=hidden name="a" value="admin_login_history"><input type=hidden name="admin_login_history" value="1">
  141.             <input type=hidden name="a" value="version_notice_no"><input type=hidden name="version_notice_no" value="1">
  142.             <input type=hidden name="a" value="admin_actionlog"><input type=hidden name="admin_actionlog" value="0">
  143.             <input type=hidden name="a" value="allow_register_same_email"><input type=hidden name="allow_register_same_email" value="0">
  144.             <input type=hidden name="a" value="confirm_mail_selfreg"><input type=hidden name="confirm_mail_selfreg" value="1">
  145.             <input type=hidden name="a" value="selfreg_admin_config"><input type=hidden name="selfreg_admin_config" value="0">
  146.             <input type=hidden name="a" value="require_valid_email"><input type=hidden name="require_valid_email" value="0">
  147.             <input type=hidden name="a" value="welcome_message_hide_default"><input type=hidden name="welcome_message_hide_default" value="0">
  148.             <input type=hidden name="d" value="welcome_message"><input type=hidden name="welcome_message" value="">
  149.             <input type=hidden name="a" value="emchange"><input type=hidden name="emchange" value="2">
  150.             <input type=hidden name="a" value="selfreg_hide_group_list"><input type=hidden name="selfreg_hide_group_list" value="0">
  151.             <input type=hidden name="a" value="allusers_openprofiles"><input type=hidden name="allusers_openprofiles" value="2">
  152.             <input type=hidden name="a" value="allusers_resultsperiod"><input type=hidden name="allusers_resultsperiod" value="999999">
  153.             <input type=hidden name="a" value="allusers_resultsperpage"><input type=hidden name="allusers_resultsperpage" value="20">
  154.             <input type=hidden name="a" value="allusers_sortorder"><input type=hidden name="allusers_sortorder" value="login">
  155.             <input type=hidden name="a" value="allusers_show_banned"><input type=hidden name="allusers_show_banned" value="0">
  156.             <input type=hidden name="a" value="allusers_show_queued"><input type=hidden name="allusers_show_queued" value="0">
  157.             <input type=hidden name="a" value="allusers_show_suspended"><input type=hidden name="allusers_show_suspended" value="0">
  158.             <input type=hidden name="a" value="allusers_show_agreed"><input type=hidden name="allusers_show_agreed" value="0">
  159.             <input type=hidden name="a" value="allusers_show_email_change"><input type=hidden name="allusers_show_email_change" value="0">
  160.             <input type=hidden name="a" value="name_length_limit"><input type=hidden name="name_length_limit" value="1">
  161.             <input type=hidden name="a" value="name_length_limit_number"><input type=hidden name="name_length_limit_number" value="40">
  162.             <input type=hidden name="a" value="pwchange"><input type=hidden name="pwchange" value="1">
  163.             <input type=hidden name="a" value="user_selfdel"><input type=hidden name="user_selfdel" value="1">
  164.             <input type=hidden name="a" value="forgotten_pw_waiting_activation"><input type=hidden name="forgotten_pw_waiting_activation" value="0">
  165.             <input type=hidden name="a" value="forgotten_pw_hide_email"><input type=hidden name="forgotten_pw_hide_email" value="0">
  166.             <input type=hidden name="a" value="forgotten_pw_hide_user"><input type=hidden name="forgotten_pw_hide_user" value="0">
  167.             <input type=hidden name="a" value="forgotten_pw_user"><input type=hidden name="forgotten_pw_user" value="0">
  168.             <input type=hidden name="a" value="forgotten_pw_email"><input type=hidden name="forgotten_pw_email" value="0">
  169.             <input type=hidden name="a" value="forgotten_pw_util"><input type=hidden name="forgotten_pw_util" value="0">
  170.             <input type=hidden name="a" value="empty_fields"><input type=hidden name="empty_fields" value="1">
  171.             <input type=hidden name="a" value="hidden_fields"><input type=hidden name="hidden_fields" value="1">
  172.             <input type=hidden name="a" value="sort_archive_method_choice"><input type=hidden name="sort_archive_method_choice" value="1">
  173.             <input type=hidden name="a" value="sort_archive_method_on"><input type=hidden name="sort_archive_method_on" value="1">
  174.             <input type=hidden name="a" value="basic_configured_defaults"><input type=hidden name="basic_configured_defaults" value="1">
  175.             <input type=hidden name="a" value="user_paren"><input type=hidden name="user_paren" value="0">
  176.             <input type=hidden name="a" value="tcache"><input type=hidden name="tcache" value="2">
  177.             <ul>
  178.             <input type=submit value="Configure Defaults and Begin...">
  179.             </ul>
  180.         </div>
  181.         </form>
  182.         <hr size=0>
  183.     <#endif#>    
  184.  
  185.     <form action="$cgiurl" method="post" name="toggle2">
  186.     <input type="hidden" name="action" value="options_save">
  187.     <input type="hidden" name="username" value="$general->{username}">
  188.     <input type="hidden" name="menu" value="0">
  189.     <div class="surround">
  190.         {#if $browser->{ieX}#}<p class="blbar">Switch to Advanced View</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Switch to Advanced View</font></font></td></tr></table>{#endif#}
  191.         <p>
  192.         You are now viewing the basic options.  This screen allows you to set the most
  193.         common options for your board and accept defaults for the rest.  To switch to the
  194.         advanced view, which gives you access to hundreds of configuration options for
  195.         your board, click this button.
  196.         </p>
  197.         <input type=hidden name="a" value="advanced_options">
  198.         <input type=hidden name="advanced_options" value="1">
  199.         <ul>
  200.         <input type=submit value="To Advanced View...">
  201.         </ul>
  202.     </div>
  203.     </form>
  204.     
  205.     <#if $GLOBAL_OPTIONS->{basic_configured_defaults} == 0#>
  206.         </font></body></html>
  207.         <#exit#>
  208.     <#endif#>
  209.     
  210. <#endif#>
  211.  
  212. <form action="$cgiurl" method="post" name="opts">
  213. <input type="hidden" name="action" value="options_save">
  214. <input type="hidden" name="username" value="$general->{username}">
  215. <input type="hidden" name="menu" value="$general->{menu}">
  216.  
  217. <#if $general->{menu} == 0#>
  218.  
  219.     <div class="surround">
  220.         {#if $browser->{ieX}#}<p class="blbar">Contact Information</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Contact Information</font></font></td></tr></table>{#endif#}
  221.         <p>
  222.         The following contact information will be given when error messages occur, as well
  223.         as on the moderator contact screen.
  224.         </p>
  225.         <ul>
  226.         <table>
  227.         <tr>
  228.         <td class="normal">Contact Name:</td>
  229.         <td><input type=text name=contact_name value="<#form escape "$GLOBAL_OPTIONS{contact_name}"#>" size=30></td>
  230.         </tr>
  231.         <tr>
  232.         <td class="normal">Contact E-mail:</td>
  233.         <td><input type=text name=contact_email value="<#form escape "$GLOBAL_OPTIONS{contact_email}"#>" size=30></td>
  234.         </tr>
  235.         <input type=hidden name="b" value="contact_name,contact_email">
  236.         </table>
  237.         </ul>
  238.     </div>
  239.     <br><br>
  240.     <#if pro#>
  241.         <div class="surround">
  242.             {#if $browser->{ieX}#}<p class="blbar">Access Control</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Access Control</font></font></td></tr></table>{#endif#}
  243.             <p>
  244.             Control who is permitted to view the topics display on your board.
  245.             </p>
  246.             <ul>
  247.             <input type=radio name=secure_topics_file value=1{#if $GLOBAL_OPTIONS{secure_topics_file} == 1#} checked{#endif#}>
  248.             Restricted access (registered users/moderators only)<br>
  249.             <input type=radio name=secure_topics_file value=0{#if $GLOBAL_OPTIONS{secure_topics_file} == 0#} checked{#endif#}>
  250.             Public access (display topics immediately)<br>
  251.             <input type=radio name=secure_topics_file value=2{#if $GLOBAL_OPTIONS{secure_topics_file} == 2#} checked{#endif#}>
  252.             Display login screen with guest access option
  253.             </ul>
  254.             <input type=hidden name="a" value="secure_topics_file">
  255.             <p>
  256.             Control which topics are displayed to a user on the topics display.
  257.             </p>
  258.             <ul>
  259.             <input type=radio name=topics_to_show value=0{#if $GLOBAL_OPTIONS{topics_to_show} == 0#} checked{#endif#}>
  260.             All topics on board<br>
  261.             <input type=radio name=topics_to_show value=1{#if $GLOBAL_OPTIONS{topics_to_show} == 1#} checked{#endif#}>
  262.             Only those topics that a user is authorized to view<br>
  263.             </ul>
  264.             <input type=hidden name="a" value="topics_to_show">
  265.         </div>
  266.         <br><br>
  267.     <#endif#>
  268.     
  269.     <#if pro#>
  270.         <div class="surround">
  271.             {#if $browser->{ieX}#}<p class="blbar">IP Banning</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>IP Banning</font></font></td></tr></table>{#endif#}
  272.             <p>
  273.             Here are the IP addresses that are currently banned.  To stop banning a particular
  274.             address, un-check the box next to that address.
  275.             </p>
  276.             <ul>
  277.                 <#if $#ipban == 0#>
  278.                     (No Addresses Currently Banned)
  279.                 <#else#>
  280.                     <#foreach $ip (@ipban)#>
  281.                         <input type=checkbox name="ip_ban" value="$ip->{id}" checked><b>$ip->{pattern}</b><br>
  282.                         <#if $ip->{comment} ne "" || $ip->{stamp} != 0#>
  283.                             <span class="comment">
  284.                             <#if $ip->{stamp} != 0#>
  285.                                 <#date $ip->{stamp} format "$L{SHORTDATE}"#>
  286.                             <#endif#>
  287.                             <#if $ip->{comment} ne ""#>($ip->{comment})<#endif#>
  288.                             </span>
  289.                             <br>
  290.                         <#endif#>
  291.                     <#endloop#>
  292.                 <#endif#>
  293.             </ul>
  294.             <p>
  295.             To ban a new address, enter the address and an optional comment below:
  296.             </p>
  297.             <ul>
  298.                 <table>
  299.                 <tr>
  300.                 <td class="normal">IP address:</td>
  301.                 <td><input type=text name="new_ip" value="" size=30></td>
  302.                 </tr>
  303.                 <tr>
  304.                 <td class="normal">Optional Comment:</td>
  305.                 <td><input type=text name="new_ip_comment" value="" size=30></td>
  306.                 </tr>
  307.                 </table>
  308.             </ul>
  309.             <input type=hidden name="e" value="ip_ban">
  310.         </div>
  311.         <br><br>
  312.     <#endif#>
  313.     
  314.     <div class="surround">
  315.         {#if $browser->{ieX}#}<p class="blbar">Maintenance Mode</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Maintenance Mode</font></font></td></tr></table>{#endif#}
  316.         <p>
  317.         You can put your board into "Maintenance Mode" to disable most features, including
  318.         posting, while you work on the board.
  319.         </p>
  320.         <input type=checkbox name=maintenance value=1{#if $GLOBAL_OPTIONS{maintenance}#} checked{#endif#}> Maintenance mode<br>
  321.         <input type=hidden name="a" value="maintenance,timezone">
  322.     </div>
  323.     <br><br>
  324.     
  325.     <div class="surround">
  326.         {#if $browser->{ieX}#}<p class="blbar">Time Zone</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Time Zone</font></font></td></tr></table>{#endif#}
  327.         <p>
  328.         If your server is in a different time zone from that of most of your users, you may
  329.         choose to have the program add or subtract a certain number of hours from all times
  330.         presented by the server.  The server's current time is:
  331.         </p>
  332.         <ul>
  333.         <#date $general->{server_time} format "%month %day, %year - %24hour:%minute"#>
  334.         </ul>
  335.         <p>
  336.         To add 3 hours to this time, you would enter "3" in the blank; to
  337.         subtract 2 hours from this time, you would enter "-2" in the blank.
  338.         </p>
  339.         <ul>
  340.         <table>
  341.         <tr>
  342.         <td class="normal">Add/Subtract Hours:</td>
  343.         <td><input type=text name=timezone value="{#if $GLOBAL_OPTIONS{timezone} ne "0"#}$GLOBAL_OPTIONS{timezone}{#else#}0{#endif#}" size=3></td>
  344.         </tr></table>
  345.         </ul>
  346.     </div>
  347.     
  348.     <br /><br />
  349.     <center>
  350.     <input type=submit value="Save Options">
  351.     </center>
  352.     </form>
  353. <#endif#>
  354.  
  355. <#if $general->{menu} == 1#>
  356.  
  357.     <div class="surround">
  358.         {#if $browser->{ieX}#}<p class="blbar">Message Options</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Message Options</font></font></td></tr></table>{#endif#}
  359.         <p>
  360.         <input type=checkbox name=active_links value=1{#if $GLOBAL_OPTIONS{active_links}#} checked{#endif#}> Activate links and e-mail addresses in messages<br>
  361.         <input type=hidden name="a" value="active_links">
  362.         <input type=checkbox name=anonymous value=1{#if $GLOBAL_OPTIONS{anonymous}#} checked{#endif#}> Allow posts as "Anonymous"<br>
  363.         <input type=hidden name="a" value="anonymous">
  364.         <input type=checkbox name=format_panel value=1{#if $GLOBAL_OPTIONS{format_panel} == 1#} checked{#endif#}> Formatting panel on message forms (in skins that support it)<br>
  365.         <input type=hidden name="a" value="format_panel">
  366.         <#if pro#>
  367.             <input type=checkbox name=post_ratings value=1{#if $GLOBAL_OPTIONS{post_ratings} == 1#} checked{#endif#}> Post ratings on posts (on skins that support it)<br>
  368.             <input type=hidden name="a" value="post_ratings">
  369.         <#endif#>
  370.         <input type=checkbox name=user_paren value=1{#if $GLOBAL_OPTIONS{user_paren} == 1 ||  $GLOBAL_OPTIONS{user_paren} eq ""#} checked{#endif#}> Username in (parentheses) on posts<br>
  371.         <#if pro#>
  372.             <input type=checkbox name=usersdel value=1{#if $GLOBAL_OPTIONS{usersdel} == 1#} checked{#endif#}> Users may delete their own posts within
  373.                 <input type=text name="usersdel_time" size=5 value="{#if $GLOBAL_OPTIONS{usersdel_time} == 0#}0{#else#}$GLOBAL_OPTIONS{usersdel_time}{#endif#}"> minutes<br>
  374.                 <input type=hidden name="a" value="usersdel">
  375.     
  376.             <input type=checkbox name=usersedit value=1{#if $GLOBAL_OPTIONS{usersedit} == 1#} checked{#endif#}> Users may edit their own posts within
  377.                 <input type=text name="usersedit_time" size=5 value="{#if $GLOBAL_OPTIONS{usersedit_time} == 0#}0{#else#}$GLOBAL_OPTIONS{usersedit_time}{#endif#}"> minutes<br>
  378.                 <input type=hidden name="a" value="usersedit">
  379.     
  380.             <input type=hidden name="b" value="usersedit_time,usersdel_time">
  381.         <#endif#>
  382.         </p>
  383.         <input type=hidden name="a" value="user_paren">
  384.     </div>
  385.     <br><br>
  386.     
  387.     <div class="surround">
  388.         {#if $browser->{ieX}#}<p class="blbar">Ordering of Items</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Ordering of Items</font></font></td></tr></table>{#endif#}
  389.         <p>
  390.         This section gives powerful control over the ordering of new threads and messages on your
  391.         board.  Be sure to read the administration instructions for Options Manager to learn
  392.         exactly what each option does.
  393.         </p>
  394.         <ul>
  395.     <table border=0 cellspacing=0 cellpadding=0>
  396.     <tr><td colspan=6 bgcolor=#ccccff class="us">Add new threads to top</td></tr>
  397.     <tr><td bgcolor=#ccccff class="us"> </td><td bgcolor=#ccffcc colspan=5 class="us">Alphabetize threads upon addition</td></tr>
  398.     <tr><td bgcolor=#ccccff class="us"> </td><td bgcolor=#ccffcc class="us"> </td><td bgcolor=#ffcccc colspan=4 class="us">Move active thread to top of list</td></tr>
  399.     <tr><td bgcolor=#ccccff class="us"> </td><td bgcolor=#ccffcc class="us"> </td><td bgcolor=#ffcccc class="us"> </td><td bgcolor=#ffff00 colspan=3 class="us">Move active thread's parents to top of list</td></tr>
  400.     <tr><td bgcolor=#ccccff class="us"> </td><td bgcolor=#ccffcc class="us"> </td><td bgcolor=#ffcccc class="us"> </td><td bgcolor=#ffff00 class="us"> </td><td bgcolor=#00aa00 colspan=2 class="us">Add new messages to top</td></tr>
  401.         <#foreach $topic (@topics)#>
  402.             <#if $topic->{type} == 1#>
  403.                 <tr>
  404.                 <#define $number = "$topic->{number}"#>
  405.                 <td bgcolor=#ccccff class="us"><input type=checkbox name=reverse_subs value="$number"{#if $reverse_subs->{$number} == 1#} checked{#endif#}></td>
  406.                 <td bgcolor=#ccffcc class="us"><input type=checkbox name=alphabet_subs value="$number"{#if $alphabet_subs->{$number} == 1#} checked{#endif#}></td>
  407.                 <td bgcolor=#ffcccc class="us"><input type=checkbox name=active_subs value="$number"{#if $active_subs->{$number} == 1#} checked{#endif#}></td>
  408.                 <td bgcolor=#ffff00 class="us"><input type=checkbox name=active_subs_parents value="$number"{#if $active_subs_parents->{$number} == 1#} checked{#endif#}></td>
  409.                 <td bgcolor=#00aa00 class="us"><input type=checkbox name=reverse_msgs value="$number"{#if $reverse_msgs->{$number} == 1#} checked{#endif#}></td>
  410.                 <td class="us">$topic->{name}</td>
  411.                 </tr>        
  412.             <#endif#>
  413.         <#endloop#>
  414.         </table>
  415.         </ul>
  416.         <input type="hidden" name="b" value="reverse_subs,alphabet_subs,active_subs,active_subs_parents,reverse_msgs">
  417.     </div>
  418.     <br><br>
  419.     
  420.     <div class="surround">
  421.         {#if $browser->{ieX}#}<p class="blbar">Profanity Checking</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Profanity Checking</font></font></td></tr></table>{#endif#}
  422.          <input type=checkbox name=profanity value=1{#if $GLOBAL_OPTIONS{profanity} == 1#} checked{#endif#}> Enable Profanity Checker<br>
  423.         <input type=hidden name="a" value="profanity">
  424.         <ul>
  425.             If profanity is detected:<br>
  426.             <ul>
  427.                 <input type=radio name="profanity_detected" value=1{#if $GLOBAL_OPTIONS{profanity_detected} == 1#} checked{#endif#}>Change profanity to <font color=#ff0000><b>••••</b></font> (dots)<br>
  428.                 <input type=radio name="profanity_detected" value=2{#if $GLOBAL_OPTIONS{profanity_detected} == 2#} checked{#endif#}>Do not allow post to be submitted<br>
  429.             </ul>
  430.             <br>
  431.             Word list:
  432.             <a href="#" onClick="openwin('$cgiurl?action=options_profanity&username=$general->{username}'); return false;">Edit</a>
  433.         </ul>
  434.         <input type=hidden name="a" value="profanity_detected">
  435.     </div>
  436.     <br><br>
  437.         <div class="surround">
  438.             <#if $browser->{ieX}#>
  439.                 <p class="blbar">{#if pro#}Attachment/{#endif#}Image Uploading</p>
  440.             <#else#>
  441.                 <table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>{#if pro#}Attachment/{#endif#}Image Uploading</font></font></td></tr></table>
  442.             <#endif#>
  443.             <p>
  444.             <input type=checkbox name=images value=1{#if $GLOBAL_OPTIONS{images} == 1#} checked{#endif#}>
  445.                 {#if pro#}Attachment/{#endif#}Image Uploading Enabled<br>
  446.             <input type=hidden name="a" value="images">
  447.             </p>
  448.             <ul>
  449.                 <p>
  450.                 A value of "0" or leaving a box blank indicates that there is no restriction.
  451.                 A setting of "-1" disables all uploads for the indicated class of poster.
  452.                 <#if pro#>If you limit both the size and dimension, the uploaded image will be rejected if it exceeds <i>either</i> the maximum file size or your dimensions.
  453.                 </p>
  454.     
  455.                 <table bgcolor="#000000" cellpadding=4 cellspacing=1>
  456.                 <tr bgcolor="#ffffff">
  457.                 <td class="normal" colspan=2>Limit file sizes (in kb):</td>
  458.                 <#if pro#><td class="normal">and/or limit dimensions:</td>
  459.                 </tr>
  460.                 
  461.                 <tr bgcolor="#ffffff">
  462.                 <td class="normal">Public Posters:</td>
  463.                 <td><input type=text name="public_maxsize" value="$GLOBAL_OPTIONS{public_maxsize}" size=3></td>
  464.                 <#if pro#><td class="normal" align=center><input type=text value="$GLOBAL_OPTIONS{public_image_maxwidth}" size=4 name="public_image_maxwidth"> x <input type=text value="$GLOBAL_OPTIONS{public_image_maxheight}" size=4 name="public_image_maxheight"></td>
  465.                 </tr>
  466.                 
  467.                 <tr bgcolor="#ffffff">
  468.                 <td class="normal">Registered Users:</td>
  469.                 <td><input type=text name="registered_maxsize" value="$GLOBAL_OPTIONS{registered_maxsize}" size=3></td>
  470.                 <#if pro#><td class="normal" align=center><input type=text value="$GLOBAL_OPTIONS{registered_image_maxwidth}" size=4 name="registered_image_maxwidth"> x <input type=text value="$GLOBAL_OPTIONS{registered_image_maxheight}" size=4 name="registered_image_maxheight"></td>
  471.                 </tr>
  472.     
  473.                 <tr bgcolor="#ffffff">
  474.                 <td class="normal">Board Moderators:</td>
  475.                 <td><input type=text name="registered_mod_maxsize" value="$GLOBAL_OPTIONS{registered_mod_maxsize}" size=3></td>
  476.                 <#if pro#><td class="normal" align=center><input type=text value="$GLOBAL_OPTIONS{moderator_image_maxwidth}" size=4 name="moderator_image_maxwidth"> x <input type=text value="$GLOBAL_OPTIONS{moderator_image_maxheight}" size=4 name="moderator_image_maxheight"></td>
  477.                 </tr>
  478.                 
  479.                 </table>
  480.                 <#if pro#><input type=hidden name="b" value="public_image_maxwidth,registered_image_maxwidth,moderator_image_maxwidth,public_image_maxheight,registered_image_maxheight,moderator_image_maxheight">
  481.             </ul>
  482.             <input type=hidden name="b" value="registered_mod_maxsize,registered_maxsize,public_maxsize">
  483.         </div>
  484.         <br><br>
  485.         <div class="surround">
  486.             {#if $browser->{ieX}#}<p class="blbar">Message Size Limitations</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Message Size Limitations</font></font></td></tr></table>{#endif#}
  487.             <p>
  488.             For message size limits, a value of "0" indicates that there is no restriction.
  489.             A setting of -1 disables all posting for the indicated class of visitor.
  490.             </p>
  491.             <ul>
  492.                 <p>
  493.                 Limit message sizes (in kb) -- note that 1 kb is 1000 characters, or about
  494.                 150-200 average sized words:
  495.                 </p>
  496.                 <table>
  497.                 <tr>
  498.                 <td class="normal">Public Posters:</td>
  499.                 <td><input type=text name="public_msgsize" value="$GLOBAL_OPTIONS{public_msgsize}" size=3></td>
  500.                 </tr>
  501.                 <tr>
  502.                 <td class="normal">Registered Users:</td>
  503.                 <td><input type=text name="registered_msgsize" value="$GLOBAL_OPTIONS{registered_msgsize}" size=3></td>
  504.                 </tr>
  505.                 <tr>
  506.                 <td class="normal">Board Moderators:</td>
  507.                 <td><input type=text name="registered_mod_msgsize" value="$GLOBAL_OPTIONS{registered_mod_msgsize}" size=3></td>
  508.                 </tr>
  509.                 </table>
  510.             </ul>
  511.             <input type=hidden name="a" value="public_msgsize,registered_msgsize,registered_mod_msgsize">
  512.         </div>
  513.         <br><br>
  514.         <#if pro#>
  515.             <div class="surround">
  516.                 {#if $browser->{ieX}#}<p class="blbar">Poster Names & Identification</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Poster Names & Identification</font></font></td></tr></table>{#endif#}
  517.                  Public posters may use:
  518.                 <ul>
  519.                 <input type=radio name="ppmu" value="0"{#if $GLOBAL_OPTIONS{ppmu} == 0#} checked{#endif#}> Anything at all as the username<br>
  520.                 <input type=radio name="ppmu" value="1"{#if $GLOBAL_OPTIONS{ppmu} == 1#} checked{#endif#}> Anything except the exact username of a registered member<br>
  521.                 <input type=radio name="ppmu" value="2"{#if $GLOBAL_OPTIONS{ppmu} == 2#} checked{#endif#}> Anything except the exact full name of a registered member<br>
  522.                 <input type=radio name="ppmu" value="3"{#if $GLOBAL_OPTIONS{ppmu} == 3#} checked{#endif#}> Anything except the exact username or full name of a registered member<br>
  523.                 <input type=radio name="ppmu" value="4"{#if $GLOBAL_OPTIONS{ppmu} == 4#} checked{#endif#}> Anything that does not resemble the username or full name of a registered member
  524.                     <ul>
  525.                     <p>
  526.                     The last option scores an entered name according to its similarity to the
  527.                     registered username and full name.  Enter here the threshold for disallowing
  528.                     use of a name (see administration instructions for further details of the scoring
  529.                     mechanisms).
  530.                     </p>
  531.                     <p>
  532.                     Threshold: <input type=text size=4 name="ppmu_thres" value="<#form escape "$GLOBAL_OPTIONS{ppmu_thres}"#>">
  533.                     </p>
  534.                     <p>
  535.                     <input type=checkbox name="ppmu_nocheck_single_fullnames" value="1"{#if $GLOBAL_OPTIONS{ppmu_nocheck_single_fullnames} == 1#} checked{#endif#}> Do not check against single-word full names<br>
  536.                     <input type=checkbox name="ppmu_treat_nonenglish" value="1"{#if $GLOBAL_OPTIONS{ppmu_treat_nonenglish} == 1#} checked{#endif#}> Treat non-English characters as the English letter they resemble<br>
  537.                     </p>
  538.                     </ul>
  539.                 </ul>
  540.                 <input type=hidden name="a" value="ppmu,ppmu_thres,ppmu_nocheck_single_fullnames,ppmu_treat_nonenglish">
  541.             </div>
  542.         <#endif#>
  543.     <#if pro#>
  544.         <br><br>
  545.         <div class="surround">
  546.             {#if $browser->{ieX}#}<p class="blbar">Spell Checker</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Spell Checker</font></font></td></tr></table>{#endif#}
  547.             <input type=checkbox name=spell_check value=1{#if $GLOBAL_OPTIONS{spell_check} == 1#} checked{#endif#}> Enable Spell Checker<br>
  548.             <input type=hidden name="a" value="spell_check">
  549.             <ul>
  550.             Dictionary File Status:
  551.                 <#if $general->{dictionary_ready} == 1#>
  552.                     <b><font color=#00aa00>Ready (contains $general->{spelling_words} word<#if $general->{word_count} != 1#>s<#endif#>)</font></b>
  553.                     <br><br>
  554.                     <input type="button" value="Reset" onClick="if (confirm('Do you really want to reset your dictionary file?')) { window.open('$script_url/board-admin.$cgi_extension?action=options_mgr_sd1&username=$general->{username}', 'PopWin', 'width=100,height=50,scrollbars=no,resizable=no'); }">
  555.                     <input type="button" value="Add File >>" onClick="window.open('$script_url/board-admin.$cgi_extension?action=options_mgr_sd2&username=$general->{username}', 'PopWin', 'width=100,height=50,scrollbars=no,resizable=no');">
  556.                     <input type="text" name="add_file" size=40>            
  557.                 <#else#>
  558.                     <b><font color=#ff0000>Not Ready</font></b>
  559.                     <br><br>
  560.                     <input type="button" value="Initialize" onClick="window.open('$script_url/board-admin.$cgi_extension?action=options_mgr_sd3&username=$general->{username}', 'PopWin', 'width=100,height=50,scrollbars=no,resizable=no');">
  561.                 <#endif#>
  562.             </ul>
  563.         </div>
  564.     <#endif#>
  565.     
  566.         
  567.     <br /><br />
  568.     <center>
  569.     <input type=submit value="Save Options">
  570.     </center>
  571.     </form>
  572.     
  573. <#endif#>
  574. <#if $general->{menu} == 2#>    
  575.  
  576.     <#if $GLOBAL_OPTIONS{allow_allusers} == 1 && $general->{allusers_total} == 0#>
  577.         <table bgcolor="#ffcccc"><tr><td class="unb">
  578.         <p><b>Warning:</b> You have chosen to enable the "member list" in the user
  579.         interface, but you have    not selected any user groups or moderators to show.
  580.         To fix this problem, go to the <a href="#usrlist">User Profile Display</a>
  581.         section and select at least one item from the "Displayed groups" box.</p>
  582.         </td></tr></table>
  583.         <br><br>
  584.     <#endif#>
  585.     
  586.     <div class="surround">
  587.         {#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#}
  588.         <p>
  589.         Click the following button to set up the default e-mail notification settings for
  590.         newly created accounts.
  591.         </p>
  592.         <ul>
  593.             <p>
  594.             <input type=button value="E-mail Notification" onClick="openwin('$cgiurl?username=$general->{username}&action=options_email_default');">
  595.             <input type=hidden name="default_notify_string" value="$GLOBAL_OPTIONS{default_notify_string}">
  596.             </p>
  597.         </ul>
  598.         <input type="hidden" name="c" value="default_notify_string">
  599.         <#if pro#>
  600.             <p>
  601.             Check any of the following preferences to have them checked by default for
  602.             all newly created accounts.  Also choose whether the preference you selected
  603.             is made permanent and unchangeable to the user.
  604.             </p>
  605.             <ul>
  606.             <table bgcolor="#0000aa" cellpadding=0 cellspacing=0 border=0><tr><td>
  607.             <table cellspacing=1 cellpadding=4 border=0>
  608.                 <tr bgcolor="#ffffff">
  609.                 <td class="ub">Checked</td>
  610.                 <td class="ub">Perm.</td>
  611.                 <td class="ub">Preference</td>
  612.                 </tr>
  613.                 <tr bgcolor="#ffffff">
  614.                 <td align=center><input type=checkbox name="pref" value="a"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(a)#} checked{#endif#}></td>
  615.                 <td align=center><input type=checkbox name="permpref" value="a"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(a)#} checked{#endif#}></td>
  616.                 <td class="unb">$L{PRED_COOKIE}</td>
  617.                 </tr>
  618.                 <tr bgcolor="#ffffff">
  619.                 <td align=center><input type=checkbox name="pref" value="b"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(b)#} checked{#endif#}></td>
  620.                 <td align=center><input type=checkbox name="permpref" value="b"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(b)#} checked{#endif#}></td>
  621.                 <td class="unb">$L{PRED_COOKIE_TEMP}</td>
  622.                 </tr>
  623.                 <tr bgcolor="#ffffff">
  624.                 <td align=center><input type=checkbox name="pref" value="c"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(c)#} checked{#endif#}></td>
  625.                 <td align=center><input type=checkbox name="permpref" value="c"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(c)#} checked{#endif#}></td>
  626.                 <td class="unb">$L{PROFILE_EDITOR_REAL_EMAIL_HIDE_PREFERENCE}</td>
  627.                 </tr>
  628.                 <tr bgcolor="#ffffff">
  629.                 <td align=center><input type=checkbox name="pref" value="d"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(d)#} checked{#endif#}></td>
  630.                 <td align=center><input type=checkbox name="permpref" value="d"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(d)#} checked{#endif#}></td>
  631.                 <td class="unb">$L{PRED_SKIP_PREVIEW}</td>
  632.                 </tr>
  633.                 <tr bgcolor="#ffffff">
  634.                 <td align=center><input type=checkbox name="pref" value="g"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(g)#} checked{#endif#}></td>
  635.                 <td align=center><input type=checkbox name="permpref" value="g"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(g)#} checked{#endif#}></td>
  636.                 <td class="unb">$L{PROFILE_EDITOR_TARGET_PREFERENCE}</td>
  637.                 </tr>
  638.                 <tr bgcolor="#ffffff">
  639.                 <td align=center><input type=checkbox name="pref" value="h"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(h)#} checked{#endif#}></td>
  640.                 <td align=center><input type=checkbox name="permpref" value="h"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(h)#} checked{#endif#}></td>
  641.                 <td class="unb">$L{PROFILE_EDITOR_FAVORITES_PREFERENCE}</td>
  642.                 </tr>
  643.                 <tr bgcolor="#ffffff">
  644.                 <td align=center><input type=checkbox name="pref" value="i"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(i)#} checked{#endif#}></td>
  645.                 <td align=center><input type=checkbox name="permpref" value="i"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(i)#} checked{#endif#}></td>
  646.                 <td class="unb">$L{PRED_SPELLCHECK}</td>
  647.                 </tr>
  648.                 <tr bgcolor="#ffffff">
  649.                 <td align=center><input type=checkbox name="pref" value="k"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(k)#} checked{#endif#}></td>
  650.                 <td align=center><input type=checkbox name="permpref" value="k"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(k)#} checked{#endif#}></td>
  651.                 <td class="unb">$L{ALLUSERS_PREFERENCE}</td>
  652.                 </tr>
  653.                 <tr bgcolor="#ffffff">
  654.                 <td align=center><input type=checkbox name="pref" value="l"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(l)#} checked{#endif#}></td>
  655.                 <td align=center><input type=checkbox name="permpref" value="l"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(l)#} checked{#endif#}></td>
  656.                 <td class="unb">$L{PRIVATE_MESSAGE_BLOCK_MESSAGE_PREFERENCE}</td>
  657.                 </tr>
  658.                 <tr bgcolor="#ffffff">
  659.                 <td align=center><input type=checkbox name="pref" value="m"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(m)#} checked{#endif#}></td>
  660.                 <td align=center><input type=checkbox name="permpref" value="m"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(m)#} checked{#endif#}></td>
  661.                 <td class="unb">$L{PRIVATE_MESSAGE_SKIP_INSTRUCTIONS_MESSAGE_PREFERENCE}</td>
  662.                 </tr>
  663.                 <tr bgcolor="#ffffff">
  664.                 <td align=center><input type=checkbox name="pref" value="n"{#if $GLOBAL_OPTIONS{default_prefs} =~ match(n)#} checked{#endif#}></td>
  665.                 <td align=center><input type=checkbox name="permpref" value="n"{#if $GLOBAL_OPTIONS{permanent_prefs} =~ match(n)#} checked{#endif#}></td>
  666.                 <td class="unb">$L{PROFILE_PREFERENCE_SHOW_MOST_RECENT}</td>
  667.                 </tr>
  668.                 </table>
  669.                 </td></tr></table>
  670.                 <input type="hidden" name="c" value="default_prefs">
  671.             </ul>
  672.             <input type="hidden" name="c" value="permanent_prefs">
  673.         <#endif#>
  674.     </div>
  675.  
  676.     <#if pro#>
  677.     <br><br>
  678.     
  679.     <div class="surround">
  680.         {#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#}
  681.         <p>
  682.         You may specify up to 20 fields for users and moderators to fill out with their profiles.
  683.         To delete a field, delete everything in the text box for that field's description.  For
  684.         more information on specifying fields, consult the administration instructions for Options
  685.         Manager.
  686.         </p>
  687.         <ul>
  688.         <table cellspacing=0 cellpadding=2>
  689.         <tr align=center>
  690.         <td class="normal"><b>Display</b></td>
  691.         <td class="normal"><b>Req.</b></td>
  692.         <td class="normal"><b>Order</b></td>
  693.         <td class="normal"><b>Type</b></td>
  694.         <td class="normal"><b>Rows</b></td>
  695.         <td class="normal" align=left><b>Description</b></td>
  696.         </tr>
  697.         <#define $field_count = "0"#>
  698.         <#foreach $field (@fields)#>
  699.             <#if $field->{descr} ne ""#>
  700.                 <#math: $field_count += 1#>
  701.                 <tr align=center>
  702.                 <td><select name="show_$field->{var}" size=1>
  703.                 <option value="1"{#if $field->{display} == 1#} selected{#endif#}>---</option>
  704.                 <option value="0"{#if $field->{display} == 0#} selected{#endif#}>Hide</option>
  705.                 <option value="2"{#if $field->{display} == 2#} selected{#endif#}>Show</option>
  706.                 </select></td>
  707.                 <td><input type=checkbox name="require_$field->{var}" value="1"{#if $field->{require} == 1#} checked{#endif#}></td>
  708.                 <td><input type=text name="order_$field->{var}" value="$field_count" size=4></td>
  709.                 <td><select name="type_$field->{var}" size=1>
  710.                     <option value="1"{#if $field->{type} == 1#} selected{#endif#}>Text</option>
  711.                     <option value="2"{#if $field->{type} == 2#} selected{#endif#}>URL</option>
  712.                     <option value="3"{#if $field->{type} == 3#} selected{#endif#}>E-mail</option>
  713.                     <option value="4"{#if $field->{type} == 4#} selected{#endif#}>Yahoo ID</option>
  714.                     <option value="5"{#if $field->{type} == 5#} selected{#endif#}>ICQ ID</option>
  715.                     <option value="6"{#if $field->{type} == 6#} selected{#endif#}>Style Sheet</option>
  716.                     </select></td>
  717.                 <td><select name="rows_$field->{var}" size=1>
  718.                     <option value="1"{#if $field->{size} == 1#} selected{#endif#}>1</option>
  719.                     <option value="3"{#if $field->{size} == 3#} selected{#endif#}>3</option>
  720.                     <option value="5"{#if $field->{size} == 5#} selected{#endif#}>5</option>
  721.                     </select></td>
  722.                 <td><input type=text name="descr_$field->{var}" value="<#form escape "$field->{descr}"#>" size=35></td>
  723.                 </tr>
  724.             <#endif#>
  725.         <#endloop#>
  726.         <#if $field_count < 20#>
  727.             <#math: $field_count += 1#>
  728.             <tr bgcolor=#ccccff>
  729.             <td valign=top colspan=6 class="normal">
  730.             To add a new field, type a description and select appropriate options<br>
  731.             for your new field in the following row:
  732.             </td>
  733.             </tr>
  734.             <tr align=center bgcolor=#ccccff>
  735.                 <td><select name="show_new" size=1>
  736.                 <option value="1">---</option>
  737.                 <option value="0">Hide</option>
  738.                 <option value="2">Show</option>
  739.                 </select></td>
  740.             <td><input type=checkbox name="require_new" value="1"></td>
  741.             <td><input type=text name="order_new" value="$field_count" size=4></td>
  742.             <td><select name="type_new" size=1>
  743.                 <option value="1" selected>Text</option>
  744.                 <option value="2">URL</option>
  745.                 <option value="3">E-mail</option>
  746.                 <option value="4">Yahoo ID</option>
  747.                 <option value="5">ICQ ID</option>
  748.                 <option value="6">Style Sheet</option>
  749.                 </select></td>
  750.             <td><select name="rows_new" size=1>
  751.                 <option value="1" selected>1</option>
  752.                 <option value="3">3</option>
  753.                 <option value="5">5</option>
  754.                 </select></td>
  755.             <td><input type=text name="descr_new" value="" size=35></td>
  756.             </tr>
  757.         <#endif#>
  758.         </table>
  759.         </ul>
  760.         <input type="hidden" name="c" value="profile_fields">
  761.     </div>
  762.     <br><br>
  763.         <div class="surround">
  764.             {#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#}
  765.             <input type=checkbox value=1 name="user_picts"{#if $GLOBAL_OPTIONS{user_picts} == 1#} checked{#endif#}>
  766.             Picture upload in profiles<br>
  767.             <input type=hidden name="a" value="user_picts">
  768.             <ul>
  769.                 Allowed Formats: <select name=picture_allow_gif value=1>
  770.                     <option value="0"{#if $GLOBAL_OPTIONS{picture_allow_gif} == 0#} selected{#endif#}>JPEG only</option>
  771.                     <option value="1"{#if $GLOBAL_OPTIONS{picture_allow_gif} == 1#} selected{#endif#}>GIF or JPEG</option>
  772.                     </select>            
  773.                 <input type=hidden name="a" value="picture_allow_gif">
  774.                 <br>
  775.                 <br>
  776.                 <input type=checkbox value=1 name="picture_forcesize"{#if $GLOBAL_OPTIONS{picture_forcesize} == 1#} checked{#endif#}>
  777.                     Picture Size Restriction:
  778.                     <ul>
  779.                         <select name="picture_forcesize_type" size="1">
  780.                         <option value="1"{#if $GLOBAL_OPTIONS{picture_forcesize_type} eq "1"#} selected{#endif#}>Smaller Than</option>
  781.                         <option value="0"{#if $GLOBAL_OPTIONS{picture_forcesize_type} eq "0"#} selected{#endif#}>Exactly</option>
  782.                         </select>
  783.                     
  784.                         <input type=text size=5 name="picture_width" value="{#if $GLOBAL_OPTIONS{picture_width} == 0#}50{#else#}$GLOBAL_OPTIONS{picture_width}{#endif#}"> x \
  785.                         <input type=text size=5 name="picture_height" value="{#if $GLOBAL_OPTIONS{picture_height} == 0#}50{#else#}$GLOBAL_OPTIONS{picture_height}{#endif#}">
  786.                     </ul>
  787.                     <input type=hidden name="a" value="picture_forcesize_type,picture_forcesize,picture_width,picture_height">
  788.                 <br>
  789.                 <input type=hidden name="a" value="thumbnails_enabled,thumbnails_use_gd,thumbnails_enabled_posts">
  790.                 <#if $general->{installed_gd}#>
  791.                     <p>
  792.                     <input type=checkbox value=1 name="thumbnails_enabled"{#if $GLOBAL_OPTIONS{thumbnails_enabled} == 1#} checked{#endif#}>
  793.                         Thumbnails:
  794.                         <ul>
  795.                             <p>
  796.                             Thumbnail Creation: <select name="thumbnails_use_gd" size="1">
  797.                             <option value=0{#if $GLOBAL_OPTIONS{thumbnails_use_gd} == 0#} selected{#endif#}>Use uploaded picture</option>
  798.                             <option value=1{#if $GLOBAL_OPTIONS{thumbnails_use_gd} == 1#} selected{#endif#}>Create thumbnails using GD module</option>
  799.                             </select>
  800.                             </p>
  801.                             <p>
  802.                             If you chose to create thumbnails using the GD module, configure
  803.                             the creation options here:
  804.                             </p>
  805.                             <ul>                    
  806.                             
  807.                                 Create thumbnails of size:                    
  808.                                 <input type=text size=5 name="thumbnail_width" value="{#if $GLOBAL_OPTIONS{thumbnail_width} == 0#}50{#else#}$GLOBAL_OPTIONS{thumbnail_width}{#endif#}"> x \
  809.                                 <input type=text size=5 name="thumbnail_height" value="{#if $GLOBAL_OPTIONS{thumbnail_height} == 0#}50{#else#}$GLOBAL_OPTIONS{thumbnail_height}{#endif#}">
  810.                                 <input type=hidden name="a" value="thumbnail_width,thumbnail_height,thumbnail_aspect_ratio">
  811.                                 <br><br>
  812.                                 Default background color (use 0-255 for each):
  813.                                 <ul>
  814.                                     <table>
  815.                                     <tr>
  816.                                     <td class="unb">Red:</td>
  817.                                     <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>
  818.                                     <td class="unb" rowspan=3>  </td>
  819.                                     <td class="unb" valign=top rowspan=3>
  820.                                     Select:<br>
  821.                                       <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>
  822.                                       <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>
  823.                                       <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>
  824.                                       <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>
  825.                                     </td>                    
  826.                                     </tr>
  827.                                     <tr>
  828.                                     <td class="unb">Green:</td>
  829.                                     <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>
  830.                                     </tr>
  831.                                     <tr>
  832.                                     <td class="unb">Blue:</td>
  833.                                     <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>
  834.                                     </tr>
  835.                                     </table>
  836.                                     <input type=hidden name="a" value="thumbnail_bg_red,thumbnail_bg_blue,thumbnail_bg_green">
  837.                                 </ul>
  838.                                 <br>                        
  839.                                 <input type=checkbox name="thumbnail_aspect_ratio" value=1{#if $GLOBAL_OPTIONS{thumbnail_aspect_ratio} == 1#} checked{#endif#}>
  840.                                 Preserve aspect ratio
  841.                             </ul>
  842.                             <p>                        
  843.                             <input type=checkbox name="thumbnails_enabled_posts" value=1{#if $GLOBAL_OPTIONS{thumbnails_enabled_posts} == 1#} checked{#endif#}>
  844.                             Enable picture display on posts
  845.                             </p>
  846.                         </ul>
  847.                 <#else#>
  848.                     <input type=hidden name="thumbnails_use_gd" value="0">
  849.                     <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#}>
  850.                         Thumbnails:
  851.                         <ul>
  852.                         <p>Your server does not have the 'GD' Perl module
  853.                         installed.  Thus, it is not possible for your server to automatically
  854.                         resize user pictures.  These "thumbnails" will be exact copies of the
  855.                         images uploaded by users (with the same height and width).</p>
  856.                         <p><font color="#ff0000">It is strongly recommended that you restrict
  857.                         the size of users' uploaded images with the above option if you
  858.                         enable this thumbnail option.
  859.                         </font></p>            
  860.                         <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#}>
  861.                         Enable picture display on posts
  862.                         </ul>
  863.                 <#endif#>
  864.             </ul>
  865.             <input type=hidden name="a" value="thumbnails_enabled_posts,thumbnail_aspect_ratio">
  866.         </div>
  867.         <br><br>
  868.     <div class="surround">
  869.         {#if $browser->{ieX}#}<p class="blbar">Signatures</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Signatures</font></font></td></tr></table>{#endif#}
  870.             <ul>
  871.             <p>
  872.             Enable display of signatures (if supported by selected skin) for:
  873.             </p>
  874.             <ul>
  875.             <input type=checkbox value=1 name="signature_mod"{#if $GLOBAL_OPTIONS{signature_mod} == 1#} checked{#endif#}> Moderators<br>
  876.             <input type=checkbox value=1 name="signature_user"{#if $GLOBAL_OPTIONS{signature_user} == 1#} checked{#endif#}> Users<br>
  877.             </ul>
  878.             </ul>
  879.             
  880.             <ul>
  881.             <p>
  882.             Configure signatures here:
  883.             </p>
  884.             
  885.                 <ul>
  886.                 <table>
  887.                 <tr>
  888.                 <td class="normal">Maximum length (characters):</td>
  889.                 <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>
  890.                 <td class="normal">Note: 0 = no limit</td>
  891.                 </tr>
  892.                 <tr>
  893.                 <td class="normal">Maximum number of lines:</td>
  894.                 <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>
  895.                 <td class="normal"> </td>
  896.                 </tr>
  897.                 </table>
  898.                 <input type=hidden name="a" value="signature_mod,signature_user">
  899.                 </ul>
  900.             </ul>
  901.             <input type=hidden name="b" value="signature_maxlength_chars,signature_maxlength_lines">
  902.     </div>
  903.     
  904.     <a name="usrlist"><br><br></a>
  905.         <div class="surround">
  906.             {#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#}
  907.             <p>
  908.             <input type=checkbox value=1 name="allow_allusers"{#if $GLOBAL_OPTIONS{allow_allusers} == 1#} checked{#endif#}>
  909.             Allow display and searching of registered users in the User Interface<br><br>
  910.             <input type=hidden name="a" value="allow_allusers">
  911.             </p>
  912.             <ul>
  913.                 <table>
  914.                 <tr>
  915.                 <td class="unb">Who may view user list:</td>
  916.                 <td><select name="allusers_whomayview">
  917.                     <option value="0"{#if $GLOBAL_OPTIONS{allusers_whomayview} == 0#} selected{#endif#}>Anyone</option>
  918.                     <option value="1"{#if $GLOBAL_OPTIONS{allusers_whomayview} == 1#} selected{#endif#}>Registered users or moderators</option>
  919.                     <option value="2"{#if $GLOBAL_OPTIONS{allusers_whomayview} == 2#} selected{#endif#}>Moderators only</option>
  920.                     </select></td>
  921.                 </tr>
  922.                 
  923.                 <tr>
  924.                 <td class="unb" valign=top>Available fields:</td>
  925.                 <td valign=top>
  926.                 <select name="fields_display" multiple size=4>
  927.                 <option value="login"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/login/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_USERNAME}</option>
  928.                 <option value="fullname"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/fullname/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_FULLNAME}</option>
  929.                 <option value="email"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/email/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_EMAIL}</option>
  930.                 <option value="access"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/access/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_ACCESS}</option>
  931.                 <option value="registered"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/registered/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_REGISTERED}</option>
  932.                 <option value="status"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/status/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_STATUS}</option>
  933.                 <option value="posts"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/posts/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_POSTS}</option>
  934.                 <option value="profile"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/profile/) || $GLOBAL_OPTIONS{fields_display} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PROFILE}</option>
  935.                 <option value="group"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/group/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_GROUP}</option>
  936.                 <option value="picture"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/picture/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PICTURE}</option>
  937.                 <#foreach $field (@fields)#>
  938.                     <#if $field->{type} != "6"#>
  939.                         <option value="var$field->{var}"{#if $GLOBAL_OPTIONS{fields_display} =~ match(/var$field->{var}/)#} selected{#endif#}>$field->{descr}</option>
  940.                     <#endif#>
  941.                 <#endloop#>
  942.                 </select>
  943.                 </td>
  944.                 <td valign=center class="unb" rowspan=3>
  945.                 <p>Hold CTRL and click to<br>
  946.                 make multiple selections</p>
  947.                 <p>Fields selected in the first<br>
  948.                 ("available") box will be the only<br>
  949.                 ones shown.</p>
  950.                 <p>If you select fields from the<br>
  951.                 second ("default") box that are<br>
  952.                 not selected as available, then<br>
  953.                 your setting of the "default" will<br>
  954.                 be ignored.</p>
  955.                 </td></tr>
  956.                 
  957.                 <tr>
  958.                 <td class="unb" valign=top>Default selected fields:</td>
  959.                 <td><select name="allusers_dispfield" multiple size=4>
  960.                     <option value="login"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/login/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_USERNAME}</option>
  961.                     <option value="fullname"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/fullname/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_FULLNAME}</option>
  962.                     <option value="email"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/email/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_EMAIL}</option>
  963.                     <option value="access"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/access/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_ACCESS}</option>
  964.                     <option value="registered"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/registered/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_REGISTERED}</option>
  965.                     <option value="status"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/status/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_STATUS}</option>
  966.                     <option value="posts"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/posts/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_POSTS}</option>
  967.                     <option value="profile"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/profile/) || $GLOBAL_OPTIONS{allusers_dispfield} eq ""#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PROFILE}</option>
  968.                     <option value="group"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/group/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_GROUP}</option>
  969.                     <option value="picture"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/picture/)#} selected{#endif#}>$L{ALLUSERS_SORT_MODE_PICTURE}</option>
  970.                     <#foreach $field (@fields)#>
  971.                         <#if $field->{type} != "6"#>
  972.                             <option value="var$field->{var}"{#if $GLOBAL_OPTIONS{allusers_dispfield} =~ match(/var$field->{var}/)#} selected{#endif#}>$field->{descr}</option>
  973.                         <#endif#>
  974.                     <#endloop#>
  975.                     </select></td>
  976.                 </tr>
  977.     
  978.                 <tr>
  979.                 <td class="unb" valign=top>Displayed groups:</td>
  980.                 <td><select name="allusers_groups" multiple size=3>
  981.                     <option value="*mod*"{#if $allusers_groups->{moderators} == 1#} selected{#endif#}>(Moderator Accounts)</option>
  982.                     <option value="*usr*"{#if $allusers_groups->{users} == 1#} selected{#endif#}>(All User Groups)</option>
  983.                     <#foreach $group (@groups)#>
  984.                         <option value="$group->{name}"{#if $group->{selected}#} selected{#endif#}>$group->{name}</option>
  985.                     <#endloop#>
  986.                     </select>
  987.                     <input type="hidden" name="b" value="allusers_groups">
  988.                     </td>
  989.                 </tr>
  990.                 
  991.                 </table>
  992.                 <br>
  993.                 <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>
  994.                 <input type=hidden name="a" value="allusers_allowhide">
  995.                 <input type=checkbox value=1 name="allusers_forcepicsize"{#if $GLOBAL_OPTIONS{allusers_forcepicsize} == 1#} checked{#endif#}>
  996.                 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 \
  997.                 <input type=text name="allusers_picheight" size=5 value="{#if $GLOBAL_OPTIONS{allusers_picheight} <= 0#}50{#else#}$GLOBAL_OPTIONS{allusers_picheight}{#endif#}"><br>
  998.                 <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>
  999.     
  1000.                 <input type=hidden name="a" value="allusers_textonly">
  1001.                 <input type=hidden name="a" value="allusers_forcepicsize,allusers_picwidth,allusers_picheight">
  1002.                 <input type=hidden name="b" value="allusers_whomayview">
  1003.                 <input type=hidden name="c" value="fields_display">
  1004.                 <input type=hidden name="c" value="allusers_dispfield">
  1005.             </ul>    
  1006.             <input type=hidden name="fields_display" value="H">
  1007.         </div>
  1008.         <br><br>
  1009.         <div class="surround">
  1010.             {#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#}
  1011.             <p>
  1012.             <input type=checkbox value=1 name="allow_selfreg"{#if $GLOBAL_OPTIONS{allow_selfreg} == 1#} checked{#endif#}>
  1013.             User self-registration is enabled
  1014.             </p>
  1015.             <input type=hidden name="a" value="allow_selfreg">
  1016.             <ul>
  1017.                 <p>
  1018.                 Note: One or more groups must be set up to permit users to self-register in order
  1019.                 for this feature be useful.  Control the setup of individual groups using the
  1020.                 User Manager.
  1021.                 </p>
  1022.                 <p>
  1023.                 <input type=checkbox value=1 name="coppa"{#if $GLOBAL_OPTIONS{coppa} == 1#} checked{#endif#}> Age verification (COPPA) » minimum age
  1024.                     <input type=text name="coppa_age" value="{#if $GLOBAL_OPTIONS->{coppa_age} == 0#}13{#else#}$GLOBAL_OPTIONS->{coppa_age}{#endif#}" size=2>
  1025.                     <br>
  1026.                 <input type=hidden name="a" value="coppa,coppa_age">
  1027.                 <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>
  1028.                 <input type=hidden name="a" value="one_group_selfreg_only">
  1029.                 <input type=checkbox name="selfreg_ban_domain" value=1{#if $GLOBAL_OPTIONS{selfreg_ban_domain} == 1#} checked{#endif#}>
  1030.                 Disallow e-mail addresses from certain domains
  1031.                 (edit <a href="#" onClick="openwin('$cgiurl?action=options_domains&username=$general->{username}'); return false;">domain list</a>)<br>
  1032.                 </p>
  1033.             </ul>
  1034.             <input type=hidden name="a" value="selfreg_ban_domain">
  1035.         </div>
  1036.     
  1037.         <br><br>
  1038.         <div class="surround">
  1039.             {#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#}
  1040.             <p>
  1041.             There are several different statuses that are available for use.  Here, define
  1042.             the text descriptions for these statuses.
  1043.             </p>
  1044.             <ul>
  1045.             <table>
  1046.         <tr>
  1047.         <td class="unb">Unregistered:</td>
  1048.         <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#}">
  1049.         </tr>
  1050.         <tr>
  1051.         <td class="unb">User Level #1 (Lowest):</td>
  1052.         <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#}">
  1053.         </tr>
  1054.         <tr>
  1055.         <td class="unb">User Level #2:</td>
  1056.         <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#}">
  1057.         </tr>
  1058.         <tr>
  1059.         <td class="unb">User Level #3:</td>
  1060.         <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#}">
  1061.         </tr>
  1062.         <tr>
  1063.         <td class="unb">User Level #4:</td>
  1064.         <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#}">
  1065.         </tr>
  1066.         <tr>
  1067.         <td class="unb">User Level #5:</td>
  1068.         <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#}">
  1069.         </tr>
  1070.         <tr>
  1071.         <td class="unb">User Level #6 (Highest):</td>
  1072.         <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#}">
  1073.         </tr>
  1074.         <tr>
  1075.         <td class="unb">Moderator:</td>
  1076.         <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#}">
  1077.         </tr>
  1078.         <tr>
  1079.         <td class="unb">Board Administrator:</td>
  1080.         <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#}">
  1081.         </tr>
  1082.             </table>
  1083.             </ul>
  1084.             <p>
  1085.             All users, when registered, begin at the lowest user status.  You can automatically
  1086.             promote users based on the number of messages they post (the numbers you enter into
  1087.             the boxes below represent the <b>total</b> number of messages the user posts to
  1088.             your board).
  1089.             </p>
  1090.             <ul>
  1091.             <table>
  1092.             <tr>
  1093.             <td><input type=checkbox name="promote_34" value="1"{#if $GLOBAL_OPTIONS{promote_34}#} checked{#endif#}></td>
  1094.             <td class="unb">Automatically promote from level 1 to 2 after</td>
  1095.             <td><input type=text size=3 name="promote_34_posts" value="$GLOBAL_OPTIONS{promote_34_posts}"></td>
  1096.             <td class="unb">total posts</td>
  1097.             </tr>
  1098.             <tr>
  1099.             <td><input type=checkbox name="promote_45" value="1"{#if $GLOBAL_OPTIONS{promote_45}#} checked{#endif#}></td>
  1100.             <td class="unb">Automatically promote from level 2 to 3 after</td>
  1101.             <td><input type=text size=3 name="promote_45_posts" value="$GLOBAL_OPTIONS{promote_45_posts}"></td>
  1102.             <td class="unb">total posts</td>
  1103.             </tr>
  1104.             <tr>
  1105.             <td><input type=checkbox name="promote_56" value="1"{#if $GLOBAL_OPTIONS{promote_56}#} checked{#endif#}></td>
  1106.             <td class="unb">Automatically promote from level 3 to 4 after</td>
  1107.             <td><input type=text size=3 name="promote_56_posts" value="$GLOBAL_OPTIONS{promote_56_posts}"></td>
  1108.             <td class="unb">total posts</td>
  1109.             </tr>
  1110.             <tr>
  1111.             <td><input type=checkbox name="promote_67" value="1"{#if $GLOBAL_OPTIONS{promote_67}#} checked{#endif#}></td>
  1112.             <td class="unb">Automatically promote from level 4 to 5 after</td>
  1113.             <td><input type=text size=3 name="promote_67_posts" value="$GLOBAL_OPTIONS{promote_67_posts}"></td>
  1114.             <td class="unb">total posts</td>
  1115.             </tr>
  1116.             <tr>
  1117.             <td><input type=checkbox name="promote_78" value="1"{#if $GLOBAL_OPTIONS{promote_78}#} checked{#endif#}></td>
  1118.             <td class="unb">Automatically promote from level 5 to 6 after</td>
  1119.             <td><input type=text size=3 name="promote_78_posts" value="$GLOBAL_OPTIONS{promote_78_posts}"></td>
  1120.             <td class="unb">total posts</td>
  1121.             </tr>
  1122.             </table>
  1123.             <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">
  1124.             </ul>
  1125.             <input type=hidden name="d" value="status2,status3,status4,status5,status6,status7,status8,status9,status10">
  1126.         </div>
  1127.         <br><br>
  1128.     
  1129.         <div class="surround">
  1130.             {#if $browser->{ieX}#}<p class="blbar">Additional Profile Features</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Additional Profile Features</font></font></td></tr></table>{#endif#}
  1131.             <p>
  1132.             <input type=checkbox name=forgotten_pw_util value=1{#if $GLOBAL_OPTIONS{forgotten_pw_util}#} checked{#endif#}> Enable forgotten password utility<br>
  1133.             <input type=checkbox value=1 name="private_messaging"{#if $GLOBAL_OPTIONS{private_messaging} == 1#} checked{#endif#}> Enable private messaging (sending personal e-mail through board)<br>
  1134.             </p>
  1135.             <ul>
  1136.                 <p>
  1137.                 Note: In the table below, 0 = no limit
  1138.                 </p>            
  1139.                 <table>
  1140.                 <tr>
  1141.                 <td class="unb">Maximum message length</td>
  1142.                 <td class="unb"><input type=text name=private_messaging_maxlength value="{#if $GLOBAL_OPTIONS{private_messaging_maxlength} == 0#}0{#else#}$GLOBAL_OPTIONS{private_messaging_maxlength}{#endif#}" size=3> kB</td>
  1143.                 </tr>
  1144.                 <tr>
  1145.                 <td class="unb">Limit messages sent per day:</td>
  1146.                 <td class="unb"><input type=text name=private_messaging_send_day value="{#if $GLOBAL_OPTIONS{private_messaging_send_day} == 0#}0{#else#}$GLOBAL_OPTIONS{private_messaging_send_day}{#endif#}" size=3></td>
  1147.                 </tr>
  1148.                 <tr>
  1149.                 <td class="unb">Limit messages received per day:</td>
  1150.                 <td class="unb"><input type=text name=private_messaging_receive_day value="{#if $GLOBAL_OPTIONS{private_messaging_receive_day} == 0#}0{#else#}$GLOBAL_OPTIONS{private_messaging_receive_day}{#endif#}" size=3></td>
  1151.                 </tr>
  1152.                 </table>
  1153.                 <p>
  1154.                 <input type=checkbox value=1 name="private_messaging_consecutive_block"{#if $GLOBAL_OPTIONS{private_messaging_consecutive_block} == 1#} checked{#endif#}> No more than 
  1155.                 <input type=text name="private_messaging_consecutive_cutoff" value="{#if $GLOBAL_OPTIONS{private_messaging_consecutive_cutoff} == 0#}0{#else#}$GLOBAL_OPTIONS{private_messaging_consecutive_cutoff}{#endif#}" size=3>
  1156.                 consecutive message(s) per week without a reply from that user<br>
  1157.                 </p>
  1158.             </ul>
  1159.             <input type=hidden name="a" value="forgotten_pw_util,private_messaging_receive_day,private_messaging_maxlength,private_messaging_send_day,private_messaging,private_messaging_consecutive_block,private_messaging_consecutive_cutoff">
  1160.         </div>
  1161.     <#endif#>
  1162.     <br><br>
  1163.     <center>
  1164.     <input type=submit value="Save Options">
  1165.     </center>
  1166. <#endif#>
  1167.  
  1168. <#if $general->{menu} == 6#>
  1169. <input type=hidden name="f" value="email">
  1170. <div class="surround">
  1171.     {#if $browser->{ieX}#}<p class="blbar">Activation</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Activation</font></font></td></tr></table>{#endif#}
  1172.     <p>
  1173.     <input onClick="document.opts.emforcesave.value = 1; if (document.opts.capable.checked == false) { if (document.opts.email.checked == true) { document.opts.email.checked = false; alert('Because you have specified that this server is not capable of sending e-mail messages, e-mail notification has been automatically disabled.'); } }" type=checkbox name=capable value=1{#if $GLOBAL_OPTIONS{capable}#} checked{#endif#}> Server is capable of sending e-mail messages<br>
  1174.     <input onClick="document.opts.emforcesave.value = 1; if (document.opts.capable.checked == false) { alert('E-mail notification can be enabled only if your server is capable of sending e-mail messages.  You must check the option below next to:\n\nServer is capable of sending e-mail messages\n\n...before you can enable e-mail notification.'); document.forms[0].email.checked = 0; }" type=checkbox name=email value=1{#if $GLOBAL_OPTIONS{email}#} checked{#endif#}> E-mail notification enabled<br>
  1175.     <input type=hidden name="a" value="capable">
  1176.     <#if pro#>
  1177.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox name="reply_email_admin" value=1{#if $GLOBAL_OPTIONS{reply_email_admin} == 1#} checked{#endif#}> Reply by e-mail -- administrative features enabled
  1178.             (<a href="#" onClick="return openwin('$cgiurl?username=$general->{username}&action=email_admin_cfg');">Configure</a>)<br>
  1179.         <input type=hidden name="a" value="reply_email_admin">
  1180.     <#endif#>
  1181.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox name="reply_email" value=1{#if $GLOBAL_OPTIONS{reply_email} == 1#} checked{#endif#}> Reply by e-mail -- posting features enabled<br>
  1182.     <input type=hidden name="a" value="reply_email">
  1183.     </p>
  1184.     <input type=hidden name="a" value="email">
  1185. </div>
  1186. <br><br>
  1187. <div class="surround">
  1188.     {#if $browser->{ieX}#}<p class="blbar">E-mail Message Headers</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>E-mail Message Headers</font></font></td></tr></table>{#endif#}
  1189.     <p>
  1190.     This section controls the SMTP headers that are used when generating your e-mail
  1191.     notification messages.  Note that replies to e-mail messages (if you have enabled
  1192.     e-mail reply) will be sent to the "From Address" you specify below if a properly
  1193.     functioning e-mail client is used to compose the reply.
  1194.     </p>
  1195.     <ul>
  1196.         <table>
  1197.         <tr>
  1198.         <td class="ub">From Name:</td>
  1199.         <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="fromname" value="<#form escape "$mailer->{fromname}"#>"></td>
  1200.         </tr>
  1201.         <tr>
  1202.         <td class="ub">From Address:</td>
  1203.         <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="fromaddr" value="<#form escape "$mailer->{fromaddr}"#>"></td>
  1204.         </tr>
  1205.         </table>
  1206.     </ul>
  1207.     <p>
  1208.     If you utilize the BCC method of mail sending, you must supply a 'To' address to
  1209.     which the e-mail messages will be sent.  Read the administration instructions for Options
  1210.     Manager for more.  Just enter your own e-mail address here if you aren't sure what to do.
  1211.     </p>
  1212.     <ul>
  1213.         <table>
  1214.         <tr>
  1215.         <td class="ub">To Address:</td>
  1216.         <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="chuckaddress" value="<#form escape "$mailer->{chuckaddress}"#>"></td>
  1217.         </tr>
  1218.         </table>
  1219.     </ul>
  1220.     
  1221.     
  1222.     <input type=hidden name="c" value="mail_config">
  1223. </div>
  1224. <br><br>
  1225. <div class="surround">
  1226.     {#if $browser->{ieX}#}<p class="blbar">Notification Options</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Notification Options</font></font></td></tr></table>{#endif#}
  1227.     <p>
  1228.     <#if pro#>
  1229.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="email_edit_profile_link"{#if $GLOBAL_OPTIONS{email_edit_profile_link} == 1#} checked{#endif#}> Add a link to edit profile within message<br>
  1230.         <input type=hidden name="a" value="email_edit_profile_link">
  1231.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="disable_html_mail"{#if $GLOBAL_OPTIONS{disable_html_mail} == 1#} checked{#endif#}> Disable ability to receive HTML mail<br>
  1232.         <input type=hidden name="a" value="disable_html_mail">
  1233.     <#endif#>
  1234.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="send_mail_only_admins"{#if $GLOBAL_OPTIONS{send_mail_only_admins} == 1#} checked{#endif#}> E-mail notification only to moderators<br>
  1235.     <input type=hidden name="a" value="send_mail_only_admins,subject_line">
  1236.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="sendnotext"{#if $GLOBAL_OPTIONS{sendnotext} == 1#} checked{#endif#}> Send only headers (not message text)<br>
  1237.     <#if pro#>
  1238.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="email_bysubtopic"{#if $GLOBAL_OPTIONS{email_bysubtopic} == 1#} checked{#endif#}> Users may select e-mail notification by first-level subtopic<br>
  1239.         <input type=hidden name="a" value="email_bysubtopic">
  1240.     <#endif#>
  1241.     </p>
  1242.     <p>
  1243.     Subject Line:  <select onSelect="document.opts.emforcesave.value = 1;" name="subject_line" size=1>
  1244.     <option value="0"{#if $GLOBAL_OPTIONS{subject_line} == 0#} selected{#endif#}>Name of page</option>
  1245.     <option value="1"{#if $GLOBAL_OPTIONS{subject_line} == 1#} selected{#endif#}>Navigation bar (topic and page name)</option>
  1246.     <option value="2"{#if $GLOBAL_OPTIONS{subject_line} == 2#} selected{#endif#}>Static text from language file</option>
  1247.     </select>
  1248.     </p>    
  1249.     <input type=hidden name="a" value="sendnotext">
  1250. </div>
  1251. <#if $mailer->{pop3}#>
  1252.     <br><br>
  1253.     <div class="surround">
  1254.         {#if $browser->{ieX}#}<p class="blbar">Reply by E-mail Through POP3 Mailbox</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Reply by E-mail through POP3 Mailbox</font></font></td></tr></table>{#endif#}
  1255.         <p>
  1256.         This option lets you scan a POP3 mailbox for posts to be made through reply by e-mail.
  1257.         This works best with the {#if ! pro#}Discus Pro {#endif#}task scheduler function to
  1258.         ensure that the mailbox is scanned regularly.
  1259.         </p>
  1260.         <p>
  1261.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="scanpop3"{#if $GLOBAL_OPTIONS{scanpop3} == 1#} checked{#endif#}> Scan a POP3 mailbox for e-mail replies:
  1262.         </p>
  1263.         <ul>
  1264.             <table>
  1265.             <tr>
  1266.             <td class="ub">POP3 server name/IP:</td>
  1267.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="pop3_host" value="<#form escape "$GLOBAL_OPTIONS{pop3_host}"#>"></td>
  1268.             </tr>
  1269.             <tr>
  1270.             <td class="ub">Username:</td>
  1271.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=20 name="pop3_user" value="<#form escape "$GLOBAL_OPTIONS{pop3_user}"#>"></td>
  1272.             </tr>
  1273.             <tr>
  1274.             <td class="ub">Password:</td>
  1275.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=20 name="pop3_pass" value="<#form escape "$GLOBAL_OPTIONS{pop3_pass}"#>"></td>
  1276.             </tr>
  1277.             <tr>
  1278.             <td class="ub">E-mail Address:</td>
  1279.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="pop3_addr" value="<#form escape "$GLOBAL_OPTIONS{pop3_addr}"#>"></td>
  1280.             </tr>
  1281.             </table>
  1282.             <p>
  1283.             <input onClick="document.opts.emforcesave.value = 1;" type=checkbox name="pop3_scan" value=1{#if $GLOBAL_OPTIONS{pop3_scan} == 1#} checked{#endif#}> This mailbox receives both posts AND either regular e-mail or posts to other boards
  1284.             </p>
  1285.             <input type="hidden" name="a" value="scanpop3,pop3_scan">
  1286.         </ul>
  1287.         <input type="hidden" name="b" value="pop3_host,pop3_user,pop3_pass,pop3_addr">
  1288.     </div>
  1289. <#endif#>
  1290. <br><br>
  1291. <div class="surround">
  1292.     {#if $browser->{ieX}#}<p class="blbar">Technical Configuration of Mail Program</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Technical Configuration of Mail Program</font></font></td></tr></table>{#endif#}
  1293.     <p>
  1294.     This is where you configure the e-mail program or sending module.  You need to do this
  1295.     correctly in order for any e-mail functions (such as e-mail notification,
  1296.     {#if ! pro#} and in Discus Pro,
  1297.     the forgotten password utility, user self-registration, etc.)  to work properly.
  1298.     Please refer to the administration instructions for Options Manager for details.
  1299.     </p>
  1300.     <ul>
  1301.         <p>
  1302.             <input type=submit value="Configure E-mail Notification" onClick="config_email_notify();">
  1303.         </p>        
  1304.     </ul>
  1305. </div>
  1306. <input type=hidden name="emforcesave" value="0">
  1307. <input type=hidden name="popconfig" value="0">
  1308.     <br><br>
  1309.     <center>
  1310.     <input type=submit value="Save Options">
  1311.     </center>
  1312.  
  1313. <#endif#>
  1314.  
  1315. <#if $general->{menu} == 8#>
  1316.  
  1317.     <#insert part () "options_screen"#>
  1318.     <br><br>
  1319.     <center>
  1320.     <input type=submit value="Save Options">
  1321.     </center>
  1322.  
  1323. <#endif#>
  1324.  
  1325. </form>
  1326.  
  1327. </font>
  1328. </body></html>
  1329. <!--END-->
  1330.