Просмотр исходного кода

[svn r10557] change the size of fckeditor form

Eric Marguin 18 лет назад
Родитель
Сommit
6a926c8942
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      main/document/create_document.php

+ 4 - 4
main/document/create_document.php

@@ -1,5 +1,5 @@
 <?php
 <?php
-// $Id: create_document.php 10485 2006-12-13 15:52:15Z elixir_inter $
+// $Id: create_document.php 10557 2006-12-26 15:36:59Z elixir_inter $
 /*
 /*
 ==============================================================================
 ==============================================================================
 	Dokeos - elearning and course management software
 	Dokeos - elearning and course management software
@@ -52,8 +52,8 @@ include (api_get_path(LIBRARY_PATH).'events.lib.inc.php');
 include (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php');
 include (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php');
 $nameTools = get_lang('CreateDocument');
 $nameTools = get_lang('CreateDocument');
 
 
-$fck_attribute['Width'] = '800';
-$fck_attribute['Height'] = '450';
+$fck_attribute['Width'] = '100%';
+$fck_attribute['Height'] = '400';
 $fck_attribute['ToolbarSet'] = 'Full';
 $fck_attribute['ToolbarSet'] = 'Full';
 
 
 /*
 /*
@@ -167,7 +167,7 @@ if (get_setting('use_document_title') == 'true')
 // HTML-editor
 // HTML-editor
 $form->add_html_editor('content', get_lang('Content'), false, true);
 $form->add_html_editor('content', get_lang('Content'), false, true);
 // Comment-field
 // Comment-field
-$form->addElement('textarea', 'comment', get_lang('Comment'), array ('rows' => 5, 'cols' => 50));
+//$form->addElement('textarea', 'comment', get_lang('Comment'), array ('rows' => 5, 'cols' => 50));
 $form->addElement('submit', 'submit', get_lang('Ok'));
 $form->addElement('submit', 'submit', get_lang('Ok'));
 $form->setDefaults($default);
 $form->setDefaults($default);
 // If form validates -> save the new document
 // If form validates -> save the new document