diff --git a/e107_admin/menus.php b/e107_admin/menus.php index b8d282838..9ded6c064 100644 --- a/e107_admin/menus.php +++ b/e107_admin/menus.php @@ -667,7 +667,7 @@ if($_SERVER['E_DEV_MENU'] == 'true') "; - return array('caption'=>'DragNDrop Items','text'=>$text); + return array('caption'=>MENLAN_57,'text'=>$text); } //} @@ -1143,7 +1143,7 @@ class e_layout @@ -1314,7 +1314,7 @@ class e_layout // $ns->frontend = false; - $ns->tablerender("Menu Layout",$text); + $ns->tablerender(MENLAN_55,$text); } diff --git a/e107_handlers/menumanager_class.php b/e107_handlers/menumanager_class.php index c8d3d8bc6..7a3bb60a3 100644 --- a/e107_handlers/menumanager_class.php +++ b/e107_handlers/menumanager_class.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2013 e107 Inc (e107.org) + * Copyright (C) 2008-2016 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -10,7 +10,7 @@ if (!defined('e107_INIT')) { exit; } -require_once(e_HANDLER."form_handler.php"); +$frm = e107::getForm(); class e_menuManager { @@ -562,7 +562,7 @@ class e_menuManager { if(!is_object($obj)) { - $text .= ""; + $text .= ""; } else { @@ -610,7 +610,7 @@ class e_menuManager { } else { - $text .= ""; + $text .= ""; } } @@ -661,7 +661,7 @@ class e_menuManager { if(!$sql->select("menus", "*", "menu_id=".intval($_GET['vis']))) { - $this->menuAddMessage("Couldn't Load Menu",E_MESSAGE_ERROR); + $this->menuAddMessage(MENLAN_48,E_MESSAGE_ERROR); return; } @@ -679,7 +679,7 @@ class e_menuManager { @@ -1034,7 +1034,7 @@ class e_menuManager { $color = (varset($color) == "white") ? "#DDDDDD" : "white"; if($row['menu_pages'] == "dbcustom") { - $pdeta = MENLAN_42; + $pdeta = LAN_CUSTOM; } else { @@ -1149,14 +1149,14 @@ class e_menuManager { } - $text .= ""; + $text .= ""; foreach($pageMenu as $row) { $text .= $this->renderOptionRow($row); } - $text .= ""; + $text .= ""; foreach($pluginMenu as $row) { $text .= $this->renderOptionRow($row); @@ -1189,12 +1189,12 @@ class e_menuManager { if(!count($this->menu_areas)) { $text = "
"; - $text .= "This layout does NOT contain any dynamic {MENU} areas.
"; + $text .= MENLAN_51."
"; if(isset($this->customMenu) && count($this->customMenu)) { - $text .= "

It DOES contain the following custom menus:

"; - $text .= "

Go to Custom-Menu area

"; + $text .= "

".MENLAN_52."

"; + $text .= "

".MENLAN_53."

"; } $text .= "
"; @@ -1226,7 +1226,7 @@ class e_menuManager { // onchange=\"urljump(this.options[selectedIndex].value);\" $text = ""; - $text .= "
Theme Layout: "; + $text .= "
".MENLAN_54.": "; $text .= "
- ".MENLAN_4." ". + ".LAN_VISIBLE_TO." ". r_userclass('menu_class', intval($_GET['class']), "off", "public,member,guest,admin,main,classes,nobody")."
{$plug} object not found. Try re-scanning plugin directories in Tools > Database.
".$tp->lanVars(MENLAN_46, $plug)."
No Fields Set in ".$row['menu_path']."e_menu.php
".MENLAN_47.": ".$row['menu_path']."e_menu.php
- ".MENLAN_4." ". + ".LAN_VISIBLE_TO." ". $frm->userclass('menu_class', $row['menu_class'], 'dropdown', array('options'=>"public,member,guest,admin,main,classes,nobody", 'class'=>'e-save'))."
Your Menus
".MENLAN_49."
Plugin Menus
".MENLAN_50."