From df997ab8fff60dbcf8a44bedd8f85d36c188546a Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 7 Jan 2014 08:19:18 -0800 Subject: [PATCH] Change Menu-Title length to 250 chars. --- e107_admin/cpage.php | 2 +- e107_core/sql/core_sql.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/cpage.php b/e107_admin/cpage.php index 861cf2eb0..86d2d2fd3 100644 --- a/e107_admin/cpage.php +++ b/e107_admin/cpage.php @@ -453,7 +453,7 @@ class page_admin_ui extends e_admin_ui // Menu Tab XXX 'menu_name' is 'menu_name' - not caption. 'menu_name' => array('title'=> "Menu Name", 'tab' => 2, 'type' => 'text', 'width' => 'auto','nolist'=>true, "help"=>"Will be listed in the Menu-Manager under this name or may be called using {CMENU=name} in your theme."), - 'menu_title' => array('title'=> "Menu Title", 'nolist'=>true, 'tab' => 2, 'type' => 'text', 'inline'=>true, 'width'=>'25%', "help"=>"Caption displayed on the menu item."), + 'menu_title' => array('title'=> "Menu Title", 'nolist'=>true, 'tab' => 2, 'type' => 'text', 'inline'=>true, 'width'=>'25%', "help"=>"Caption displayed on the menu item.", 'writeParms'=>'size=xxlarge'), 'menu_text' => array('title'=> "Menu Body", 'nolist'=>true, 'tab' => 2, 'type' => 'bbarea', 'data'=>'str', 'width' => '30%', 'readParms' => 'expand=...&truncate=50&bb=1', 'writeParms'=>'media=page' ), 'menu_template' => array('title'=> "Menu Template", 'nolist'=>true, 'tab' => 2, 'type' => 'dropdown', 'width' => 'auto','filter' => true, 'batch'=>true, 'inline'=>true, 'writeParms'=>''), diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php index 16afa23f0..93a832247 100644 --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -386,7 +386,7 @@ CREATE TABLE page ( page_template varchar(50) NOT NULL default '', page_order int(4) unsigned NOT NULL default '9999', menu_name varchar(50) NOT NULL default '', - menu_title varchar(50) NOT NULL default '', + menu_title varchar(250) NOT NULL default '', menu_text mediumtext NOT NULL, menu_image varchar(250) NOT NULL default '', menu_template varchar(50) NOT NULL default '',