Browse Source

Minor - Adding "source" fck button

Julio Montoya 12 years ago
parent
commit
5bdb860c51

+ 8 - 7
main/inc/lib/fckeditor/toolbars/default/test_category.php

@@ -1,10 +1,11 @@
 <?php
-	$config['ToolbarSets']['Normal'] = array(	
-	array('Style','FontFormat','FontName','FontSize'),
-  '/',
-	array('Bold','Italic','Underline'),
-  array('SpecialChar', 'mimetex'),
-  array('OrderedList','UnorderedList','-','Outdent','Indent','-','TextColor','BGColor'),
-	array('JustifyLeft','JustifyCenter','JustifyRight','-','Source')
+
+$config['ToolbarSets']['Normal'] = array(
+    array('Style', 'FontFormat', 'FontName', 'FontSize'),
+    '/',
+    array('Bold', 'Italic', 'Underline'),
+    array('SpecialChar', 'mimetex'),
+    array('OrderedList', 'UnorderedList', '-', 'Outdent', 'Indent', '-', 'TextColor', 'BGColor'),
+    array('JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'Source')
 );
 ?>

+ 1 - 1
main/inc/lib/fckeditor/toolbars/default/test_description.php

@@ -1,6 +1,6 @@
 <?php
 // Chamilo LMS
-// See license terms in chamilo/documentation/license.txt
+// See license terms in license.txt
 
 // Training tools
 // Test description

+ 3 - 4
main/inc/lib/fckeditor/toolbars/extended/test_proposed_answer.php

@@ -1,6 +1,6 @@
 <?php
 // Chamilo LMS
-// See license terms in chamilo/documentation/license.txt
+// See license terms in license.txt
 
 // Training tools
 // Test, proposed answer to a question
@@ -13,8 +13,7 @@
 // Hide/show SpellCheck buttom
 if ((api_get_setting('allow_spellcheck') == 'true')) {
 	$VSpellCheck='SpellCheck';
-}
-else{
+} else {
 	$VSpellCheck='';	
 }
 
@@ -26,7 +25,7 @@ $config['ToolbarSets']['Normal'] = array(
 	array('Image','flvPlayer','Flash','MP3','mimetex','asciimath','asciisvg'),
 	array('TableOC'),
 	array('Bold'),
-	array('FitWindow')	
+	array('Source','FitWindow')	
 );
 
 // This is the visible toolbar set when the editor is maximized.

+ 1 - 1
main/inc/lib/fckeditor/toolbars/extended/test_question_description.php

@@ -26,7 +26,7 @@ $config['ToolbarSets']['Normal'] = array(
    	array('UnorderedList','OrderedList','Rule'),
 	array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'),
 	array('FontFormat','FontName','FontSize','Bold','Italic','Underline','TextColor','BGColor'),
-	array('FitWindow')
+	array('Source', 'FitWindow')
 );
 
 // This is the visible toolbar set when the editor is maximized.