/***************************************************************************
* copyright            : (C) 2001-2003 Advanced Internet Designs Inc.
* email                : forum@prohost.org
* $Id: pmsg.tmpl 21069 2010-03-25 22:47:48Z Caeies $
*
* This program is free software; you can redistribute it and/or modify it 
* under the terms of the GNU General Public License as published by the 
* Free Software Foundation; either version 2 of the License, or 
* (at your option) any later version.
***************************************************************************/

{PHP_FILE: input: pmsg.php.t; output: pmsg.php;}
{REF: security.tmpl}
{REF: header.tmpl}
{REF: footer.tmpl}
{REF: stats.tmpl}
{REF: draw_select_opt.tmpl}
{REF: get_cur_ppage.tmpl}
{REF: tabs.tmpl}
{REF: private.tmpl}

{SECTION: cur_folder_opt folder select option style}
{SECTION: END}

{SECTION: cur_folder_opt_selected folder select option style}
{SECTION: END}

{SECTION: move_to_opt move select option style}
{SECTION: END}

{SECTION: move_to_opt_selected move select option style}
{SECTION: END}

{SECTION: action_buttons_inbox}
<a href="{TEMPLATE: action_buttons_inbox_lnk}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_reply.gif" alt="" /></a>&nbsp;<a href="{TEMPLATE: action_buttons_inbox_lnk1}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_quote.gif" alt="" /></a>&nbsp;<a href="{TEMPLATE: action_buttons_inbox_lnk2}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_forward.gif" alt="" /></a>
{SECTION: END}

{SECTION: action_buttons_sent_trash}
<a href="{TEMPLATE: action_buttons_sent_trash_lnk}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_forward.gif" alt="" /></a>
{SECTION: END}

{SECTION: action_buttons_draft}
<a href="{TEMPLATE: action_buttons_draft_lnk}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_edit.gif" alt="" /></a>
{SECTION: END}

{SECTION: pmsg_read private message read}
<img src="{THEME_IMAGE_ROOT}/pmsg_unread.gif" alt="{MSG: pmsg_new_messages}" title="{MSG: pmsg_new_messages}" />
{SECTION: END}

{SECTION: pmsg_unread private message unread}
<img src="{THEME_IMAGE_ROOT}/pmsg_read.gif" alt="{MSG: pmsg_old_messages}" title="{MSG: pmsg_old_messages}" />
{SECTION: END}

{SECTION: deny_recipt deny recipt link}
<font class="SmallText">&nbsp;&nbsp;[<a href="{TEMPLATE: deny_recipt_lnk}" class="GenLink" title="{MSG: deny_recipt_desc}">{MSG: deny_recipt}</a>]</font>
{SECTION: END}

{SECTION: pmsg_online_indicator}
<img src="{THEME_IMAGE_ROOT}/online.gif" alt="{MSG: user_online}" title="{MSG: user_online}" />&nbsp;
{SECTION: END}

{SECTION: pmsg_offline_indicator}
<img src="{THEME_IMAGE_ROOT}/offline.gif" alt="{MSG: user_offline}" title="{MSG: user_offline}" />&nbsp;
{SECTION: END}

{SECTION: replied_msg replied message indicator}
<font class="SmallText">({MSG: pmsg_replied})</font>&nbsp;
{SECTION: END}

{SECTION: forwarded_msg forwarded message indicator}
<font class="SmallText">({MSG: pmsg_forwarded})</font>&nbsp;
{SECTION: END}

{SECTION: normal_msg normal message indicator}
{SECTION: END}

{SECTION: private_msg_entry}
<tr class="RowStyleB"><td>{TEMPLATE-DATA: pmsg_status}</td><td width="100%" class="GenText">{TEMPLATE-DATA: msg_type}<a href="{VAR: goto}" class="GenLink">{VAR: obj->subject}</a>{TEMPLATE-DATA: deny_recipt}</td>
<td nowrap class="GenText">{TEMPLATE-DATA: online_indicator}<a href="{TEMPLATE: normal_msg_lnk}" class="GenLink">{VAR: obj->alias}</a></td>
<td nowrap class="DateText">{DATE: obj->post_stamp %a, %d %B %Y %H:%M}</td>
<td nowrap align="center" class="GenText">{TEMPLATE-DATA: action}</td>
<td align="center" class="GenText"><input type="checkbox" name="sel[]" value="{VAR: obj->id}"{VAR: checked}></td></tr>
{SECTION: END}

{PAGE: PMSG_PAGE private messages control panel}
{TEMPLATE: header}
{TEMPLATE-DATA: cur_ppage}
{TEMPLATE: pmsg_disk_usage}
<div align="right"><a class="GenLink" href="{TEMPLATE: PMSG_PAGE_lnk}"><img src="{THEME_IMAGE_ROOT}/new_pm.gif" alt="" /></a></div><img src="blank.gif" alt="" width=1 height=2 />
{TEMPLATE-DATA: tabs}
<form action="{TEMPLATE: PMSG_PAGE_lnk3}" method="post" name="priv_frm">{DEF: _hs}
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr class="RowStyleB"><td colspan=6 class="GenText" align="right">
{MSG: folder} <select name="folder_id" onChange="javascript: document.priv_frm.submit();">
{TEMPLATE-DATA: select_options_cur_folder}
</select> <input type="submit" class="button" name="sel_folder" value="{MSG: go}">
</td></tr>
<tr>
	<th>&nbsp;</th>
	<th width="100%">{MSG: pmsg_subject}</th>
	<th align="center">{TEMPLATE-DATA: author_dest_col}</th>
	<th align="center">{MSG: pmsg_time}</th>
	<th align="center">{MSG: action}</th>
	<th nowrap>{MSG: pmsg_selected} [<a href="{TEMPLATE: PMSG_PAGE_lnk1}" class="thLnk">{VAR: desc}</a>]</th>
