From fd13f915b2ccd4e4007d4cfe898c44ccbc8bf41b Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 22 May 2014 16:54:31 -0700 Subject: [PATCH] Fixes #542 - PM nextprev missing. --- e107_plugins/pm/pm_shortcodes.php | 4 +++- e107_plugins/pm/pm_template.php | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/e107_plugins/pm/pm_shortcodes.php b/e107_plugins/pm/pm_shortcodes.php index 66dfddc52..d9d205a39 100755 --- a/e107_plugins/pm/pm_shortcodes.php +++ b/e107_plugins/pm/pm_shortcodes.php @@ -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 = "
var)."'> - ".LAN_PM_54."     + ".LAN_PM_54."    
"; return $ret; diff --git a/e107_plugins/pm/pm_template.php b/e107_plugins/pm/pm_template.php index 0b0b7c7cc..0cc00cd47 100755 --- a/e107_plugins/pm/pm_template.php +++ b/e107_plugins/pm/pm_template.php @@ -223,10 +223,10 @@ $PM_SHOW = "
- + - - + {PM_REPLY}
{PM_SUBJECT}{PM_SUBJECT}
+ {PM_FROM_TO}

@@ -238,7 +238,7 @@ $PM_SHOW =
{PM_DELETE}
{PM_MESSAGE}

{PM_ATTACHMENTS}
{PM_MESSAGE}

{PM_ATTACHMENTS}