From 358e5c46ed363c3d38a29c12d6c4390b12b0e9b6 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 4 Feb 2011 07:20:32 -0500 Subject: [PATCH] Updated labels and form size --- main/inc/lib/promotion.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/inc/lib/promotion.lib.php b/main/inc/lib/promotion.lib.php index 01961804d2..1c5a79468e 100644 --- a/main/inc/lib/promotion.lib.php +++ b/main/inc/lib/promotion.lib.php @@ -75,14 +75,14 @@ class Promotion extends Model { function return_form($url, $action = 'add') { $form = new FormValidator('promotion', 'post', $url); // Settting the form elements - $header = get_lang('add'); + $header = get_lang('Add'); if ($action == 'edit') { $header = get_lang('Modify'); } $form->addElement('header', '', $header); $form->addElement('hidden', 'id', intval($_GET['id'])); $form->addElement('text', 'name', get_lang('Name'), array('size' => '100','id' => 'name')); - $form->addElement('html_editor', 'description', get_lang('description'), null); + $form->addElement('html_editor', 'description', get_lang('Description'), true, array('ToolbarSet'=>'Forum','Height'=>'150')); $career = new Career(); $careers = $career->get_all(); @@ -111,4 +111,4 @@ class Promotion extends Model { return $form; } -} \ No newline at end of file +}