<?php
/**
 *
 * @url         $URL: http://svn.mythtv.org/svn/tags/release-0-22/mythplugins/mythweb/modules/database/tmpl/default/set_settings.php $
 * @date        $Date: 2008-02-23 09:44:49 +0000 (Sat, 23 Feb 2008) $
 * @version     $Revision: 16215 $
 * @author      $Author: kormoc $
 * @license     GPL
 *
 * @package     MythWeb
 * @subpackage  Settings
 *
/**/
?>
<form class="form" method="post" action="<?php echo form_action; ?>">

<h3>Actions</h3>

<p align="center">
<input class="submit" type="submit" name="action" value="<?php echo t('Optimize Tables'); ?>">
<input class="submit" type="submit" name="action" value="<?php echo t('Repair Tables'); ?>">
<input class="submit" type="submit" name="action" value="<?php echo t('Extended Check'); ?>">
</p>

<h3>Status</h3>

<table id="database" border="0" cellpadding="4" cellspacing="2" sortable="true">
<thead>
<tr class="menu">
    <th style="text-align: center;"><?php echo t('Name'); ?></th>
    <th style="text-align: center;"><?php echo t('Status'); ?></th>
</tr>
</thead>
<?php
    foreach ($Tables as $table_name => $table ) {
?><tr class="settings">
    <td><?php echo $table_name; ?></td>
    <td><?php echo $table['check']['Msg_text']; ?></td>
</tr><?php
    }
?>
</table>

</form>
