{{extend 'zlayout.html'}}

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

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

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

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

{{=XML(parse_content(request.vars.get('content', ''), mode='forumfull'))}}
{{pass}}
{{if topic.parent_flag and auth_user.is_admin():}} {{pass}} {{if auth_user.is_admin():}} {{pass}}
{{=XML(T('Author'))}}: {{=forumhelper.get_display_name(topic.creation_user_id)}}
* {{=XML(T('Title'))}}:
{{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('Content'))}}:
*
*
*
* {{=XML(T('Creation'))}}:
* {{=XML(T('Modification'))}}:
{{=XML(T('Click on an emoticon to add it'))}}: {{for icon in view_info['emoticons']:}} {{=icon[5:icon.rfind('.')]}} {{pass}}
* {{=XML(T('Required Fields'))}}
{{if auth_user.is_admin():}} {{pass}}
* - {{=XML(T('Adminitrative-only options, not available to regular members'))}}.