Skip to content

Commit

Permalink
Added rows and cols to menu options textarea, fixing xhtml break.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Apr 4, 2007
1 parent e025351 commit 008bc40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/profile/field/menu/define.class.php
Expand Up @@ -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
Expand Down Expand Up @@ -38,4 +38,4 @@ function define_save_preprocess($data) {

}

?>
?>

0 comments on commit 008bc40

Please sign in to comment.