1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Fix for menu-manager issue

This commit is contained in:
Cameron
2012-12-17 13:21:43 -08:00
parent c3e996d06b
commit 661c6e7219
3 changed files with 32 additions and 29 deletions

View File

@@ -1144,7 +1144,7 @@ class e_menuManager {
//FIXME extract
extract($row);
if(!$menu_id){ return; }
include_once(e_HANDLER.'admin_handler.php');
// include_once(e_HANDLER.'admin_handler.php');
$menu_name = preg_replace("#_menu#i", "", $menu_name);
//TODO we need a CSS class for this
$vis = ($menu_class || strlen($menu_pages) > 1) ? " <span class='required'>*</span> " : "";
@@ -1243,10 +1243,14 @@ class e_menuManager {
if(!$this->dragDrop)
{
ob_start();
$ns->tablerender($caption, $text);
return $ns->tablerender($caption, $text,'', true);
ob_start();
$THEX = ob_get_contents();
ob_end_clean();