1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Fixes #542 - PM nextprev missing.

This commit is contained in:
Cameron
2014-05-22 16:54:31 -07:00
parent 25b3353571
commit fd13f915b2
2 changed files with 6 additions and 4 deletions

View File

@@ -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." &nbsp;&nbsp;&nbsp<input class='btn btn-default button' type='submit' name='reply' value='".LAN_PM_55."' />
<input type='checkbox' name='quote' /> ".LAN_PM_54." &nbsp;&nbsp;&nbsp<input class='btn btn-primary button' type='submit' name='reply' value='".LAN_PM_55."' />
</form>
";
return $ret;