</tr>
{TEMPLATE-DATA: private_msg_entry}
{TEMPLATE-DATA: private_tools}
</table></form>
<img src="blank.gif" alt="" width=1 height=2 />
<div align="right"><a class="GenLink" href="{TEMPLATE: PMSG_PAGE_lnk}"><img src="{THEME_IMAGE_ROOT}/new_pm.gif" alt="" /></a></div>
{TEMPLATE-DATA: page_stats}
{TEMPLATE: footer}
{PAGE: END}

{SECTION: pm_err_nopm_title}
{MSG: pm_err_nopm_title}
{SECTION: END}

{SECTION: pm_err_nopm_msg}
{MSG: pm_err_nopm_msg}
{SECTION: END}

{SECTION: pm_update}
{MSG: pm_update}
{SECTION: END}

{SECTION: pmsg_all}
{MSG: pmsg_all}
{SECTION: END}

{SECTION: pmsg_none}
{MSG: pmsg_none}
{SECTION: END}

{SECTION: restore_to}
{MSG: restore_to}
{SECTION: END}

{SECTION: move_to}
{MSG: move_to}
{SECTION: END}

{SECTION: pmsg_disk_usage indicator that shows how much of the allowed pmsg space the user uses}
<table width="175" cellspacing="1" cellpadding="2" border="0" style="background-color: #FFFFFF; border: 1px #c2cdd6 solid;">
<tr>
	<td colspan="3" width="100%" class="RowStyleA" nowrap><span class="SmallText">{MSG: pm_space_indct_msg}</span></td>
</tr>
<tr>
	<td colspan="3" width="100%" class="RowStyleB"><table cellspacing="0" cellpadding="1" border="0"><tr>{TEMPLATE-DATA: full_indicator}</tr></table></td>
</tr>
<tr class="RowStyleA">
	<td class="SmallText" width="58" >0%</td>
	<td class="SmallText" width="58" align="center">50%</td>
	<td width="58" align="right"><table cellspacing=0 cellpadding=0 border=0><tr><td width=58 class="SmallText" align="right">100%</td></tr></table></td>
</tr>
</table>
{SECTION: END}

{SECTION: normal_full_indicator normal indicator of space in PM}
<td bgcolor="#FFFFFF"><img src="blank.gif" alt="" width={VAR: full_indicator} height="8" /></td>
{SECTION: END}

{SECTION: alert_full_indicator alert indicator, when user approaches limit}
<td bgcolor="#fffa00"><img src="blank.gif" alt="" width={VAR: full_indicator} height="8" /></td>
{SECTION: END}

{SECTION: full_full_indicator full indicator, the user has reached or surpassed the limit}
<td bgcolor="#FF0000"><img src="blank.gif" alt="" width={VAR: full_indicator} height="8" /></td>
{SECTION: END}

{SECTION: pmsg_author}
{MSG: pmsg_author}
{SECTION: END}

{SECTION: pmsg_recepient}
{MSG: pmsg_recepient}
{SECTION: END}

{SECTION: private_no_messages}
<tr class="RowStyleC"><td colspan="6" align="center">{MSG: private_no_messages}</td></tr>
{SECTION: END}

{SECTION: private_tools}
<tr class="RowStyleB"><td colspan=6 class="GenText" align=right>
<input type="submit" class="button" name="btn_move" value="{VAR: btn_action}">
<select name="moveto">{TEMPLATE-DATA: moveto_list}</select>
&nbsp;&nbsp;&nbsp;<input type="submit" class="button" name="btn_delete" value="{MSG: pmsg_delete}"></td></tr>
{SECTION: END}

{SECTION: action_buttons_inbox_lnk}
{ROOT}?t=ppost&amp;{DEF: _rsid}&amp;reply={VAR: obj->id}
{SECTION: END}

{SECTION: action_buttons_inbox_lnk1}
{ROOT}?t=ppost&amp;quote={VAR: obj->id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: action_buttons_inbox_lnk2}
{ROOT}?t=ppost&amp;forward={VAR: obj->id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: action_buttons_sent_trash_lnk}
{ROOT}?t=ppost&amp;{DEF: _rsid}&amp;forward={VAR: obj->id}
{SECTION: END}

{SECTION: action_buttons_draft_lnk}
{ROOT}?t=ppost&amp;{DEF: _rsid}&amp;msg_id={VAR: obj->id}
{SECTION: END}

{SECTION: deny_recipt_lnk}
{ROOT}?t=pmsg_view&amp;{DEF: _rsid}&amp;dr=1&amp;id={VAR: obj->id}
{SECTION: END}

{SECTION: normal_msg_lnk}
{ROOT}?t=usrinfo&amp;{DEF: _rsid}&amp;id={VAR: obj->ouser_id}
{SECTION: END}

{SECTION: PMSG_PAGE_lnk}
{ROOT}?t=ppost&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: PMSG_PAGE_lnk1}
{ROOT}?t=pmsg&amp;folder_id={VAR: folder_id}&amp;{DEF: _rsid}&amp;all={VAR: all_v}
{SECTION: END}

{SECTION: PMSG_PAGE_lnk3}
{ROOT}?t=pmsg
{SECTION: END}
