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 / appr-mgr.tmpl < prev    next >
Text File  |  2009-11-06  |  25KB  |  577 lines

  1. # FILE: appr-mgr.tmpl
  2. # DESCRIPTION: Appearance Manager Screen
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7.  
  8. <#define array @menubar (number,name)#>
  9. 0    Top Page
  10. 1    Colors
  11. 2    Interface
  12. 3    Skins
  13. 4    Editor
  14. 5    Regeneration
  15. <#/define#>
  16.  
  17. <#define array @skin_alt (_index, color)#>
  18. 1    #c0c0c0
  19. 2    #d0d0d0
  20. <#/define#>
  21.  
  22. <html><head><title>Appearance Manager</title>
  23. <style>
  24. td.unselected {font: bold 9pt verdana,arial,helvetica; background-color: #d0d0d0}
  25. td.selected {font: bold 9pt verdana,arial,helvetica; background-color: #f7f757}
  26. td.ub {font: bold 8pt verdana,arial,helvetica}
  27. td.unb {font: 8pt verdana,arial,helvetica}
  28. td.eb {font: bold 9pt verdana,arial,helvetica}
  29. td.enb {font: 9pt verdana,arial,helvetica}
  30. td.es {font: 8pt verdana,arial,helvetica}
  31. td.ess {font: 8pt arial,helvetica}
  32. a.bar {text-decoration: none}
  33. .colbox { font: 9pt courier new,courier; color: #000000; background-color: #f7f7f7; }
  34. p { margin-left: 2pt; }
  35. p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
  36. .surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
  37. .normal {font: 10pt verdana,arial,helvetica}
  38. .comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
  39. </style>
  40. <#if $general->{menu} == 3#>
  41.     <script language="JavaScript">
  42.     function dskin (d) {
  43.         var m = confirm("Are you sure you want to delete the selected skin(s)?");
  44.         if (m == true) {
  45.             document.skindel.dels.value = d;
  46.             document.skindel.submit();
  47.         }
  48.         return false;
  49.     }
  50.     </script>
  51. <#endif#>
  52. <#if $general->{menu} == 4#>
  53.     <script language="JavaScript">
  54.     function newwin (d) {
  55.         var it = window.open("$cgiurl?username=$general->{username}&action=appear_ted&file=" + d, "editor", "resizable,status,menubar,scrollbars,width=$general->{width},height=$general->{height}");
  56.         return false;
  57.     }
  58.     function newskwin (d) {
  59.         var it = window.open("$cgiurl?username=$general->{username}&action=appear_sked&file=" + d, "editor", "resizable,status,menubar,scrollbars,width=$general->{width},height=$general->{height}");
  60.         return false;
  61.     }
  62.     function valwin (d) {
  63.         var it = window.open("$cgiurl?username=$general->{username}&action=appear_val&file=" + d, "validator", "resizable,status,menubar,scrollbars,width=$general->{width},height=$general->{height}");
  64.         return false;
  65.     }
  66.     </script>
  67. <#endif#>
  68.  
  69. </head>
  70. <body bgcolor="#ffffff" text="#000000" link="#0000FF" vlink="#0000FF">
  71. $fs<font size=3><center><b>Appearance Manager</b></center></font>
  72. <hr>
  73. <table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#d0d0d0>
  74. <table cellpadding=5 cellspacing=0><tr>
  75. <#foreach $barid (@menubar)#>
  76.     <#if $general->{menu} == $barid->{number}#>
  77.         <td class="selected">
  78.     <#else#>
  79.         <td class="unselected">
  80.     <#endif#>
  81.     <a class="bar" href="$general->{url}&menu=$barid->{number}">$barid->{name}</a>
  82.     </td>
  83. <#endloop#>
  84. </tr></table>
  85. </td></tr></table>
  86. <hr>
  87.  
  88. <#if $general->{menu} == 0#>
  89.     <form action="$cgiurl" method="post">
  90.     <input type=hidden name="username" value="$general->{username}">
  91.     <input type=hidden name="menu" value="0">
  92.     <div class="surround">
  93.         {#if $browser->{ieX}#}<p class="blbar">Title Words</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Title Words</font></font></td></tr></table>{#endif#}
  94.         <p>
  95.         Many skins allow you to put a few words in large letters at the top of your topics page.
  96.         Generally, this should be the title of your board, or the word "Topics".  To change the
  97.         title words, enter new title words here.
  98.         </p>
  99.         <p>
  100.           <input type=text name="msg" size="50" value="<#form escape "$texts->{title_words}"#>">
  101.         </p>
  102.         <p>
  103.           <input type=submit value="Save Title Words">
  104.         </p>
  105.         <input type=hidden name="action" value="appear_bigtitle">
  106.     </div>
  107.     </form>
  108.     <form action="$cgiurl" method="post">
  109.     <input type=hidden name="username" value="$general->{username}">
  110.     <input type=hidden name="menu" value="0">
  111.     <input type=hidden name="action" value="appear_title">
  112.     <div class="surround">
  113.         {#if $browser->{ieX}#}<p class="blbar">Title Message</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Title Message</font></font></td></tr></table>{#endif#}
  114.         <p>
  115.         The <b>title message</b> appears <i>above</i> your list of topics.
  116.         To change the title message, enter a new one in the box below.
  117.         </p>
  118.         <p>
  119.           <textarea name="msg" rows=7 cols=50 wrap=virtual>$texts->{title}</textarea>
  120.         </p>
  121.         <p>
  122.           <input type=checkbox name="hr" value=1{#if $hr->{title} == 1#} checked{#endif#}> <hr> below title message
  123.         </p>
  124.         <p>
  125.           <input type=submit value="Preview/Save Title Message">
  126.         </p>
  127.         <input type=hidden name="preview" value="1">
  128.     </div>
  129.     </form>
  130.     <form action="$cgiurl" method="post">
  131.     <input type=hidden name="username" value="$general->{username}">
  132.     <input type=hidden name="menu" value="0">
  133.     <input type=hidden name="action" value="appear_main">
  134.     <div class="surround">
  135.         {#if $browser->{ieX}#}<p class="blbar">Main Message</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Main Message</font></font></td></tr></table>{#endif#}
  136.         <p>
  137.         The <b>main message</b> appears <i>below</i> your list of topics.
  138.         To change the main message, enter a new one in the box below.
  139.         </p>
  140.         <p>
  141.           <textarea name="msg" rows=7 cols=50 wrap=virtual>$texts->{main}</textarea>
  142.         </p>
  143.         <p>
  144.           <input type=checkbox name="hr" value=1{#if $hr->{main} == 1#} checked{#endif#}> <hr> above main message
  145.         </p>
  146.         <p>
  147.           <input type=submit value="Preview/Save Main Message">
  148.         </p>
  149.         <input type=hidden name="preview" value="1">
  150.     </div>
  151.     </form>
  152.     </body></html>
  153.     <#exit#>
  154. <#endif#>
  155.  
  156. <#if $general->{menu} == 1#>
  157.     <form action="$cgiurl" method=post name="cf">
  158.     <input type=hidden name="username" value="$general->{username}">
  159.     <input type=hidden name="action" value="appear_colors">
  160.     <div class="surround">
  161.         {#if $browser->{ieX}#}<p class="blbar">Discussion Board Colors/Font/Background</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Discussion Board Colors/Font/Background</font></font></td></tr></table>{#endif#}
  162.         <p>
  163.         Choose the colors, font, and background that will be applied to your discussion
  164.         board.  If you do wish to use a background image, use the full URL to that image.
  165.         </p>
  166.         <ul>
  167.             <table bgcolor="#000080" cellpadding="0" cellspacing="0">
  168.             <tr>
  169.             <td>
  170.             <table cellpadding=4 width="100%" cellspacing=1>
  171.             <tr bgcolor="#ffffff">
  172.             <td class="eb" align=left>Color/Setting</td>
  173.             <td class="eb" align=left colspan=2>Selection</td>
  174.             </tr>
  175.             <tr bgcolor="#ffffff">
  176.             <td class="enb">Background Color:</td>
  177.             <td bgcolor="$color->{bgcolor}" class="enb"><input type=text class="colbox" size=7 name="bgcolor" value="$color->{bgcolor}">  </td>
  178.             <td class="enb"><a href="#" onClick="window.open('$cgiurl?action=color&formname=cf&field=bgcolor&forwhat=<#escape "the background color"#>', 'colwheel', 'width=525,height=300,resizable=yes,scrollbars=yes'); return false;">Chart</a></td>
  179.             </tr>
  180.             <tr bgcolor="#ffffff">
  181.             <td class="enb">Text Color:</td>
  182.             <td bgcolor="$color->{text}" class="enb"><input type=text class="colbox" size=7 name="text" value="$GLOBAL_OPTIONS{COLOR_text}">  </td>
  183.             <td class="enb"><a href="#" onClick="window.open('$cgiurl?action=color&formname=cf&field=text&forwhat=<#escape "the text color"#>', 'colwheel', 'width=525,height=300,resizable=yes,scrollbars=yes'); return false;">Chart</a></td>
  184.             </tr>
  185.             <tr bgcolor="#ffffff">
  186.             <td class="enb">Unvisited Link Color:</td>
  187.             <td bgcolor="$color->{link}" class="enb"><input type=text class="colbox" size=7 name="link" value="$GLOBAL_OPTIONS{COLOR_link}">  </td>
  188.             <td class="enb"><a href="#" onClick="window.open('$cgiurl?action=color&formname=cf&field=link&forwhat=<#escape "the unvisited link color"#>', 'colwheel', 'width=525,height=300,resizable=yes,scrollbars=yes'); return false;">Chart</a></td>
  189.             </tr>
  190.             <tr bgcolor="#ffffff">
  191.             <td class="enb">Visited Link Color:</td>
  192.             <td bgcolor="$color->{vlink}" class="enb"><input type=text class="colbox" size=7 name="vlink" value="$GLOBAL_OPTIONS{COLOR_vlink}">  </td>
  193.             <td class="enb"><a href="#" onClick="window.open('$cgiurl?action=color&formname=cf&field=vlink&forwhat=<#escape "the visited link color"#>', 'colwheel', 'width=525,height=300,resizable=yes,scrollbars=yes'); return false;">Chart</a></td>
  194.             </tr>
  195.             <tr bgcolor="#ffffff">
  196.             <td class="enb">Active Link Color:</td>
  197.             <td bgcolor="$color->{alink}" class="enb"><input type=text class="colbox" size=7 name="alink" value="$GLOBAL_OPTIONS{COLOR_alink}">  </td>
  198.             <td class="enb"><a href="#" onClick="window.open('$cgiurl?action=color&formname=cf&field=alink&forwhat=<#escape "the active link color"#>', 'colwheel', 'width=525,height=300,resizable=yes,scrollbars=yes'); return false;">Chart</a></td>
  199.             </tr>
  200.             <tr bgcolor="#ffffff">
  201.             <td class="enb">Font Face:</td>
  202.             <td colspan=2 class="enb"><input type=text class="colbox" size=40 name="face" value="$color->{face}"></td>
  203.             </tr>
  204.             <tr bgcolor="#ffffff">
  205.             <td class="enb">Font Size:</td>
  206.             <td colspan=2><input type=text class="colbox" size=3 name="size" value="$color->{size}"></td>
  207.             </tr>
  208.             <tr bgcolor="#ffffff">
  209.             <td class="enb">Background Image URL:</td>
  210.             <td colspan=2><input type=text class="colbox" size=40 name="image" value="{#if $GLOBAL_OPTIONS{COLOR_image} eq "0"#}{#else#}$GLOBAL_OPTIONS{COLOR_image}{#endif#}"></td>
  211.             </tr>
  212.             </table>
  213.             </td></tr></table>
  214.             <p>
  215.             <input type=submit value="Preview/Save Color Scheme">
  216.             </p>
  217.         </ul>
  218.     </div>
  219.     </form>
  220.  
  221.     <form action="$cgiurl" method=post name="af">
  222.     <input type=hidden name="username" value="$general->{username}">
  223.     <input type=hidden name="action" value="appear_altcolors">
  224.     <div class="surround">
  225.         {#if $browser->{ieX}#}<p class="blbar">Alternating Colors</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Alternating Colors</font></font></td></tr></table>{#endif#}
  226.         <p>
  227.         Most skins use alternating colors.  Select alternating colors here.
  228.         </p>
  229.         <ul>
  230.             <table bgcolor="#000080" cellpadding="0" cellspacing="0">
  231.             <tr>
  232.             <td>
  233.             <table cellpadding=4 width="100%" cellspacing=1>
  234.             <tr bgcolor="#ffffff">
  235.             <td class="eb" align=center>#</td>
  236.             <td class="eb" align=center colspan=2>Color Selection</td>
  237.             <td class="eb">Used For</td>
  238.             </tr>
  239.             <#foreach $color (@altcolor_array)#>
  240.                 <tr bgcolor="#ffffff">
  241.                 <td align=center class="enb">$color->{number}</td>
  242.                 <td bgcolor="$color->{color}" class="enb">  <input class="colbox" type=text name="alt_color_$color->{number}" value="$color->{color}" size=7>  </td>
  243.                 <td  class="enb"><a href="#" onClick="window.open('$cgiurl?action=color&formname=af&field=alt_color_$color->{number}&forwhat=<#escape "alternating color $color->{number}"#>', 'colwheel', 'width=525,height=300,resizable=yes,scrollbars=yes'); return false">Chart</a></td>
  244.                 <#define $skinvar = "_alt_color_$color->{number}"#>
  245.                 <#if $skin->{$skinvar} eq ""#>
  246.                     <td class="ess">(No information given in skin)</td>
  247.                 <#else#>
  248.                     <td class="ess">$skin->{$skinvar}</td>
  249.                 <#endif#>
  250.                 </tr>
  251.             <#endloop#>
  252.             </table>
  253.             </td></tr></table>
  254.             <p>
  255.             <input type=submit value="Save Alternating Colors">
  256.             </p>
  257.  
  258.         </ul>
  259.     </div>
  260. <#endif#>
  261.  
  262. <#if $general->{menu} == 2#>
  263.     <#if $stuff->{saved} == 1#>
  264.         <table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
  265.         <b>Note:</b> Successfully saved user interface setting
  266.         </font></td></tr></table>
  267.     <#endif#>
  268.     <#if $stuff->{saved} == 2#>
  269.         <table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
  270.         <b>Note:</b> Successfully saved frames vs. no-frames setting
  271.         </font></td></tr></table>
  272.     <#endif#>
  273.  
  274.     <form action="$cgiurl" method="post">
  275.     <input type=hidden name="username" value="$general->{username}">
  276.     <input type=hidden name="menu" value="2">
  277.     <input type=hidden name="action" value="appear_interface">
  278.     <div class="surround">
  279.         {#if $browser->{ieX}#}<p class="blbar">Topics Page</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Topics Page</font></font></td></tr></table>{#endif#}
  280.  
  281. #        <p>
  282. #        Choose whether you want to generate the documentation pages and layout of the user
  283. #        interface from static files or from interpreted templates.  Read the administration
  284. #        instructions for this interface for a description of when you might want to use each
  285. #        of these settings.
  286. #        </p>
  287. #        <ul>
  288. #        <p>
  289. #        Generate user interface from:
  290. #            <select name="ui_from" size=1>
  291. #            <option value="0"{#if $GLOBAL_OPTIONS{use_static_ui_documents} == 0#} selected{#endif#}>Templates and Skins</option>
  292. #            <option value="1"{#if $GLOBAL_OPTIONS{use_static_ui_documents} == 1#} selected{#endif#}>Static HTML Files</option>
  293. #            </select>
  294. #        </p>
  295. #        </ul>
  296.         <input type=hidden name="ui_from" value="1">
  297.  
  298.         <p>
  299.         You can improve performance of your board if users access the topics page as a
  300.         static file rather than a generated file.  However, this eliminates the possibility
  301.         to use security features that hide topics that users are not authorized to read.
  302.         Consult the administration instructions before changing this setting, especially
  303.         if you are using an option to restrict access to the board or displaying only
  304.         those topics a user is permitted to read.
  305.         </p>
  306.         <ul>
  307.             Have users retrieve topics page from:
  308.             <select name="ui_topics_from" size=1>
  309.             <option value="0"{#if $GLOBAL_OPTIONS{use_static_topic_document} == 0#} selected{#endif#}>Template/Skin</option>
  310.             <option value="1"{#if $GLOBAL_OPTIONS{use_static_topic_document} == 1#} selected{#endif#}>Static HTML File</option>
  311.             </select>
  312.         <p>
  313.         <input type="submit" value="Save Setting">
  314.         </p>
  315.         </ul>
  316.     </div>
  317.     </form>
  318.     <form action="$cgiurl" method="post">
  319.     <input type=hidden name="username" value="$general->{username}">
  320.     <input type=hidden name="menu" value="2">
  321.     <input type=hidden name="action" value="appear_frames">
  322.     <div class="surround">
  323.         {#if $browser->{ieX}#}<p class="blbar">Frames</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Frames</font></font></td></tr></table>{#endif#}
  324.         <p>
  325.         Most skins have support for frames vs. no-frames built in.  Read the
  326.         administration instructions for this interface for a complete explanation of
  327.         what this setting does, and also for troubleshooting guidance if necessary.
  328.         </p>
  329.         <ul>
  330.         <p>
  331.         Show User Interface with:
  332.             <select name="ui_from" size=1>
  333.             <option value="0"{#if $GLOBAL_OPTIONS{use_no_frames} == 0#} selected{#endif#}>Frames</option>
  334.             <option value="1"{#if $GLOBAL_OPTIONS{use_no_frames} == 1#} selected{#endif#}>No Frames</option>
  335.             </select>
  336.         </p>
  337.         <p>
  338.         <input type="submit" value="Save Setting">
  339.         </p>
  340.         </ul>
  341.     </div>
  342.     </form>
  343.     </body></html>
  344.     <#exit#>
  345. <#endif#>
  346.  
  347. <#if $general->{menu} == 3#>
  348.  
  349.     <#if $stuff->{skinsdel} ne ""#>
  350.         <table width=100% bgcolor=#ccffcc border=0><tr><td>$fs
  351.         <b>Note:</b> Successfully deleted $stuff->{skinsdel} skin{#if $stuff->{skinsdel} != 1#}s{#endif#}</font></td></tr></table>
  352.         <p></p>
  353.     <#endif#>
  354.  
  355.  
  356.     <form action="$cgiurl" method=post>
  357.     <input type=hidden name="username" value="$general->{username}">
  358.     <input type=hidden name="action" value="appear_skinsel">
  359.     <div class="surround">
  360.         {#if $browser->{ieX}#}<p class="blbar">Skin Selection</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Skin Selection</font></font></td></tr></table>{#endif#}
  361.         <p>
  362.         This section allows you to select an appearance skin for your discussion board.
  363.         If you plan to customize templates or skins, be sure you read the administration
  364.         instructions for Appearance Manager, and relevant documentation from the
  365.         DiscusWare web site.
  366.         </p>
  367.         <p>
  368.         <table border=0 cellpadding=0 cellspacing=0 width=98%>
  369.         <tr><td bgcolor="#000000">
  370.         <table cellpadding=3 cellspacing=1 border=0>
  371.         <tr bgcolor=#ffffcc>
  372.         <td> </td>
  373.         <td class="eb">File Name</td>
  374.         <td class="eb">Skin Name</td>
  375.         <td class="eb">Description</td>
  376.         </tr>
  377.         <#foreach $skin (@skin)#>
  378.             <tr bgcolor="<#pick color $skin->{_iteration} from @skin_alt (1,2)#>">
  379.             <td valign=top><input type=radio name=skname value="$skin->{skinfile}"{#if $GLOBAL_OPTIONS{skinchoice} eq $skin->{skinfile}#} checked{#endif#} onClick="document.forms[0].myskin.value = '$skin->{skinfile}'"></td>
  380.             <td width=75 valign=top class="es">$skin->{skinfile}</td>
  381.             <td width=100 valign=top class="es">$skin->{Name}</td>
  382.             <td valign=top class="es">$skin->{Description}</td>
  383.             </tr>
  384.         <#endloop#>
  385.         </table>
  386.         </td></tr></table>
  387.         </p>
  388.         <p align=center>
  389.         <input type=button value="Preview Skin" onclick="var newwin = window.open('$cgiurl?action=appear_prevskin&username=$general->{username}&template=' + document.forms[0].myskin.value, 'previewer', 'resizable,status,menubar,scrollbars,width=650,height=495');">
  390.         <input type=submit name=submit value="Save and Apply">
  391.         </p>
  392.         <input type=hidden name="myskin" value="$GLOBAL_OPTIONS{skinchoice}">
  393.     </div>
  394.     </form>
  395.  
  396.     <div class="surround">
  397.         {#if $browser->{ieX}#}<p class="blbar">DiscusWare's Skin Gallery</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>DiscusWare's Skin Gallery</font></font></td></tr></table>{#endif#}
  398.         <p>
  399.         This section allows you to browse the Discus Template/Skin Gallery (on
  400.         DiscusWare's site).  If you see any skins you like, you can click the
  401.         "Download" button.  The skin will then automatically be transferred to
  402.         your board and saved as an available skin.
  403.         </p>
  404.         <p align=center>
  405.         <a href="#" onClick="window.open('http://skins.discusware.com/browse?url=<#escape "$cgiurl"#>&username=$general->{username}&version=$release&pro=$pro', 'newwin', 'width=600,height=550,resizable,scrollbars=yes,status=yes,toolbar=yes'); return false;">Browse Skin Gallery</a>
  406.         </p> 
  407.     </div>
  408.  
  409.     <form action="$cgiurl" method=post name="skindel">
  410.     <input type=hidden name="username" value="$general->{username}">
  411.     <input type=hidden name="action" value="appear_skindel">
  412.     <input type=hidden name="dels" value="">
  413.     <div class="surround">
  414.         {#if $browser->{ieX}#}<p class="blbar">Uninstall Skins</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Uninstall Skins</font></font></td></tr></table>{#endif#}
  415.         <p>
  416.         This section allows you to remove skins from your system.  This will remove both
  417.         the skin file itself and any icons associated with that particular skin.  This
  418.         operation cannot be undone (unless you find the skin again and reinstall it).
  419.         </p>
  420.         <ul>
  421.             <table bgcolor="#000000" cellpadding=0 cellspacing=0><tr><td>
  422.                 <table cellpadding=3 cellspacing=1 border=0>
  423.                 <tr bgcolor="#ffffcc">
  424.                 <td class="eb">Mark</td>
  425.                 <td class="eb">Del</td>
  426.                 <td class="eb">Skin File</td>
  427.                 <td class="eb">Skin Name</td>
  428.                 </tr>
  429.                 <#foreach $skin (@skin2)#>
  430.                     <tr bgcolor="<#pick color $skin->{_iteration} from @skin_alt (1,2)#>">
  431.                     <td align=center><input type=checkbox name="delskin" value="$skin->{skinfile}"{#if $GLOBAL_OPTIONS{skinchoice} eq $skin->{skinfile}#}disabled{#endif#}></td>
  432.                     <td align=center><a href="#" onClick="return dskin('$skin->{skinfile}');"><img src="$icon_url/delete_icon.gif" height=25 width=25 border=0></a></td>
  433.                     <td class="enb">$skin->{skinfile}</td>
  434.                     <td class="enb">$skin->{Name}</td>
  435.                     </tr>
  436.                 <#endloop#>
  437.                 <tr bgcolor="#f7f7f7">
  438.                 <td class="eb"> </td>
  439.                 <td align=center><a href="#" onClick="return dskin('*');"><img src="$icon_url/delete_icon.gif" height=25 width=25 border=0></a></td>
  440.                 <td class="enb" colspan=2>(All marked skins)</td>
  441.                 </tr>
  442.                 </table>
  443.             </td></tr></table>
  444.         </ul>
  445.     </div>
  446.     </form>
  447. <#endif#>
  448.  
  449. <#if $general->{menu} == 4#>
  450.     <form action="$cgiurl" method=post>
  451.     <input type=hidden name="username" value="$general->{username}">
  452.     <input type=hidden name="action" value="appear_skinsel">
  453.     <div class="surround">
  454.         {#if $browser->{ieX}#}<p class="blbar">File/Skin Editor</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>File/Skin Editor</font></font></td></tr></table>{#endif#}
  455.         <p>
  456.         This section allows you to edit configuration files, skins, and templates that
  457.         control the operation of your board.
  458.         </p>
  459.         <p>
  460.         <font color="#ff0000"><b>WARNING! No verification of your changes is performed.
  461.         You can break or corrupt your board by editing files or skins improperly.  DiscusWare
  462.         will provide NO ASSISTANCE WHATSOEVER if you experience problems because you have
  463.         modified files.</b></font>
  464.         </p>
  465. <#define array @editfiles(filename,descr)#>
  466. <#if pro#>    attachments.conf    Recognized MIME types for attachment uploading
  467. charconvert.conf    Character conversion settings
  468. discus.conf    Configuration variables for Discus program
  469. htmlconvert.conf    Configuration for HTML to formatting tags conversion
  470. language.conf    Language in dynamic user interface screens
  471. <#if pro#>    language_pro.conf    Language in dynamic user interface screens (specific to Discus Pro)
  472. lang40.conf    Language in dynamic user interface screens (new in 4.0)
  473. stopwords.conf    "Stop Words" for the search engine
  474. webtags.conf    Formatting tags
  475. <#/define#>
  476.         <p>
  477.         <table border=0 cellpadding=0 cellspacing=0 width=98%><tr><td bgcolor="#000000">
  478.         <table border=0 cellpadding=2 cellspacing=1 width=100%>
  479.         <tr bgcolor=#ffffcc>
  480.         <td class=eb>File</td>
  481.         <td colspan=2 class=eb>Function</td>
  482.         </tr>
  483.         <#foreach $file (@editfiles)#>
  484.             <tr bgcolor="<#pick color $file->{_iteration} from @skin_alt (1,2)#>">
  485.             <td valign=top class=enb><a href="#" onClick="newwin('$file->{filename}')">$file->{filename}</a></td>
  486.             <td valign=top colspan=2 class=enb>$file->{descr}</td>
  487.             </tr>
  488.         <#endloop#>
  489.         <tr bgcolor=#ccffcc>
  490.         <td class=eb>Skin File</td>
  491.         <td colspan=2 class=eb>Skin Name</td>
  492.         </tr>
  493.         <#foreach $skin (@skin)#>
  494.             <tr bgcolor="<#pick color $skin->{_iteration} from @skin_alt (1,2)#>">
  495.             <td valign=top class=enb>\
  496. #            <a href="#" onClick="return valwin('skins/$skin->{skinfile}');"><img src="$icon_url/mark_ins.gif" height=12 width=12 alt="Analyze/Validate" border=0></a> \
  497.             <a href="#" onClick="return newskwin('skins/$skin->{skinfile}');">$skin->{skinfile}.tmpl</a></td>
  498.             <td valign=top colspan=2 class=enb>$skin->{Name}</td>
  499.             </tr>
  500.         <#endloop#>
  501.         <tr bgcolor=#ffcccc>
  502.         <td class=eb>Template File</td>
  503.         <td class=eb>Directory</td>
  504.         <td class=eb>Description</td>
  505.         </tr>
  506.         <#foreach $template (@templates)#>
  507.             <tr bgcolor="<#pick color $skin->{_iteration} from @skin_alt (1,2)#>">
  508.             <td valign=top class=enb>\
  509. #            <a href="#" onClick="return valwin('template/$template->{dir}/$template->{file}');"><img src="$icon_url/mark_ins.gif" height=12 width=12 alt="Analyze/Validate" border=0></a> \
  510.             <a href="#" onClick="return newwin('template/$template->{dir}/$template->{file}');">$template->{file}.tmpl</a></td>
  511.             <td valign=top class=enb>$template->{dir}</td>
  512.             <td valign=top class=enb>$template->{descr}</td>
  513.             </tr>
  514.         <#endloop#>
  515.  
  516.  
  517.         </table>
  518.         </td></tr></table>
  519.         </p>
  520.          
  521.     </div>
  522. <#endif#>
  523.  
  524. <#if $general->{menu} == 5#>
  525.     <form action="$cgiurl" method=post>
  526.     <input type=hidden name="username" value="$general->{username}">
  527.     <input type=hidden name="action" value="appear_regen">
  528.     <div class="surround">
  529.         {#if $browser->{ieX}#}<p class="blbar">Regeneration</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Regeneration</font></font></td></tr></table>{#endif#}
  530.         <#if $stuff->{regen_taskman}#>
  531.             <p>
  532.             <b>Regeneration Task Submitted</b>
  533.             </p>
  534.             <p>
  535.             The board will be regenerated via the task manager.  You should see the
  536.             effects of your changes shortly upon visiting the pages in your board.
  537.             </p>
  538.         <#endif#>
  539.         <p>
  540.         <#if $stuff->{regen_recommended}#>
  541.             To apply your saved settings, it is now necessary to regenerate the pages
  542.             on your board.  Unless you have a very good reason, leave "All Topics" selected
  543.             and click the "Regenerate Board" button below.
  544.         <#else#>
  545.             This section allows you to regenerate the pages on your discussion board.  This
  546.             is useful if you have modified template files, changed colors, or changed the URL
  547.             of your board.
  548.         <#endif#>
  549.         </p>
  550.         <ul>
  551.             <table>
  552.                 <tr>
  553.                 <td>$fs Regenerate:</font></td>
  554.                 <td><select name="topic">
  555.                 <option value="TPC">Topic Page Only</option>
  556.                 <option value="ALL" selected>All Topics</option>
  557.                 <#foreach $topic (@topics)#>
  558.                     <#if $topic->{type} != 2#><option value="$topic->{number}">$topic->{name}</option>
  559.                 <#endloop#>
  560.                 </select></td></tr>
  561.                 <#if $stuff->{regen_recommended} == 0#>
  562.                     <tr>
  563.                     <td valign=top><input type=checkbox name="chgurl" value=1>$fs Change URL from:</font></td>
  564.                     <td valign=top><input type=text name=oldurl value="" size=35></td></tr>
  565.                 <#endif#>
  566.             </table>
  567.             <p>
  568.             <input type=submit value="Regenerate Board">
  569.             </p>
  570.         </ul>
  571.     </div>
  572.     </form>
  573. <#endif#>
  574. </font></font></body></html>
  575.  
  576. <!--END-->
  577.