From: nicolasconnault Date: Wed, 4 Apr 2007 04:39:23 +0000 (+0000) Subject: Added rows and cols to menu options textarea, fixing xhtml break. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=008bc401141a3486f7ba20a669e9949509575bd7;p=moodle.git Added rows and cols to menu options textarea, fixing xhtml break. --- diff --git a/user/profile/field/menu/define.class.php b/user/profile/field/menu/define.class.php index f824f07684..2b88b2fee2 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 +?>