<table cellpadding="0" cellspacing="2" border="0" width="100%">
	<tr><td class="lined blue_bcg white_body padded" align="center" width="50%">Supported Formats</td>
	<td class="lined blue_bcg white_body padded" align="center">Settings</td></tr>
	<tr><td class="grey-lined body padded" valign="top"><table cellpadding="2" cellspacing="2" border="0" width="100%">
		<tr><td colspan="3" class="body" align="center"><b>Leaving MP3 format only<br> will automatically
		utilize Flash MP3 Player.</b></td></tr>
		<tr><td class="list_header" align="center">Format Extension</td><td class="list_header" align="center">Mime Type</td><td class="list_header" align="center">Action</td></tr>
		<?php while(list($key,$format) = each($data["music"]["formats"])){ ?>
			<tr><td class="list_cell"><?php echo $format["ext"]; ?></td>
			<td class="list_cell"><?php echo $format["mime"]; ?></td>
			<td class="list_cell" align="center"><?php
			admin_output_image("buttons/but_delete_small.gif","index.php?section=modules&action=music_delete_format&format_id=".$key."&theme=".$data["theme"],0,"delete");
			?></td></tr>
		<?php } ?>
		<tr><td colspan="3"><table cellpadding="0" cellspacing="3" border="0" align="center">
		<form action="index.php" method="post">
		<input type="hidden" name="section" value="modules">
		<input type="hidden" name="action" value="music_add_format">
		<input type="hidden" name="theme" value="<?php echo $data["theme"]; ?>">
			<tr><td class="body">Extension:</td>
			<td><?php
			admin_form_element( array ("type" => "input", "size" => 10, "name" => "ext") );
			?></td></tr>
			<tr><td class="body">Mime Type:</td>
			<td><?php
			admin_form_element( array ("type" => "input", "size" => 10, "name" => "mime") );
			?></td></tr>
			<tr><td colspan="2" align="center"><?php
			admin_form_element( array ("type" => "button", "value" => "Add") );
			?></td>
			</tr>
		</form>
		</table></td></tr>
		<tr><td colspan="3" class="body">Note: video settings are inherited from the Videos module settings.</td></tr>
	</table></td>
	<td class="grey-lined body padded" valign="top"><table cellpadding="0" cellspacing="2" border="0" width="100%">
	<form action="index.php" method="post">
	<input type="hidden" name="section" value="modules">
	<input type="hidden" name="action" value="update_module">
	<input type="hidden" name="module" value="music">
	<input type="hidden" name="theme" value="<?php echo $data["theme"]; ?>">
		<tr><td class="body">Maximum upload file size:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "input", "size" => 3, "name" => "maxsize", "value" => $data["music"]["maxsize"]) );
		?> MB</td></tr>
		<tr><td class="body">Approve Uploaded Media:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "checkbox", "ovalue" => 1, "name" => "approve", "value" => $data["music"]["approve"]) );
		?></td></tr>
		<tr><td class="body">Publish Unapproved Media:</td><td class="highlight"><?php
		admin_form_element ( array ("type" => "checkbox", "ovalue" => 1, "name" => "show_unapproved", "value" => $data["music"]["show_unapproved"]) );
		?></td></tr>
		<tr><td class="body">Enable Comment Recording:</td><td class="highlight"><table cellpadding="0" cellspacing="2" border="0">
			<tr>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "comment_audio", "value" => $data["music"]["comment_audio"], "ovalue" => "1") );
			?> Audio</td>
			<td class="highlight"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "comment_video", "value" => $data["music"]["comment_video"], "ovalue" => "1") );
			?> Video</td>
			</tr>
		</table></td></tr>
		<tr><td colspan="2" align="center"><?php
		admin_form_element( array("type" => "button", "value" => "Update") );
		?></td></tr>
	</form>
	</table></td></tr>
</table>