[svn r22212] FS#2867 - The online editor: Disabling the YouTube plugin for students.

skala
Ivan Tcholakov 17 years ago
parent 3fff73278b
commit 96580be15a
  1. 4
      main/inc/lib/fckeditor/myconfig.php

@ -106,7 +106,9 @@ $config['LoadPlugin'][] = 'fckEmbedMovies';
$config['LoadPlugin'][] = 'flvPlayer';
// youtube : Adds a dilog for inserting YouTube video-streams.
$config['LoadPlugin'][] = 'youtube';
if (api_is_allowed_to_edit() || api_is_platform_admin()) { // (not for students)
$config['LoadPlugin'][] = 'youtube';
}
// googlemaps : Adds a dilog for inserting Google maps.
$config['LoadPlugin'][] = 'googlemaps';

Loading…
Cancel
Save