Преглед на файлове

Merge pull request #550 from AngelFQC/BT8979

Replace imgmap with mapping plugin in toolbars - refs BT#8979
Angel Fernando Quiroz Campos преди 10 години
родител
ревизия
1e0e789ff0
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php

+ 1 - 2
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php

@@ -57,7 +57,6 @@ class Basic extends Toolbar
 
         if (api_get_setting('enabled_googlemaps') == 'true') {
             $plugins[] = 'leaflet';
-            $plugins[] = 'mapping';
         }
 
         if (api_get_setting('math_asciimathML') == 'true') {
@@ -75,7 +74,7 @@ class Basic extends Toolbar
         }
 
         if (api_get_setting('enabled_imgmap') == 'true') {
-            // Commercial plugin
+            $plugins[] = 'mapping';
         }
 
         if (api_get_setting('block_copy_paste_for_students') == 'true') {