{include file="Header.htm"}
<body>
<h3>{$TPL.Title} {$DSN.Database}@{$DSN.Server}</h3>
<ul>
  <li><a href="../PMA/" target="_blank">{$TPL.ManageDB}</a></li>
  <li><a href="#" onclick="javascript:switchDisplay('ManageTable')">{$TPL.SetTableLabel}</a></li>
  <li><a href="InitDB.php">{$TPL.InitDB}</a></li>
  <!--<li><a href="../Page/BuildAllAdminList.php"> Build all tables' admin list pages</a></li>
  <li><a href="../Page/BuildAllAdminAdd.php"> Build all tables' admin add pages</a></li>
  <li><a href="../Page/BuildAllAdminEdit.php"> Build all tables' admin edit pages</a></li>
  <li><a href="../Page/BuildAllAdminDrop.php"> Build all tables' admin del pages</a></li>
  <li><a href="../Page/BuildAllAdminView.php"> Build all tables' admin view pages</a></li>-->
</ul>
<form name="ManageTable" method="post" id="ManageTable" {if $Showing!="Yes"}style="display:none"{/if}>
  <table align="center" class="tblnarrow">
    <caption>Setting table labels</caption>
    <tr class="colhead">
      <th>Table Name</th>
      <th>Table Label</th>
    </tr>
    {foreach from=$Tables key=TableName item=Table}
    <tr>
      <th>{$TableName}</th>
      <td><input type="text" name="Tables[{$TableName}]["Label"]" value="{$Table.Label}" /></td>
      </td>
    </tr>
    {/foreach}
    <tr>
      <td colspan="7" align="center">
        <input type="submit" name="Submit"   value="Save" class="submit" />
        <input type="hidden" name="Showing"  value="Yes" />
      </td>
    </tr>
 </table>
</form>
</body>
</html>