{* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} Gift Registry - Manage Categories {include file='navbar.tpl' isadmin=$isadmin}
{if isset($message)}
{$message|escape:'htmlall'}
{/if} {if $opt.show_helptext}
Here you can specify categories of your own, like "Motorcycle stuff" or "Collectibles". This will help you categorize your gifts. Warning: deleting a category will uncategorize all items that used that category.
{/if}

Categories

{foreach from=$categories item=row} {/foreach}
Category # Items  
{$row.category|escape:'htmlall'} {$row.itemsin} Edit Category Delete Category
Add a new category
{if isset($action)} {if $action == "edit" || (isset($haserror) && $action == "update")} {elseif $action == "" || (isset($haserror) && $action == "insert")} {/if} {/if}
{if $action == "edit"}Edit Category '{$category|escape:'htmlall'}'{else}Add Category{/if}
{if isset($category_error)} {$category_error|escape:'htmlall'} {/if}