mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Broken menu manager - temporary fix
This commit is contained in:
@@ -1042,7 +1042,8 @@ class e_menuManager {
|
||||
$text .= "</td>";
|
||||
|
||||
$text .= "</tr></table>";
|
||||
|
||||
|
||||
/** FIXME (SecretR - this block is breaking menu manager ($this->menu_areas is always empty )
|
||||
if(!count($this->menu_areas))
|
||||
{
|
||||
$text = "<div class='alert alert-block alert-warning text-left'>";
|
||||
@@ -1056,6 +1057,7 @@ class e_menuManager {
|
||||
|
||||
$text .= "</div>";
|
||||
}
|
||||
*/
|
||||
// $ns -> tablerender(MENLAN_22.'blabla', $text);
|
||||
echo $this->renderPanel(MENLAN_22, $text);
|
||||
echo $rs->form_close();
|
||||
@@ -1630,4 +1632,4 @@ class e_menuManager {
|
||||
e107::getConfig()->setPref($pref)->save(false,true,false);
|
||||
// save_prefs();
|
||||
}
|
||||
} // end of Class.
|
||||
} // end of Class.
|
||||
|
Reference in New Issue
Block a user