Browse Source

Adding EmbedMovies and YouTube buttons in forums

Julio Montoya 12 years ago
parent
commit
e2bd83af8d

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

@@ -23,7 +23,7 @@ else{
 $config['ToolbarSets']['Normal'] = array(
 $config['ToolbarSets']['Normal'] = array(
 	array('Save','NewPage','Templates','-','PasteWord'),
 	array('Save','NewPage','Templates','-','PasteWord'),
 	array('Undo','Redo'),
 	array('Undo','Redo'),
-	array('Link','Image','flvPlayer','Flash','MP3','TableOC','mimetex','asciimath','asciisvg'),
+	array('Link','Image','flvPlayer','EmbedMovies', 'YouTube', 'Flash','MP3','TableOC','mimetex','asciimath','asciisvg'),
 	array('UnorderedList','OrderedList','Rule'),
 	array('UnorderedList','OrderedList','Rule'),
 	array('Abbr'),
 	array('Abbr'),
 	array('JustifyLeft','JustifyCenter','JustifyFull'),
 	array('JustifyLeft','JustifyCenter','JustifyFull'),

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

@@ -23,7 +23,7 @@ else{
 $config['ToolbarSets']['Normal'] = array(
 $config['ToolbarSets']['Normal'] = array(
 	array('Save','NewPage','Templates','-','PasteWord'),
 	array('Save','NewPage','Templates','-','PasteWord'),
 	array('Undo','Redo'),
 	array('Undo','Redo'),
-	array('Link','Image','flvPlayer','Flash','MP3','TableOC','mimetex','asciimath','asciisvg'),
+	array('Link','Image','flvPlayer','EmbedMovies', 'YouTube', 'Flash','MP3','TableOC','mimetex','asciimath','asciisvg'),
 	array('UnorderedList','OrderedList','Rule'),
 	array('UnorderedList','OrderedList','Rule'),
 	array('JustifyLeft','JustifyCenter','JustifyFull'),
 	array('JustifyLeft','JustifyCenter','JustifyFull'),
 	array('FontFormat','FontName','FontSize','Bold','Italic','Underline','TextColor','BGColor'),
 	array('FontFormat','FontName','FontSize','Bold','Italic','Underline','TextColor','BGColor'),