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

  1. # FILE: newskin.tmpl
  2. # DESCRIPTION: Receiving a new skin from skin gallery
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7.  
  8. <html><head><title>Discus Skin Gallery Interface</title>
  9. <style>
  10. td.unselected {font: bold 9pt verdana,arial,helvetica; background-color: #d0d0d0}
  11. td.selected {font: bold 9pt verdana,arial,helvetica; background-color: #f7f757}
  12. td.ub {font: bold 8pt verdana,arial,helvetica}
  13. td.unb {font: 8pt verdana,arial,helvetica}
  14. td.eb {font: bold 9pt verdana,arial,helvetica}
  15. td.enb {font: 9pt verdana,arial,helvetica}
  16. td.es {font: 8pt verdana,arial,helvetica}
  17. a.bar {text-decoration: none}
  18. p { margin-left: 2pt; }
  19. p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
  20. .surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
  21. .normal {font: 10pt verdana,arial,helvetica}
  22. .comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
  23. </style>
  24.  
  25. </head>
  26. <body bgcolor="#ffffff" text="#000000" link="#0000FF" vlink="#0000FF">
  27. $fs<font size=3><center><b>Discus Skin Gallery Interface</b></center></font>
  28. <hr>
  29.  
  30. <#if $general->{needs_new_filename} == 1#>
  31.     <p>
  32.     <font color="#ff0000"><b>NOTE:</b>  The selected skin file name is already taken.
  33.     Please choose a new file name or check the box to confirm that you wish to overwrite
  34.     the existing skin.</font>
  35.     </p>
  36. <#endif#>
  37.  
  38. <#if $general->{error_size} == 1#>
  39.     <p>
  40.     <font color="#ff0000"><b>ERROR:</b>  The skin file you attempted to save had the wrong
  41.     size.  Check your disk quota on this board and then try again.</font>
  42.     </p>
  43. <#endif#>
  44.  
  45. <#if $general->{error_permissions} == 1#>
  46.     <p>
  47.     <font color="#ff0000"><b>ERROR:</b>  The skin file you attempted to save could not be
  48.     written.  Check to see that you have permissions set correctly on the 'skins' directory
  49.     (should be 0777: rwxrwxrwx on unix, or 'FULL CONTROL' on Windows).</font>
  50.     </p>
  51. <#endif#>
  52.  
  53. <#if $general->{completed} == 1#>
  54.     <p>
  55.     <font color="#00aa00"><b>Success!</b></font>
  56.     </p>
  57.     <p>
  58.     The skin file was successfully saved.  It will now appear under the "Skins" tab of the
  59.     Appearance Manager.  You may now <a href="#" onClick="self.close()">close this window</a>.
  60.     </p>    
  61.     </font></body></html>
  62.     <#exit#>
  63. <#endif#>
  64.  
  65. <form action="$cgiurl" method="post">
  66. <input type=hidden name="username" value="$general->{username}">
  67. <input type=hidden name="action" value="appear_skinupload">
  68. <input type=hidden name="content" value="$general->{dumpstr}">
  69. <input type=hidden name="checksum" value="$general->{checksum}">
  70. <input type=hidden name="slength" value="$general->{slength}">
  71. <input type=hidden name="other_data" value="$general->{other_data}">
  72.  
  73. <div class="surround">
  74.     {#if $browser->{ieX}#}<p class="blbar">Save Skin File</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Save Skin File</font></font></td></tr></table>{#endif#}
  75.     <p>
  76.     Please confirm that the file name is correct for the skin you wish to save.  You can give
  77.     the skin a different file name if you wish.
  78.     </p>
  79.     <table>
  80.     <tr>
  81.     <td class="eb">File Name:</td>
  82.     <td><input type=text size=15 value="<#form escape "$general->{skin}"#>" name="skin"></td>
  83.     </tr>
  84.     <#if $general->{needs_new_filename} == 1#>
  85.         <tr>
  86.         <td class="eb">Overwrite:</td>
  87.         <td class="enb"><input type=checkbox name="overwrite" value="1"> Check box to overwrite existing skin</td>
  88.         </tr>
  89.     <#endif#>
  90.     </table>
  91.     <p>
  92.     <input type=submit value="Save Skin">
  93.     </p>
  94.     <input type=hidden name="confirm" value="1">
  95. </div>
  96.  
  97. </font></font></body></html>
  98.  
  99. <!--END-->
  100.