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

50 lines
1.6 KiB
HTML
Raw Normal View History

<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>Private Messages &raquo; Inbox</h2>
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
{/if}
{if $mode =='notification'}
<h2>Private Messages &raquo; Notifications</h2>
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
{/if}
{if $mode =='sent'}
<h2>Private Messages &raquo; Sent</h2>
{include file="$style_dir/blocks/pm/messages.html" show_to='true'}
{/if}
{if $mode =='new_msg'}
<h2>Private Messages &raquo; Compose new message</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>New private message</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">Send Message</button></div>
</fieldset>
</form>
</div>
{/if}
</div>
</div>