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

<script type="text/javascript">
<!--
function add_profile(){
	document.configform.cmd.value="profile_add";
	document.configform.page.value="sendf";
	document.configform.submit();
}

//-->
</script>

</head>
<body>
<form name="configform" target="_self" enctype="multipart/form-data" method="post" action="||action||">
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="attach_id" value="||attach_id||" />
	<input type="hidden" name="to" value="||html_text||to||" />
	<input type="hidden" name="cc" value="||html_text||cc||" />
	<input type="hidden" name="bcc" value="||html_text||bcc||" />
	<input type="hidden" name="subject" value="||html_text||subject||" />
	<input type="hidden" name="reply" value="||html_text||reply||" />
	<input type="hidden" name="force_connection" value="true" />
	<input type="hidden" name="redirect" value="||redirect||" />
	<input type="hidden" name="from" value="||html_text||from||" />
	<input type="hidden" name="myuidl" value="||myuidl||" />
	<input type="hidden" name="folder" value="||folder||" />
	<input type="hidden" name="not_new" value="||not_new||" />
	<input type="hidden" name="confirm" value="||confirm||" />
	<input type="hidden" name="page" value="sigonly" />
	<input type="hidden" name="process" value="" />
	<input type="hidden" name="isbulletin" value="||isbulletin||" />
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="return_attach" value="true" />
	<input type="hidden" name="priority" value="||priority||" />
	<input type="hidden" name="content_type" value="||content_type||" />
	<input type="hidden" name="copyself" value="||copyself||" />
	<!--determine if the WYSIWYG should be displayed
	||define||wys_height||95||
	||define||wys_width||500||
	
	||define||display_wys||true||
	||ifnequal||_ns_wysiwyg||true||
		||undef||display_wys||
	||endif||
	||ifndef||show_wysiwyg||
		||undef||display_wys||
	||endif||-->
	<input type="hidden" name="_ns_wysiwyg" value="||_ns_wysiwyg||" />

	<table cellspacing="0" cellpadding="0">
	<tr>	<td align="right"><b>Profile Name:</b></td>
		<td>
                       	<input type="hidden" name="profile_name" size="12" value="||ifnempty||_default_profile||||_default_profile||||else||default||endif||" />
                        ||ifnempty||_default_profile||||_default_profile||||else||default||endif||
		</td>
	</tr>
||ifdef||display_wys||
	<tr>
		<td align="right"><b>Signature:</b></td>
		<td>
			<input type="hidden" name="msg_alternative" value="true" />
			<input type="hidden" name="pro_sig" value="||html_text||pro_sig||" />
			<script type="text/javascript">
				function salvar_html(htmlcode)
				{
					document.configform.pro_sig.value = htmlcode;
				}
		
				function do_save()
				{
					document.configform.cmd.value = "profile_add";
					document.configform.page.value = "sendf";
					document.configform.submit();
				}
				function do_wys()
				{
					document.configform.cmd.value = "profile";
					document.configform._ns_wysiwyg.value='false'; 
					document.configform.submit();
				}
		
			</script>
			||ifnempty||pro_sig||
				||define||quote_body||pro_sig||
			||endif||
			||ifdef||ie_version||
				||include||ie_htmltext.tpl||
			||else||
				||include||ns_htmltext.tpl||
			||endif||
		</td>
		<td>&nbsp;<a href="#" onclick="obj_editor=tbCE; tbCE_guardar(); do_wys(); return false;"><img border="0" src="||nwimg||/textmode.gif" name="Text Mode" alt="Text Mode" /></a></td>
	</tr>
||else||
	<tr>
		<td align="right"><b>Signature:</b></td>
		<td>
			<script type="text/javascript">
				function do_wys(){
					document.configform.cmd.value = "profile";
					document.configform._ns_wysiwyg.value='true'; 
					document.configform.submit();
				}
			</script>
			<textarea name="pro_sig" rows="8" cols="60">||begin_profile||||ifequal||_default_profile||profile_name||||pro_sig||||endif||||end_profile||</textarea>
		</td>
		||ifdef||show_wysiwyg||
			<td valign="middle">&nbsp;<a href="javascript:do_wys();"><img border="0" src="||nwimg||/wysiwyg.gif" name="wysiwyg" alt="Styletext Editor" /></a></td>
		||endif||
	</tr>
||endif||
<tr>
	<td></td>
	||ifdef||display_wys||
		<td align="center"><a href="#" onclick="obj_editor=tbCE;tbCE_guardar();do_save();return false;"><img border="0" src="||nwimg||/save.gif" alt="Save" /></a></td>
	||else||
		<td align="center"><a href="#" onclick="add_profile()"><img border="0" src="||nwimg||/save.gif" alt="Save" /></a></td>
	||endif||
</tr>
</table>

||ifdef||netscape_version||
	<div id="nsnote" style="position:absolute; visibility: hidden" >
		<table>
		<tr>	<td><b>Note: To use the Styletext 'WYSIWYG' Editor on Netscape you need to install a few Plug-in's<br />
					For more information click this link '<a href="||action||?cmd=show&amp;utoken=||utoken||&amp;page=plugin.tpl">Plugin Info</a>'</b>
			</td>
		</tr>
		</table>
	</div>
||endif||

||ifdef||display_wys||
	<script type="text/javascript">
	<!--
		wysiwyg_start();
	//-->
	</script>
||endif||

</form>
</body>
</html>