From 008bc401141a3486f7ba20a669e9949509575bd7 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Wed, 4 Apr 2007 04:39:23 +0000 Subject: [PATCH] Added rows and cols to menu options textarea, fixing xhtml break. --- user/profile/field/menu/define.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/profile/field/menu/define.class.php b/user/profile/field/menu/define.class.php index f824f07684d..2b88b2fee27 100644 --- a/user/profile/field/menu/define.class.php +++ b/user/profile/field/menu/define.class.php @@ -4,7 +4,7 @@ class profile_define_menu extends profile_define_base { function define_form_specific(&$form) { /// Param 1 for menu type contains the options - $form->addElement('textarea', 'param1', get_string('profilemenuoptions', 'admin')); + $form->addElement('textarea', 'param1', get_string('profilemenuoptions', 'admin'), array('rows' => 6, 'cols' => 40)); $form->setType('param1', PARAM_MULTILANG); /// Default data @@ -38,4 +38,4 @@ class profile_define_menu extends profile_define_base { } -?> \ No newline at end of file +?>