{{extend 'zlayout.html'}}

{{=XML(T('pyForum - Manage Categories'))}}

{{include 'zadmin/admin_options.html'}} {{if view_info.has_key('sort_saved'):}}

{{=XML(T('Categories have been re-sorted'))}}

{{pass}} {{if view_info['errors']:}}

{{=XML(T('There were some errors while processing your request, please correct the following'))}}:

{{pass}} {{if categories:}}
{{for idx, cat in enumerate(categories):}} {{pass}}
{{=XML(T('Order'))}} {{=XML(T('Title'))}} {{=XML(T('Description'))}} {{=XML(T('Visible To'))}}
{{=cat.cat_name}} {{=cat.cat_desc}} {{if cat.cat_visible_to:}}{{=cat.cat_visible_to}}{{else:}}{{=XML(T('Publicly Visible'))}}{{pass}}
{{else:}}

{{=XML(T('No categories Found'))}}.

{{pass}}