From 1e85ff2767e692e53d28c884e0c024d83735a581 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Sun, 1 Feb 2009 12:33:29 +0100 Subject: [PATCH] [svn r18114] FS#2867 - Adding settings for the FCKEditor for introduction sections, Glossary and Notebook tools. --- main/glossary/index.php | 9 ++++++++- main/notebook/index.php | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/main/glossary/index.php b/main/glossary/index.php index 312261c3db..c25421bca2 100755 --- a/main/glossary/index.php +++ b/main/glossary/index.php @@ -31,8 +31,15 @@ $tool = TOOL_GLOSSARY; Display::display_header(get_lang(ucfirst($tool))); // tool introduction + +$fck_attribute['Width'] = '100%'; +$fck_attribute['Height'] = '400'; +$fck_attribute['ToolbarSet'] = 'Full'; + Display::display_introduction_section(TOOL_GLOSSARY,'left'); +$fck_attribute = null; // Clearing this global variable immediatelly after it has been used. + // action links echo '
'; if (api_is_allowed_to_edit()) @@ -571,4 +578,4 @@ function move_glossary($direction, $glossary_id) $sql2 = "UPDATE $t_glossary SET display_order = '".Database::escape_string($current_display_order)."' WHERE glossary_id = '".Database::escape_string($next_id)."'"; $res = api_sql_query($sql1, __FILE__, __LINE__); $res = api_sql_query($sql2, __FILE__, __LINE__); -} \ No newline at end of file +} diff --git a/main/notebook/index.php b/main/notebook/index.php index b2b839f4f8..cc9d1a1385 100755 --- a/main/notebook/index.php +++ b/main/notebook/index.php @@ -33,8 +33,15 @@ $tool = TOOL_NOTEBOOK; Display::display_header(get_lang(ucfirst($tool))); // tool introduction + +$fck_attribute['Width'] = '100%'; +$fck_attribute['Height'] = '400'; +$fck_attribute['ToolbarSet'] = 'Full'; + Display::display_introduction_section(TOOL_NOTEBOOK,'left'); +$fck_attribute = null; // Clearing this global variable immediatelly after it has been used. + // action links echo '
'; //if (api_is_allowed_to_edit()) @@ -273,4 +280,4 @@ function display_notes() } return $return; } -?> \ No newline at end of file +?>