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