<?php include 'en/admin/_adminheader.php'; ?>
<h2>Prayer Requests Page: Add an E-mail Update</h2>
<p>
	To add an e-mail update, you will need to upload the HTML file with
	the form below.  Please enter a title and date for the e-mail update as well.  If you do
	not enter a title, the name of the file will be used as the title.
</p>
<p>
	Please note that all special characters (<>/!@#$%^&*(), for example) and spaces
	will be removed from the file name and replaced with underscores.
</p>
<form action='/admin/prayerrequests.php' method='post' enctype="multipart/form-data">
	<fieldset id='emailupdate_info'>
		<legend>New E-mail Update Information</legend>
		<input type='hidden' name='what' value='emailupdates' id='what' />
		<input type='hidden' name='do' value='doadd' id='do' />
		<div class='field'>
			<label for='title'>Title for E-mail Update</label>
			<input type='text' name='title' id='title' />
		</div>
		<div class='field'>
			<label for='date'>Date for E-mail Update</label>
			<input type='text' name='date' id='date' />
		</div>
		<div class='field'>
			<label for='file'>HTML File of E-mail Update</label>
			<input type='file' name='file' id='file' />
		</div>
		<div>
			<input type='button' value='Cancel' onClick='document.location="/admin/prayerrequests.php?what=emailupdates"' />
			<input type='submit' value='Add E-mail Update' />
		</div>
	</fieldset>
</form>
