{{extend 'zlayout.html'}} {{import json}} {{if view_info['errors']:}}

{{=XML(T('There was one or more errors while processing your request, please correct the following'))}}

{{pass}}
{{=XML(view_info['pagination_widget'])}}
{{if view_info.has_key('preview'):}}
{{=XML(T('Message Preview'))}}

{{=XML(parse_content(request.vars.get('response_content', ''), mode='forumfull'))}}
{{=XML(T('Add This Comment'))}}
{{pass}} {{if auth_user.is_admin():}}
{{pass}} {{if len(children):}} {{for row, this_child in enumerate(children):}} {{pass}} {{pass}}
{{=topic.title}}
{{=XML(T('By'))}}: {{if not topic.creation_user_id:}} Anonymous User {{else:}} {{if auth_user.is_auth():}} {{=forumhelper.get_display_name(topic.creation_user_id)}} {{else:}} {{=forumhelper.get_display_name(topic.creation_user_id)}} {{pass}} {{if forumhelper.get_system_property('zfsp_use_ranking_system', '') != '':}}
{{=XML(T('Rank'))}}: {{=forumhelper.get_user_rank(topic.creation_user_id)}} {{pass}}
{{=XML(T('Postings'))}}: {{=forumhelper.get_member_property('zfmp_postings', topic.creation_user_id, '0')}} {{if not forumhelper.get_member_property_hidden('zfmp_country', topic.creation_user_id, False):}}
{{=XML(T('From'))}}: {{=forumhelper.get_member_property('zfmp_country', topic.creation_user_id, XML(T('Unknown')))}} {{pass}} {{if forumhelper.get_system_property('zfsp_allow_member_avatars', '') != '' and forumhelper.has_member_avatar(topic.creation_user_id):}}
{{pass}} {{if auth_user.is_auth() and auth_user.get_user_id() != topic.creation_user_id:}}
{{=XML(T('Send private message'))}} {{pass}} {{if auth_user.is_auth() and not forumhelper.get_friend_status(auth_user.get_user_id(), topic.creation_user_id):}}
{{=XML(T('Add to friendslist'))}} {{elif auth_user.is_auth():}}
{{=XML(T('Remove from friendslist'))}} {{pass}} {{pass}}
{{=XML(T('Posted'))}}: {{=XML(T(str(topic.creation_date.strftime('%a, %d %B, %Y - %I:%M %p'))))}}
{{if auth_user.is_admin() or (not topic.locked_flag and security_info['can_edit']):}} {{=XML(T('Edit Post'))}} | {{pass}} {{if (security_info['can_reply'] and not topic.locked_flag) or auth_user.is_admin():}} {{content=topic.content}} {{content=content.replace('\r\n','[r]')}} {{=XML(T('Reply w/Quote'))}} | {{pass}} {{=XML(T('Report as inappropriate'))}} {{if auth_user.is_admin():}} | {{pass}}

{{=XML(parse_content(topic.content, mode='forumfull'))}}
{{=XML(T('By'))}}: {{if not this_child.creation_user_id:}} Anonymous User {{else:}} {{if auth_user.is_auth():}} {{=forumhelper.get_display_name(this_child.creation_user_id)}} {{else:}} {{=forumhelper.get_display_name(this_child.creation_user_id)}} {{pass}} {{if forumhelper.get_system_property('zfsp_use_ranking_system', '') != '':}}
{{=XML(T('Rank'))}}: {{=forumhelper.get_user_rank(this_child.creation_user_id)}} {{pass}}
{{=XML(T('Postings'))}}: {{=forumhelper.get_member_property('zfmp_postings', this_child.creation_user_id, '0')}}
{{=XML(T('From'))}}: {{=forumhelper.get_member_property('zfmp_country', this_child.creation_user_id, XML(T('Unknown')))}} {{if forumhelper.get_system_property('zfsp_allow_member_avatars', '') != '' and forumhelper.has_member_avatar(this_child.creation_user_id):}} {{pass}} {{if auth_user.is_auth() and auth_user.get_user_id() != this_child.creation_user_id:}}
{{=XML(T('Send private message'))}} {{pass}} {{if auth_user.is_auth() and not forumhelper.get_friend_status(auth_user.get_user_id(), this_child.creation_user_id):}}
{{=XML(T('Add to friendslist'))}} {{elif auth_user.is_auth():}}
{{=XML(T('Remove from friendslist'))}} {{pass}} {{pass}}
{{=XML(T('Posted'))}}: {{=XML(T(str(this_child.creation_date.strftime('%a, %d %B, %Y - %I:%M %p'))))}}
{{if (not this_child.locked_flag and auth_user.is_auth() and (auth_user.is_admin() or this_child.creation_user_id==auth_user.get_user_id())):}} {{=XML(T('Edit Post'))}} | {{pass}} {{if (security_info['can_reply'] and not topic.locked_flag) or auth_user.is_admin():}} {{content=this_child.content}} {{content=content.replace('\r\n','[r]')}} {{=XML(T('Reply w/Quote'))}} | {{pass}} {{=XML(T('Report as inappropriate'))}} {{if auth_user.is_admin():}} | {{pass}}

{{=XML(parse_content(this_child.content, mode='forumfull'))}}
{{if not len(children):}}

{{=XML(T('This topic contains no responses'))}}.

{{pass}} {{if topic.locked_flag:}}

{{=XML(T('The forum administrator has restricted adding any more comments to this topic'))}}.

{{pass}} {{if (security_info['can_reply'] and not topic.locked_flag) or auth_user.is_admin():}}
  {{if not auth_user.is_auth():}} {{pass}}
{{=XML(T('Add Reply'))}}
{{=XML(T('Title'))}}: {{=topic.title}}
{{=XML(T('By'))}}: {{=forumhelper.get_display_name(None, 'Anonymous User')}}, {{=XML(T('on'))}} {{=XML(T(str(request.now.strftime('%A, %d %B, %Y'))))}}
{{for icon in view_info['font_effects']:}} {{if icon=="I":}} {{style = "font-style:italic;width:24px;height:24px;vertical-align:text-top;"}} {{elif icon=="B":}} {{style = "font-weight:bold;width:24px;height:24px;vertical-align:text-top;"}} {{elif icon=="U":}} {{style = "text-decoration:underline;width:24px;height:24px;vertical-align:text-top;"}} {{pass}} {{pass}} {{if security_info['can_embed'] or auth_user.is_admin():}}    {{for icon in view_info['video_icons']:}} {{=icon[5:icon.rfind('.')]}} {{pass}} {{pass}}
{{=XML(T('Contents'))}}:
* {{=XML(T('Verify your humanity'))}}: {{=view_info['anon_captcha']}} ({{=XML(T('Please Enter the acces code shown in order to post your message'))}}.)
{{=XML(T('Click on an emoticon to add it'))}}: {{for icon in view_info['emoticons']:}} {{=icon[5:icon.rfind('.')]}} {{pass}}
{{pass}}