{***************************************************************************
*  You can find the license in the docs directory
*
*  Unicode Reminder メモ
***************************************************************************}

<div class="content2-pagetitle">
	<img src="resource2/{$opt.template.style}/images/misc/32x32-tools.png" style="align: left; margin-right: 10px;" width="32" height="32" alt="" />
	{t}Database maintainance{/t}
</div>

<form action="dbmaintain.php" method="post">
	<table class="table">
		<colgroup>
			<col width="150" />
			<col />
		</colgroup>
		<tr><td colspan="2">{t}Test for and fix inconsistencies in database tables{/t}.</td></tr>
		<tr><td class="spacer" colspan="2">&nbsp;</td></tr>

		{foreach from=$procedures item=procItem}
			<tr><td colspan="2"><input id="{$procItem|escape}" type="radio" name="action" value="{$procItem|escape}" /> <label for="{$procItem|escape}">{$procItem|escape}</label></td></tr>
		{/foreach}

		{if $executed==true}
			<tr><td class="spacer" colspan="2"></td></tr>
			<tr colspan="2"><td class="successmsg">{t 1=$proc|escape 2=$count}%1 corrected: %2 entries{/t}</td></tr>
		{/if}

		<tr><td class="spacer" colspan="2">&nbsp;</td></tr>
		<tr>
			<td width="150px">&nbsp;</td>
			<td>
				<input type="submit" name="ok" value="{t}Execute{/t}" class="formbutton" onclick="submitbutton('ok')" />
			</td>
		</tr>
	</table>
</form>
