Browse Source

Fixes introduction tool name

Julio Montoya 10 years ago
parent
commit
fb528d4e66

+ 1 - 1
main/inc/introductionSection.inc.php

@@ -52,7 +52,7 @@ if (!empty($courseId)) {
 $renderer =& $form->defaultRenderer();
 $renderer->setElementTemplate('<div style="width: 80%; margin: 0px auto; padding-bottom: 10px; ">{element}</div>');
 
-$toolbar_set = 'Introduction';
+$toolbar_set = 'IntroductionTool';
 $width = '100%';
 $height = '300';
 

+ 8 - 2
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/IntroductionTool.php

@@ -20,8 +20,14 @@ class IntroductionTool extends Basic
             //array('name' => 'editing',    'groups' =>array('clipboard', 'undo', )),
             //array('name' => 'forms',    'groups' =>array('clipboard', 'undo', )),
             '/',
-            array('name' => 'basicstyles',    'groups' =>array('basicstyles', 'cleanup', )),
-            array('name' => 'paragraph',    'groups' =>array('list', 'indent', 'blocks', 'align' )),
+            array(
+                'name' => 'basicstyles',
+                'groups' => array('basicstyles', 'cleanup',)
+            ),
+            array(
+                'name' => 'paragraph',
+                'groups' => array('list', 'indent', 'blocks', 'align')
+            ),
             array('name' => 'links'),
             array('name' => 'insert'),
             '/',