161 lines
3.8 KiB
Smarty
161 lines
3.8 KiB
Smarty
|
|
{include file='admin_header.tpl'}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* $Id: user_messages_view.tpl 194 2009-07-15 21:44:24Z john $ *}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<!--<img src='./images/icons/messages48.gif' border='0' class='icon_big' />-->
|
||
|
|
|
||
|
|
<div class='page_header'>{$pmconvo_info.pmconvo_subject}</div>
|
||
|
|
|
||
|
|
{capture assign='collaborators'}{section name=coll_loop loop=$collaborators}
|
||
|
|
{assign var="userid" value=$collaborators[coll_loop]->user_info.user_id}
|
||
|
|
<a href='{$url->url_create("profile", $collaborators[coll_loop]->user_info.user_username)}'>{$collaborators[coll_loop]->user_displayname}</a>{if $smarty.section.coll_loop.last != TRUE}, {/if}{/section}{/capture}
|
||
|
|
|
||
|
|
<div>{lang_sprintf id=801 1=$collaborators}</div>
|
||
|
|
|
||
|
|
<br />
|
||
|
|
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* JAVASCRIPT FOR AUTOGROWING TEXTAREA *}
|
||
|
|
|
||
|
|
{literal}
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
|
||
|
|
<!--
|
||
|
|
|
||
|
|
window.addEvent('domready', function() { textarea_autogrow('reply_body'); });
|
||
|
|
|
||
|
|
//-->
|
||
|
|
|
||
|
|
</script>
|
||
|
|
|
||
|
|
{/literal}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* LOOP THROUGH MESSAGES IN THREAD *}
|
||
|
|
|
||
|
|
<table cellpadding='0' cellspacing='0' width='100%'>
|
||
|
|
|
||
|
|
{section name=pm_loop loop=$pms}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<tr>
|
||
|
|
|
||
|
|
<td class='messages_view1' style="width:60px;">
|
||
|
|
|
||
|
|
<a href='{$url->url_create("profile",$pms[pm_loop].author->user_info.user_username)}'>
|
||
|
|
|
||
|
|
{assign var="profilepicture" value=$pms[pm_loop].author->user_photo("./images/nophoto.png")}
|
||
|
|
{$pms[pm_loop].author->userprofiledot($profilepicture, "90px")}
|
||
|
|
|
||
|
|
</a>
|
||
|
|
|
||
|
|
{if $smarty.section.pm_loop.last}<a name='bottom'></a>{/if}
|
||
|
|
|
||
|
|
</td>
|
||
|
|
|
||
|
|
<td class='messages_authorbox' nowrap='nowrap'>
|
||
|
|
|
||
|
|
<div class='messages_author'><a href='{$url->url_create("profile",$pms[pm_loop].author->user_info.user_username)}'>{$pms[pm_loop].author->user_displayname|truncate:20:"...":true}</a></div>
|
||
|
|
|
||
|
|
<div class='messages_date'>{$datetime->cdate("`$setting.setting_timeformat` `$setting.setting_dateformat`", $datetime->timezone($pms[pm_loop].pm_date, $global_timezone))}</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{if $pms[pm_loop].author->user_info.user_username!=$user->user_info.user_username}
|
||
|
|
|
||
|
|
<div>
|
||
|
|
<a data-toggle="modal" data-target="#myModal" href="user_report.php?return_url={$url->url_current()|escape:url}">Report this Person</a>
|
||
|
|
<!--<input type='button' class='button' value='Report this Person' onClick="javascript:TB_show('Notify an Administrator', 'user_report.php?return_url=https://bateworld.com/profile.php?user={$pms[pm_loop].author->user_info.user_username}&TB_iframe=true&height=450&width=450', '', './images/trans.gif');">
|
||
|
|
-->
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
</td>
|
||
|
|
|
||
|
|
<td class='messages_view2'>{$pms[pm_loop].pm_body|choptext:75:"<br>"}</td>
|
||
|
|
</tr>
|
||
|
|
|
||
|
|
<tr><td colspan='3'> </td></tr>
|
||
|
|
|
||
|
|
{/section}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* DISPLAY REPLY TO ALL BOX *}
|
||
|
|
|
||
|
|
<tr>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<td colspan="3" class='messages_view2_bottom'>
|
||
|
|
|
||
|
|
<a name='reply'></a>
|
||
|
|
|
||
|
|
<div id='reply_error' style='display: none;'>{lang_print id=796}</div>
|
||
|
|
|
||
|
|
{if $blockerror}<div id='reply_error2' style='display: {$blockerror};'>{lang_print id=1321}</div>{/if}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</td>
|
||
|
|
|
||
|
|
</tr>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</table>
|
||
|
|
|
||
|
|
|
||
|
|
{literal}
|
||
|
|
<link rel="stylesheet" type="text/css" href="/include/emojis/emojionearea.min.css" media="screen">
|
||
|
|
<script type="text/javascript" src="/include/emojis/emojionearea.js"></script>
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
jQuery(document).ready(function() {
|
||
|
|
jQuery("#reply_body").emojioneArea({
|
||
|
|
attributes: {
|
||
|
|
spellcheck : true,
|
||
|
|
autocomplete : "on",
|
||
|
|
autocorrect : "on",
|
||
|
|
autocapitalize : "on",
|
||
|
|
},
|
||
|
|
// container: "#emojicontainer",
|
||
|
|
pickerPosition: "left",
|
||
|
|
tonesStyle: "bullet",
|
||
|
|
pickerPosition :"bottom"
|
||
|
|
// saveEmojisAs: "image"
|
||
|
|
});
|
||
|
|
|
||
|
|
});
|
||
|
|
|
||
|
|
</script>
|
||
|
|
{/literal}
|
||
|
|
|
||
|
|
|
||
|
|
{include file='admin_footer.tpl'}
|