<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Customise ||cust_title||</title>
</head>

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||">
<center>
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td valign="top"><img src="||nwimg||/logo.gif" alt="" /></td>
        <td>&nbsp;</td>
        <td align="center" valign="top">
		<font color="#FF0000" size="6">Customise ||my_display_name||</font></td>
        <td>&nbsp;</td>
        <td align="right" valign="top"><img src="||nwimg||/logo.gif" alt="" /></td>
    </tr>
</table>
</center>
||ifdef||error||
	<center>
	<table border="1">
		<tr>
			<td><img src="||nwimg||/attention.gif" alt="" /></td>
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||

<p>This page can be used for basic customisation of the WebMail interface.  If you want to perform more major 
customisation of WebMail then you will have to edit the template files yourself.  It is much easier to edit
the simpler Vanilla, Iconic or Marble template sets rather than the more complex Panel set.  If you do not
have a copy of these template sets then you can get them by downloading the full distribution of WebMail from:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://netwinsite.com/webmail/download2.htm">http://netwinsite.com/webmail/download2.htm</a></p>
<p>You can find more information on customising the templates at:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://netwinsite.com/webmail/webmail.htm">http://netwinsite.com/webmail/webmail.htm</a></p>

<a href="||action||?cmd=domanager&manpass=||manpass||&&">Managers Page</a>

||ifndef||manpass||
	<h3>Welcome to the Customisation Page. This is used to assist in making some basic changes to the appearance of ||my_display_name||.</h3>
	<h3>You Must Enter Your Managers Password Below</h3>
	<form action="||action||" method="post">
		<input type="hidden" name="cmd" value="custom" />

		<center>
		<input type="password" size="20" name="manpass" />
		<input type="submit" name="docustomise" size="10" value="Enter Customisation page"  />
		</center>
	</form>
	<p><b>NOTE:</b> To setup a managers password you need to add the following line to your ini file:</p>

	<pre>                managers_password xxxxx</pre>
||else||


	<form name="customise" action="||action||" method="post">
	<input type="hidden" name="manpass" value="||manpass||" />

	<input type="submit" name="docustomsave" value="Save" />
	<table border="1">
	<tr><th>Misc. Settings</th></tr>
	<tr>
		<td>
			<table>
			<tr>
				<td>Do you want to have the links that connect to Surgemail's user interface displayed (eg. "Holiday Settings", "Friends Settings", etc)?</td>
				<td>
					Yes<input type="radio" name="cust_no_surgemail_links" value="false" ||ifnequal||cust_no_surgemail_links||true||checked="checked"||endif|| />
					&nbsp;
					No<input type="radio" name="cust_no_surgemail_links" value="true" ||ifequal||cust_no_surgemail_links||true||checked="checked"||endif|| />
				</td>
			</tr>
			<tr>
				<td>Do you want to have the links that connect to GnuPGP user interface displayed (eg. "PGP Profile")?</td>
				<td>
					Yes<input type="radio" name="cust_no_pgp_links" value="false" ||ifnequal||cust_no_pgp_links||true||checked="checked"||endif|| />
					&nbsp;
					No<input type="radio" name="cust_no_pgp_links" value="true" ||ifequal||cust_no_pgp_links||true||checked="checked"||endif|| />
				</td>
			</tr>
			<tr>
				<td>Do you want the administrator information in the templates to be displayed (eg, link to the custom page)?</td>
				<td>
					Yes<input type="radio" name="cust_no_admin_links" value="false" ||ifnequal||cust_no_admin_links||true||checked="checked"||endif|| />
					&nbsp;
					No<input type="radio" name="cust_no_admin_links" value="true" ||ifequal||cust_no_admin_links||true||checked="checked"||endif|| />
				</td>
			</tr>
			</table>
		</td>
	</tr>
	<tr><th>Branding Settings</th></tr>
	<tr>
		<td>
			<table>
			<tr>
				<td>Webmail's display name (eg, mysitemail, frogmail):</td>
				<td><input type="text" name="cust_display_name" value="||cust_display_name||" /></td>
			</tr>
			<tr>
				<td>Window Title (this displays in the titlebar of ||cust_display_name|| windows):</td>
				<td><input type="text" name="cust_title" value="||cust_title||" /></td>
			</tr>

			<tr>
				<td>Logout URL:</td>
				<td><input type="text" name="cust_logout_url" value="||cust_logout_url||" /></td>
			</tr>

			<tr>
				<td>Logo URL:</td>
				<td><input type="text" name="cust_logo_url" value="||cust_logo_url||" /></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr><th>Panel Template Set Backgrounds</th></tr>
	<tr>
		<td>
			<table>
			<tr>
				<td>Panel Background image url:</td>
				<td><input type="text" name="cust_panel_background" value="||cust_panel_background||" /></td>
			</tr>
			<tr>
				<td>Panel Background color:</td>
				<td><input type="text" name="cust_panel_bgcolor" value="||cust_panel_bgcolor||" /></td>
			</tr>
			<tr>
				<td>Panel Menu Background image url:</td>
				<td><input type="text" name="cust_panel_menu_background" value="||cust_panel_menu_background||" /></td>
			</tr>
			<tr>
				<td>Panel Menu Background color:</td>
				<td><input type="text" name="cust_panel_menu_bgcolor" value="||cust_panel_menu_bgcolor||" /></td>
			</tr>
			<tr>
				<td>Panel Folder Menu Background image url:</td>
				<td><input type="text" name="cust_panel_fldbar_background" value="||cust_panel_fldbar_background||" /></td>
			</tr>
			<tr>
				<td>Panel Folder Menu Background color:</td>
				<td><input type="text" name="cust_panel_fldbar_bgcolor" value="||cust_panel_fldbar_bgcolor||" /></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr><th>Iconic Template Set Backgrounds</th></tr>
	<tr>
		<td>
			<table>
			<tr>
				<td>Iconic Background image url:</td>
				<td><input type="text" name="cust_iconic_background" value="||cust_iconic_background||" /></td>
			</tr>
			<tr>
				<td>Iconic Background color:</td>
				<td><input type="text" name="cust_iconic_bgcolor" value="||cust_iconic_bgcolor||" /></td>
			</tr>
			<tr>
				<td>Iconic Menu Background image url:</td>
				<td><input type="text" name="cust_iconic_menu_background" value="||cust_iconic_menu_background||" /></td>
			</tr>
			<tr>
				<td>Iconic Menu Background color:</td>
				<td><input type="text" name="cust_iconic_menu_bgcolor" value="||cust_iconic_menu_bgcolor||" /></td>
			</tr>
			</table>
		</td>
	</tr>
	</table>
	<input type="submit" name="docustomsave" value="Save" />
	</form>
||endif||


||ifdef||register||
	<p>If you are the system administrator of this site and you wish to register this
	copy of WebMail then you should click here ||register|| to enter order details.</p>
||endif||

<hr />
||copyright||
</body>
</html>
