mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 08:59:44 +01:00
Updated newforumposts_menu to full page render
Updated newforumposts_menu to full page render
This commit is contained in:
parent
788ae6a53a
commit
6fddef4d7a
@ -31,8 +31,14 @@ if(!class_exists('forum_newforumposts_menu'))
|
||||
function __construct()
|
||||
{
|
||||
$this->plugPref = e107::pref('forum'); // general forum preferences.
|
||||
$this->menuPref = e107::getMenu()->pref();// ie. popup config details from within menu-manager.
|
||||
$this->forumObj = new e107forum;
|
||||
// $this->menuPref = e107::getMenu()->pref();// ie. popup config details from within menu-manager.
|
||||
$menuPrefs = e107::getMenu()->pref();// ie. popup config details from within menu-manager.
|
||||
$this->forumObj = new e107forum;
|
||||
|
||||
parse_str($menuPrefs, $this->menuPref);
|
||||
|
||||
// echo "<hr><hr><hr>";
|
||||
// var_dump($this->menuPref);
|
||||
|
||||
// Set some defaults ...
|
||||
if (!isset($this->menuPref['title'])) $this->menuPref['title'] = "";
|
||||
@ -43,6 +49,9 @@ if(!class_exists('forum_newforumposts_menu'))
|
||||
if (!isset($this->menuPref['scroll'])) $this->menuPref['scroll'] = "";
|
||||
if (empty($this->menuPref['layout'])) $this->menuPref['layout'] = 'default';
|
||||
|
||||
// echo "<hr><hr><hr>";
|
||||
// var_dump($this->menuPref);
|
||||
|
||||
$this->cacheTag .= "_".$this->menuPref['layout'];
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user