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 >
Wrap
Text File
|
2009-11-06
|
4KB
|
100 lines
# FILE: newskin.tmpl
# DESCRIPTION: Receiving a new skin from skin gallery
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<html><head><title>Discus Skin Gallery Interface</title>
<style>
td.unselected {font: bold 9pt verdana,arial,helvetica; background-color: #d0d0d0}
td.selected {font: bold 9pt verdana,arial,helvetica; background-color: #f7f757}
td.ub {font: bold 8pt verdana,arial,helvetica}
td.unb {font: 8pt verdana,arial,helvetica}
td.eb {font: bold 9pt verdana,arial,helvetica}
td.enb {font: 9pt verdana,arial,helvetica}
td.es {font: 8pt verdana,arial,helvetica}
a.bar {text-decoration: none}
p { margin-left: 2pt; }
p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
.surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
.normal {font: 10pt verdana,arial,helvetica}
.comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" vlink="#0000FF">
$fs<font size=3><center><b>Discus Skin Gallery Interface</b></center></font>
<hr>
<#if $general->{needs_new_filename} == 1#>
<p>
<font color="#ff0000"><b>NOTE:</b> The selected skin file name is already taken.
Please choose a new file name or check the box to confirm that you wish to overwrite
the existing skin.</font>
</p>
<#endif#>
<#if $general->{error_size} == 1#>
<p>
<font color="#ff0000"><b>ERROR:</b> The skin file you attempted to save had the wrong
size. Check your disk quota on this board and then try again.</font>
</p>
<#endif#>
<#if $general->{error_permissions} == 1#>
<p>
<font color="#ff0000"><b>ERROR:</b> The skin file you attempted to save could not be
written. Check to see that you have permissions set correctly on the 'skins' directory
(should be 0777: rwxrwxrwx on unix, or 'FULL CONTROL' on Windows).</font>
</p>
<#endif#>
<#if $general->{completed} == 1#>
<p>
<font color="#00aa00"><b>Success!</b></font>
</p>
<p>
The skin file was successfully saved. It will now appear under the "Skins" tab of the
Appearance Manager. You may now <a href="#" onClick="self.close()">close this window</a>.
</p>
</font></body></html>
<#exit#>
<#endif#>
<form action="$cgiurl" method="post">
<input type=hidden name="username" value="$general->{username}">
<input type=hidden name="action" value="appear_skinupload">
<input type=hidden name="content" value="$general->{dumpstr}">
<input type=hidden name="checksum" value="$general->{checksum}">
<input type=hidden name="slength" value="$general->{slength}">
<input type=hidden name="other_data" value="$general->{other_data}">
<div class="surround">
{#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#}
<p>
Please confirm that the file name is correct for the skin you wish to save. You can give
the skin a different file name if you wish.
</p>
<table>
<tr>
<td class="eb">File Name:</td>
<td><input type=text size=15 value="<#form escape "$general->{skin}"#>" name="skin"></td>
</tr>
<#if $general->{needs_new_filename} == 1#>
<tr>
<td class="eb">Overwrite:</td>
<td class="enb"><input type=checkbox name="overwrite" value="1"> Check box to overwrite existing skin</td>
</tr>
<#endif#>
</table>
<p>
<input type=submit value="Save Skin">
</p>
<input type=hidden name="confirm" value="1">
</div>
</font></font></body></html>
<!--END-->