<h2>Your namespaces</h2>

<?namespaces {ns: $arg.own, del: deleteUserNamespace}?>
<p><span class="linkish">Add namespace</span><?event click addUserNamespace();?><p>

<h2>Standard namespaces</h2>

<?if $arg.standard.length?>
  <table>
    <?for ns $arg.standard?>
      <tr>
        <td>
          <input type="checkbox" <?if ns.used?>checked="checked"<?if.?>>
          <?event click selectUserNamespace(ns, $node.checked);?>
          <?event change selectUserNamespace(ns, $node.checked);?>
        </td>
        <th style="text-align: right; padding-right: .5em;"><span class="part"><?t ns.abbrev?></span>:</th>
        <td><span class="part"><?t ns.uri?></span></td>
      </tr>
    <?for.?>
  </table>
  <p>Check or uncheck the boxes to select which standard namespaces to use.</p>
<?else?>
  None.
<?if.?>
