modified..
This commit is contained in:
parent
b98aff4214
commit
f2e7fb8878
1 changed files with 58 additions and 33 deletions
|
@ -7,41 +7,66 @@
|
||||||
{include file="$style_dir/blocks/manage/userMenuLeft.html"}
|
{include file="$style_dir/blocks/manage/userMenuLeft.html"}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
{if $mode =='inbox'}
|
|
||||||
<h2>{lang code='private_messages'} » {lang code='inbox'}</h2>
|
|
||||||
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{if $mode =='notification'}
|
<div class="tabbable">
|
||||||
<h2>{lang code='private_messages'} » {lang code='notifications'}</h2>
|
<ul class="nav nav-tabs" id="myTab">
|
||||||
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
|
<li class="active">
|
||||||
{/if}
|
<a data-toggle="tab" href="#inbox">
|
||||||
|
<h5>{lang code='Inbox'}</h5>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
<a data-toggle="tab" href="#notifications">
|
||||||
|
<h5>{lang code='Notifications'}</h5>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
<a data-toggle="tab" href="#msend">
|
||||||
|
<h5>{lang code='Sent'}</h5>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="">
|
||||||
|
<a data-toggle="tab" href="#wmessage">
|
||||||
|
<h5>{lang code='Write Message'}</h5>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="tab-content">
|
||||||
|
<div id="inbox" class="tab-pane active">
|
||||||
|
<h2>{lang code='private_messages'} » {lang code='inbox'}</h2>
|
||||||
|
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
|
||||||
|
</div>
|
||||||
|
<div id="notifications" class="tab-pane">
|
||||||
|
<h2>{lang code='private_messages'} » {lang code='notifications'}</h2>
|
||||||
|
{include file="$style_dir/blocks/pm/messages.html" show_from='true'}
|
||||||
|
</div>
|
||||||
|
<div id="msend" class="tab-pane">
|
||||||
|
<h2>{lang code='private_messages'} » {lang code='sent'}</h2>
|
||||||
|
{include file="$style_dir/blocks/pm/messages.html" show_to='true'}
|
||||||
|
</div>
|
||||||
|
<div id="wmessage" class="tab-pane">
|
||||||
|
<h2>{lang code='private_messages'} » {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="">
|
||||||
|
|
||||||
{if $mode =='sent'}
|
<h3>{lang code='new_private_msg'}</h3>
|
||||||
<h2>{lang code='private_messages'} » {lang code='sent'}</h2>
|
{foreach from=$form_fields item=field}
|
||||||
{include file="$style_dir/blocks/pm/messages.html" show_to='true'}
|
<div class="form-group">
|
||||||
{/if}
|
<label for="{$field.id}">{$field.title}</label>
|
||||||
|
{$field.hint_1}
|
||||||
|
{$field.class='form-control'}
|
||||||
|
{$formObj->createField($field)}
|
||||||
|
{$field.hint_2}
|
||||||
|
</div>
|
||||||
|
{/foreach}
|
||||||
|
<button name="send_message" id="send_message" value="submit" class="btn btn-primary">{lang code='com_send_message'}</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{if $mode =='new_msg'}
|
|
||||||
<h2>{lang code='private_messages'} » {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="">
|
|
||||||
|
|
||||||
<h3>{lang code='new_private_msg'}</h3>
|
|
||||||
{foreach from=$form_fields item=field}
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="{$field.id}">{$field.title}</label>
|
|
||||||
{$field.hint_1}
|
|
||||||
{$field.class='form-control'}
|
|
||||||
{$formObj->createField($field)}
|
|
||||||
{$field.hint_2}
|
|
||||||
</div>
|
|
||||||
{/foreach}
|
|
||||||
<button name="send_message" id="send_message" value="submit" class="btn btn-primary">{lang code='com_send_message'}</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue