<html>

<head>
<title>Gossamer Links Email: Edit Newsletter Template</title>
</head>

<body bgcolor=white>

<form method=post action="admin.cgi">

<table border=1 cellpadding=0 cellspacing=0 width=500><tr><td>
  <table width="100%">
    <tr>
      <td align=left bgColor=navy><font face=Arial color="#ffffff" size=2><b>Email:
        Edit Newsletter Template</b></font></td>
    </tr>
    <tr>
      <td>
        <p><center><font face=Arial color="#000000" size=2><b>Edit Newsletter Template</b></font></center></p>
        <p><font face="Tahoma,Arial,Helvetica" size=2>Change the template for the newsletter<br>
	&nbsp;</font></p>
      </td>
    </tr>
  </table>
  </td></tr>
</table>

<br>
<%if bad_email%>

<table border=1 cellpadding=0 cellspacing=0 width=500>
  <tr>
    <td width="100%">
      <table border=0 cellpadding=3>
        <tr>
	  <td align=center>
	    <font face="Tahoma,Arial,Helvetica" size=2>
	      <font color=red>All fields must be entered as well as have a valid e-mail address entered. Correct it before saving the template.</font>
	    </font>
	  </td>
	</tr>
      </table>
    </td>
  </tr>
</table>

<br>
<%endif%>

<table border=1 cellpadding=0 cellspacing=0 width=500>
  <tr>
    <td width="100%">
      <table border=0 cellpadding=3>
	<tr>
	  <td>
<table border=0 cellpadding=2 cellspacing=3 width="100%">
  <tr>
    <td width="15%">
      <font face="Tahoma,Arial,Helvetica" size=2>From (name):</font>
    </td>
    <td width="85%">
      <input type=text name=fromname value="<%fromname%>">
    </td>
  </tr>
  <tr>
    <td>
      <font face="Tahoma,Arial,Helvetica" size=2>From (email):</font>
    </td>
    <td>
      <input type=text name=from value="<%from%>">
    </td>
  </tr>
  <tr>
    <td>
      <font face="Tahoma,Arial,Helvetica" size=2>Subject:</font>
    </td>
    <td>
      <input type=text name=subject value="<%subject%>">
    </td>
  </tr>
  <tr>
    <td>
      <font face="Tahoma,Arial,Helvetica" size=2>Message format:</font>
    </td>
    <td>
      <select name=messageformat><%messageformat%></textarea>
    </td>
  </tr>
  <tr>
    <td>
      <font face="Tahoma,Arial,Helvetica" size=2>Message:</font>
    </td>
    <td>
      <textarea name=message cols=47 rows=8><%message%></textarea>
    </td>
  </tr>
  <tr>
    <td>
      <font face="Tahoma,Arial,Helvetica" size=2>Newsitem Template:</font>
    </td>
    <td>
      <textarea name=template cols=47 rows=8><%template%></textarea>
    </td>
  </tr>
  <tr>
</table>

	  </td>
	</tr>
      </table>
    </td>
  </tr>
</table>

<br>

<table border=1 cellpadding=0 cellspacing=0>
  <tr>
    <td align=center>
      <table border=0 width=500>
	<tr>
	  <td align=center>
	    <center><font face="Tahoma,Arial,Helvetica" size=2 color="#000000">
<input type=hidden name=newslettermessage value=1>
<input type=hidden name=action value=email_newsletter_save_template>
<input type=submit value="Save Newsletter Template">
	    </font></center>
	  </td>
	</tr>
      </table>
    </td>
  </tr>
</table>

</body>

</form>

</html>
