Actualización
This commit is contained in:
16
main/inc/lib/elfinder/templates.php
Normal file
16
main/inc/lib/elfinder/templates.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
use Chamilo\CoreBundle\Component\Editor\CkEditor\CkEditor;
|
||||
|
||||
require_once __DIR__.'/../../global.inc.php';
|
||||
|
||||
$template = new Template();
|
||||
|
||||
$editor = new CkEditor();
|
||||
|
||||
$templates = $editor->simpleFormatTemplates();
|
||||
|
||||
$template->assign('templates', $templates);
|
||||
header('Content-type: application/x-javascript');
|
||||
$template->display('default/javascript/editor/ckeditor/templates.tpl');
|
||||
Reference in New Issue
Block a user