<?php include 'en/admin/_adminheader.php'; ?>
<h2>Photos and Videos Page: Add a Video</h2>
<p>
	To add a video, you will need to upload the video file with
	the form below.  If you would like, you may also upload a still image
	from the video to associate with the video on the Photos and Videos page.
	Please enter a name for the video as well.  If you do
	not enter a name, the name of the video file will be used as the name.
</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/photosandvideos.php' method='post' enctype="multipart/form-data">
	<fieldset id='video_info'>
		<legend>New Video Information</legend>
		<input type='hidden' name='what' value='videos' id='what' />
		<input type='hidden' name='do' value='doadd' id='do' />
		<div class='field'>
			<label for='name'>Name</label>
			<input type='text' name='name' id='name' />
		</div>
		<div class='field'>
			<label for='imagefile'>Image file</label>
			<input type='file' name='imagefile' id='imagefile' />
		</div>
		<div class='field'>
			<label for='video'>Video file</label>
			<input type='file' name='videofile' id='videofile' />
		</div>
		<div>
			<input type='button' value='Cancel' onClick='document.location="/admin/photosandvideos.php?what=videos"' />
			<input type='submit' value='Add Video' />
		</div>
	</fieldset>
</form>
