{{extend 'zlayout.html'}}
{{=XML(view_info['pagination_widget'])}}
{{if parent_topics:}}
{{if auth_user.has_role('zAdministrator'):}}
{{pass}} {{if auth_user.is_auth():}} {{pass}} {{for row, this_topic in enumerate(parent_topics):}} {{if auth_user.is_auth():}} {{pass}} {{pass}}
  {{=forum.forum_title}} {{=XML(T('By'))}} {{=XML(T('Replies'))}} {{=XML(T('Views'))}} {{=XML(T('Last Updated'))}} {{=XML(T('Add To Profile'))}}
{{if auth_user.has_role('zAdministrator'):}} {{else:}}   {{pass}} {{if view_info[this_topic.id]['subscribed_to_topic']:}}[{{=XML(T('Subscribed to Topic'))}}]{{pass}} {{if this_topic.sticky_flag:}}[{{=XML(T('Sticky Topic'))}}]{{pass}} {{if this_topic.locked_flag:}}[{{=XML(T('Locked Topic'))}}]{{pass}} {{=XML(parse_content(this_topic.title))}} {{if view_info['zfsp_topic_teaser_length']:}}
{{=parse_content(this_topic.content[:view_info['zfsp_topic_teaser_length']], mode='forumpreview')}} .. {{pass}}
{{if this_topic.creation_user_id:}}{{=forumhelper.get_display_name(this_topic.creation_user_id, 'Anonymous User')}}{{else:}}Anonymous User{{pass}} {{=topic_replies_info[this_topic.id]}} {{=this_topic.hits}}
{{=this_topic.modifying_date.strftime(str(T('%b %d, %Y - %I:%M %p')))}}
{{=XML(T('By'))}} {{if not this_topic.modifying_user_id:}} {{=XML(T('Anonymous User'))}} {{else:}} {{if auth_user.is_auth():}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.modifying_user_id, 'user_%s' % (this_topic.modifying_user_id))}} {{else:}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.modifying_user_id, 'user_%s' % (this_topic.modifying_user_id))}} {{pass}} {{pass}}
{{=XML(T('Add'))}}
{{if auth_user.has_role('zAdministrator'):}}
{{pass}}
{{else:}}

{{=XML(T('No topics found in this forum'))}}.

{{pass}}