templates.php 368 B

1234567891011121314
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. require_once '../../global.inc.php';
  4. use Chamilo\CoreBundle\Component\Editor\CkEditor\CkEditor;
  5. $template = new Template();
  6. $editor = new CkEditor();
  7. $templates = $editor->simpleFormatTemplates();
  8. $template->assign('templates', $templates);
  9. $template->display('default/javascript/editor/ckeditor/templates.tpl');