[svn r18459] configure learning path buttons bar

skala
Juan Carlos Raña 16 years ago
parent b61f994833
commit 5fb84fa73a
  1. 11
      main/inc/lib/fckeditor/myconfig.js
  2. 2
      main/newscorm/document.php
  3. 6
      main/newscorm/learnpath.class.php
  4. 1685
      main/newscorm/lp_controller.php

@ -245,6 +245,17 @@ FCKConfig.ToolbarSets["Glossary"] = [
['Source']
] ;
FCKConfig.ToolbarSets["LearnPath"] = [
['NewPage','Templates','PageBreak','Preview','-','PasteText','PasteWord','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Find'],
['Link','Unlink','Anchor'],
['Image','imgmapPopup','flvPlayer','Flash','EmbedMovies','YouTube','MP3'],
['Table','CreateDiv','Rule','Smiley','SpecialChar','googlemaps'],
['FontFormat','FontName','FontSize'],
['Bold','Italic','Underline','StrikeThrough'],
['Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'],
['Source']
] ;//save, FitWindow don't run well here
FCKConfig.ToolbarSets["Notebook"] = [
['NewPage','Save','FitWindow','-','PasteText','PasteWord','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Find'],
['Link','Unlink','Anchor'],

@ -192,7 +192,7 @@ api_display_tool_title($nameTools);
(editable by course admins)
-----------------------------------------------------------
*/
//TODO: check see if we need, it seems not working here
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '400';
$fck_attribute['ToolbarSet'] = 'Full';

@ -6565,8 +6565,8 @@ class learnpath {
// online editor should be activated or not.
global $fck_attribute;
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '950';
$fck_attribute['ToolbarSet'] = 'Full';
$fck_attribute['Height'] = '700';
$fck_attribute['ToolbarSet'] = 'LearnPath';
$fck_attribute['Config']['FullPage'] = true;
$relative_path = $extra_info['dir'];
if ($relative_path == 'n/')
@ -8894,4 +8894,4 @@ if (!function_exists('trim_value')) {
}
}
?>
?>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save