[svn r18114] FS#2867 - Adding settings for the FCKEditor for introduction sections, Glossary and Notebook tools.

skala
Ivan Tcholakov 16 years ago
parent 19565b26cb
commit 1e85ff2767
  1. 7
      main/glossary/index.php
  2. 7
      main/notebook/index.php

@ -31,8 +31,15 @@ $tool = TOOL_GLOSSARY;
Display::display_header(get_lang(ucfirst($tool))); Display::display_header(get_lang(ucfirst($tool)));
// tool introduction // tool introduction
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '400';
$fck_attribute['ToolbarSet'] = 'Full';
Display::display_introduction_section(TOOL_GLOSSARY,'left'); Display::display_introduction_section(TOOL_GLOSSARY,'left');
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used.
// action links // action links
echo '<div class="actions">'; echo '<div class="actions">';
if (api_is_allowed_to_edit()) if (api_is_allowed_to_edit())

@ -33,8 +33,15 @@ $tool = TOOL_NOTEBOOK;
Display::display_header(get_lang(ucfirst($tool))); Display::display_header(get_lang(ucfirst($tool)));
// tool introduction // tool introduction
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '400';
$fck_attribute['ToolbarSet'] = 'Full';
Display::display_introduction_section(TOOL_NOTEBOOK,'left'); Display::display_introduction_section(TOOL_NOTEBOOK,'left');
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used.
// action links // action links
echo '<div class="actions">'; echo '<div class="actions">';
//if (api_is_allowed_to_edit()) //if (api_is_allowed_to_edit())

Loading…
Cancel
Save