clipbucket/upload/styles/cbv2new/layout/private_message.html

50 lines
1.7 KiB
HTML
Raw Normal View History

2013-10-07 12:17:06 +00:00
<div>
{include file="$style_dir/blocks/manage/account_left.html"}
<div class="account_box">
{include file="$style_dir/blocks/manage/account_head.html" user=$user}
{if $mode =='inbox'}
<h2>{lang code='private_messages'} &raquo; {lang code='inbox'}</h2>
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
{/if}
{if $mode =='notification'}
<h2>{lang code='private_messages'} &raquo; {lang code='notifications'}</h2>
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
{/if}
{if $mode =='sent'}
<h2>{lang code='private_messages'} &raquo; {lang code='sent'}</h2>
{include file="$style_dir/blocks/pm/messages.html" show_to='true'}
{/if}
{if $mode =='new_msg'}
<h2>{lang code='private_messages'} &raquo; {lang code='title_crt_new_msg'}</h2>
{assign var='form_fields' value=$cbpm->load_compose_form()}
<div class="account_form">
<form id="pm_msg" name="pm_msg" method="post" action="">
<fieldset class="fieldset">
<legend>{lang code='new_private_msg'}</legend>
{foreach from=$form_fields item=field}
<div class="account_field_block">
<div class="account_field_label" align="right"><strong><label for="{$field.id}">{$field.title}</label></strong></div>
<div class="account_field">{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
<br>
{$field.hint_2}</div>
<div class="clearfix"></div>
</div>
{/foreach}
<div align="right"><button name="send_message" id="send_message" value="submit" class="cb_button">{lang code='com_send_message'}</button></div>
</fieldset>
</form>
</div>
{/if}
</div>
</div>