{{extend 'zlayout.html'}}

{{=XML(T('Edit Profile'))}}

{{if request.vars.upd:}}

* {{=XML(T('Preferences have been updated'))}}. *

{{pass}} {{if request.vars.up_topics_1:}}

* {{=XML(T('Profile topics have been updated'))}}. *

{{pass}} {{if request.vars.up_topics_2:}}

* {{=XML(T('Bookmarked topics have been updated'))}}. *

{{pass}}
{{=XML(T('Hidden'))}}    
{{=XML(T('Email'))}}: {{=user_email}}
{{=XML(T('Username'))}}: * {{=XML(T('This will display in your postings, search, etc'))}}.
{{=XML(T('New Password'))}}: * {{=XML(T('Leave empty for no change'))}}
{{=XML(T('New Password Confirmation'))}}: * {{=XML(T('Leave empty for no change'))}}
{{=XML(T('Real Name'))}}:
{{=XML(T('Web Page'))}}:
{{=XML(T('City/Country'))}}:
{{=XML(T('User Info'))}}:
{{=XML(T('Signature'))}}:
{{=XML(T('Display Language'))}}:
{{=XML(T('Posts'))}}: {{=view_info['props']['postings']}}
{{=XML(T('Last Login'))}}: {{=view_info['props']['last_login']}}
{{=XML(T('Forum Subscriptions'))}}: {{if len(forum_subscriptions):}} {{else:}} {{=XML(T('User is not subscribed to any forum'))}} {{pass}}
{{=XML(T('Topic Subscriptions'))}}: {{if len(topic_subscriptions):}} {{else:}} {{=XML(T('User is not subscribed to any topics'))}} {{pass}}
{{=XML(T('Avatar'))}}: {{if forumhelper.has_member_avatar(user_id):}}
{{pass}}

{{=XML(T('For Forums/Topics subscriptions, select the ones you wish to unsubscribe from and submit your form'))}}.

{{=XML(T('Topics'))}}


{{=XML(view_info['pagination_widget_1'])}}
{{if my_threads:}} {{for row, this_topic in enumerate(my_threads):}} {{pass}}
{{=XML(T('Delete'))}} {{=XML(T('Hidden'))}} {{=XML(T('My Topics'))}} {{=XML(T('By'))}} {{=XML(T('Replies'))}} {{=XML(T('Views'))}} {{=XML(T('Last Updated'))}}
{{=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_1_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}}
{{else:}}

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

{{pass}}


{{=XML(view_info['pagination_widget_2'])}}
{{if my_ref_threads:}} {{for row, this_topic in enumerate(my_ref_threads):}} {{pass}}
{{=XML(T('Delete'))}} {{=XML(T('Hidden'))}} {{=XML(T('Bookmarked Topics'))}} {{=XML(T('By'))}} {{=XML(T('Replies'))}} {{=XML(T('Views'))}} {{=XML(T('Last Updated'))}}
{{=XML(parse_content(this_topic.zf_topic.title))}} {{if view_info['zfsp_topic_teaser_length']:}}
{{=parse_content(this_topic.zf_topic.content[:view_info['zfsp_topic_teaser_length']], mode='forumpreview')}} .. {{pass}}
{{if this_topic.zf_topic.creation_user_id:}}{{=forumhelper.get_display_name(this_topic.zf_topic.creation_user_id, 'Anonymous User')}}{{else:}}Anonymous User{{pass}} {{=topic_2_replies_info[this_topic.zf_topic.id]}} {{=this_topic.zf_topic.hits}}
{{=this_topic.zf_topic.modifying_date.strftime(str(T('%b %d, %Y - %I:%M %p')))}}
{{=XML(T('By'))}} {{if not this_topic.zf_topic.modifying_user_id:}} {{=XML(T('Anonymous User'))}} {{else:}} {{if auth_user.is_auth():}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.zf_topic.modifying_user_id, 'user_%s' % (this_topic.zf_topic.modifying_user_id))}} {{else:}} {{=forumhelper.get_member_property('zfmp_display_name', this_topic.zf_topic.modifying_user_id, 'user_%s' % (this_topic.zf_topic.modifying_user_id))}} {{pass}} {{pass}}
{{else:}}

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

{{pass}} {{if len(friendslist):}}

{{=XML(T('Friendslist'))}}

{{for row, friend in enumerate(friendslist):}} {{pass}}
{{=XML(T('Delete'))}} {{=XML(T('Friend'))}}
{{=forumhelper.get_display_name(friend.target_id, 'Anonymous User')}}
{{pass}}