<div class="header">{#Content_Categs#}</div>

<form method="post" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
 <tr class="headers">
      <td width="200" class="headers">{#Global_Name#}</td>
      <td class="headers">{#Global_Actions#}</td>
    </tr>
    
   {foreach from=$categs item=g}
  {assign var=count value=$count+1}
    <tr class="{cycle name=$cna values='second,first'}">
  <td>
  <input class="input" type="text" name="Name[{$g->Id}]" value="{$g->Name|koobispecialchars}" />
   </td>
    <td>
    {if $g->Id!=1}
     <a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Global_Delete} onclick="return confirm('{#Content_categDelC#}')" href="index.php?do=content&amp;sub=delcateg&amp;id={$g->Id}"><img class="absmiddle" src="{$imgpath}/delete.png" alt="" border="0" /></a>
    {/if}
    </td>
  </tr>
   {/foreach}
</table>

<input type="hidden" name="save" value="1" />
<input class="button big" type="submit" value="{#Save#}" />
</form>


<form method="post" action="">
<fieldset>
<legend>{#Gallery_CategNew#}</legend>
<input class="input" type="text" name="Name" value="" />
<input class="button" type="submit" value="{#Save#}" />
<input type="hidden" name="new" value="1" />
</fieldset>
</form>

