mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #542 - PM nextprev missing.
This commit is contained in:
parent
25b3353571
commit
fd13f915b2
@ -93,6 +93,8 @@ class pm_shortcodes extends e_shortcode
|
||||
{
|
||||
$pm_prefs = e107::getPlugPref('pm');
|
||||
$this->pmManager = new pmbox_manager($pm_prefs);
|
||||
$this->pmPrefs = $pm_prefs;
|
||||
// print_a($pm_prefs);
|
||||
}
|
||||
|
||||
|
||||
@ -484,7 +486,7 @@ class pm_shortcodes extends e_shortcode
|
||||
// pm_id is mapped insisde the config to id key
|
||||
$ret = "
|
||||
<form method='post' action='".$this->url('reply', $this->var)."'>
|
||||
<input type='checkbox' name='quote' /> ".LAN_PM_54."  <input class='btn btn-default button' type='submit' name='reply' value='".LAN_PM_55."' />
|
||||
<input type='checkbox' name='quote' /> ".LAN_PM_54."  <input class='btn btn-primary button' type='submit' name='reply' value='".LAN_PM_55."' />
|
||||
</form>
|
||||
";
|
||||
return $ret;
|
||||
|
@ -223,10 +223,10 @@ $PM_SHOW =
|
||||
"<div style='text-align: center'>
|
||||
<table class='table fborder'>
|
||||
<tr>
|
||||
<td class='fcaption' colspan='2'>{PM_SUBJECT}</td>
|
||||
<td class='fcaption text-left' colspan='2'>{PM_SUBJECT}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:20%; vertical-align:top'>
|
||||
<td class='forumheader3 text-left' style='width:20%; vertical-align:top'>
|
||||
{PM_FROM_TO}
|
||||
<br />
|
||||
<br />
|
||||
@ -238,7 +238,7 @@ $PM_SHOW =
|
||||
<br />
|
||||
{PM_DELETE}
|
||||
</td>
|
||||
<td class='forumheader3' style='width:80%; vertical-align:top'>{PM_MESSAGE}<br /><br />{PM_ATTACHMENTS}</td>
|
||||
<td class='forumheader3 text-left' style='width:80%; vertical-align:top'>{PM_MESSAGE}<br /><br />{PM_ATTACHMENTS}</td>
|
||||
</tr>
|
||||
{PM_REPLY}
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user