{{extend 'zlayout.html'}}

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

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

{{=XML(T('Forums 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 cats:}}

{{=XML(T('Category Selected'))}}:

{{pass}} {{if selected_category:}}
{{if cat_forums:}} {{for idx, this_forum in enumerate(cat_forums):}} {{pass}}
{{=XML(T('Order'))}} {{=XML(T('Title'))}} {{=XML(T('Moded'))}} {{=XML(T('Anon Read'))}} {{=XML(T('Min Roles Add'))}} {{=XML(T('Min Roles Reply'))}}
{{=this_forum.forum_title}}
{{=XML(T('Edit forum properties'))}} | {{=XML(T('View/Edit topics in this forum'))}}
{{=this_forum.moderation_flag}} {{=this_forum.anonymous_viewaccess}} {{=', '.join(this_forum.add_postings_access_roles.split(',')) or XML(T('Anyone'))}} {{=', '.join(this_forum.reply_postings_access_roles.split(',')) or XML(T('Anyone'))}}
{{else:}}

{{=XML(T('This category does not have any forums'))}}.

{{pass}}
{{if cat_forums:}}{{pass}}
{{else:}}

{{=XML(T('No categories have been created. You must have at least one category to allow forum management'))}}.

{{pass}}