From 40475c6543681bc04f2e58b4ab28e2cf483bf2fb Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Thu, 27 Sep 2007 11:57:55 +0200 Subject: [PATCH] [svn r13319] change the display of the create document form --- main/newscorm/learnpath.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 3b358d4278..7e895b55d1 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -5853,6 +5853,9 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') $form->addElement('submit', 'submit_button', get_lang('Ok'), 'style="background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:75px;"'); if(!$no_display_edit_textarea){ + $renderer = $form->defaultRenderer(); + $renderer->setElementTemplate('
      {label}
{element}','content_lp'); + $form->addElement('html_editor','content_lp',get_lang("Content")." :"); $defaults["content_lp"]=$content; }