[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. 9
      main/glossary/index.php
  2. 9
      main/notebook/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 '<div class="actions">';
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__);
}
}

@ -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 '<div class="actions">';
//if (api_is_allowed_to_edit())
@ -273,4 +280,4 @@ function display_notes()
}
return $return;
}
?>
?>

Loading…
Cancel
Save