<table width="100%" cellpadding="5" cellspacing="0" border="0">
<form action="index.php" method="post" name="edit_item" onsubmit="return false;">
<input type="hidden" name="section" value="option_sources">
<input type="hidden" name="action" value="save">
<input type="hidden" name="theme" value="<?php echo $data["theme"]; ?>">
<input type="hidden" name="source" value="<?php echo $data["source"]; ?>">
<input type="hidden" name="options_line" value="">
	<tr><td class="nav"><a href="index.php?section=home">Home</a>&nbsp;&gt;&nbsp;<a href="index.php?section=option_sources&theme=<?php echo $data["theme"]; ?>">Option Sources</a>&nbsp;&gt;&nbsp;<a href="index.php?section=option_sources&action=edit&theme=<?php echo $data["theme"]; ?>&source=<?php echo $data["source"]; ?>"><?php echo $data["name"]; ?></a></td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr><td><table cellpadding="5" cellspacing="2" border="0" align="center">
		<tr><td class="form_cell"><table cellpadding="1" cellspacing="2" border="0" align="center">
			<tr>
				<td width="14">&nbsp;</td>
				<td class="body">Name</td><td class="highlight" colspan="2"><?php
				admin_form_element ( array ("type" => "input", "name" => "name", "size" => "30", "javascript" => "style='width:190'", "value" => $data["name"]) ); 
				?></td>
				<td width="14">&nbsp;</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td class="body">New Option</td><td class="highlight"><?php
				admin_form_element ( array ("type" => "input", "name" => "new_option", "size" => "20", "javascript" => "style='width:150'") ); 
				?></td>
				<td align="center"><?php
				admin_output_image("buttons/but_add_p.gif","javascript:HS_AddItem()");
				?></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td><?php
				admin_output_image("buttons/but_up_p.gif","javascript:HS_MoveItem('up')");
				?></td>
				<td colspan="3"><?php
				admin_form_element( array ("type" => "select", "name" => "options_list", "options" => $data["options"], "size" => 10, "width" => 250, "javascript" => "onchange=\"HS_EditItem()\"") );
				?></td>
				<td><?php
				admin_output_image("buttons/but_down_p.gif","javascript:HS_MoveItem('down')");
				?></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td class="body">Edit Option</td><td class="highlight"><?php
				admin_form_element ( array ("type" => "input", "name" => "option_name", "size" => "20", "javascript" => "style='width:150'") ); 
				?></td>
				<td><table cellpadding="0" cellspacing="2" border="0">
					<tr><td><?php
					admin_form_element( array ("type" => "button", "file" => "but_edit_p.gif", "onclick" => "HS_UpdateItem()") );
					?></td><td><?php
					admin_form_element( array ("type" => "button", "file" => "but_delete_p.gif", "onclick" => "HS_DeleteItem()") );
					?></td></tr>
				</table></td>
				<td>&nbsp;</td>
			</tr>
		</table>
	</td></tr></table></td></tr>		
	<tr><td align="center"><?php		
	admin_form_element( array ("type" => "button", "value" => "Back", "link" => $data["link"]) );
	echo "&nbsp;";
	admin_form_element( array ("type" => "button", "value" => "Update", "onclick" => "HS_Submit();") );
	?></td></tr>
</form>
</table>