{include file='header.tpl'} {* $Id: user_messages_outbox.tpl 8 2009-01-11 06:02:53Z john $ *}
  {lang_print id=780}   {lang_print id=781}  
{lang_sprintf id=798 1=$total_pms}
{lang_print id=784}

{* JAVASCRIPT FOR CHECK ALL MESSAGES FEATURE *} {literal} {/literal} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_pms} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_pms} {/if}
Go to Page:

{/if} {* CHECK IF THERE ARE NO MESSAGES IN OUTBOX *} {if $total_pms == 0}
{lang_print id=799}
{* DISPLAY MESSAGES *} {else}
{* LIST SENT MESSAGES *} {section name=pm_loop loop=$pms} {/section}
{lang_print id=790}   {lang_print id=520}
user_info.user_username)}'>{lang_sprintf id=786 1=$pms[pm_loop].pm_user->user_displayname_short} user_info.user_username)}'>{if $pms[pm_loop].pm_recipients == 1}{$pms[pm_loop].pm_user->user_displayname}{else}{lang_sprintf id=800 1=$pms[pm_loop].pm_recipients}{/if}
{$datetime->cdate("`$setting.setting_timeformat` `$setting.setting_dateformat`", $datetime->timezone($pms[pm_loop].pm_date, $global_timezone))}
{$pms[pm_loop].pmconvo_subject|truncate:50}
{$pms[pm_loop].pm_body|truncate:150|choptext:75:"
"}
[ {lang_print id=155} ]

{/if} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_pms} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_pms} {/if}
Go to Page:

{/if} {include file='footer.tpl'}