Esempio n. 1
0
 function getResources(Ajde_View &$view)
 {
     /* @var $view Ajde_Template_Parser_Phtml_Helper */
     // Library files
     $view->requireJsPublic('_core/crud/editor/ckeditor/lib/ckeditor.js');
     $view->requireJsPublic('_core/crud/editor/ckeditor/lib/adapters/jquery.js');
     // Controller
     $view->requireJs('crud/field/text/ckeditor', 'html', MODULE_DIR . '_core/', Ajde_Document_Format_Html::RESOURCE_POSITION_LAST);
 }
Esempio n. 2
0
 function getResources(Ajde_View &$view)
 {
     /* @var $view Ajde_Template_Parser_Phtml_Helper */
     // Controller
     $view->requireJs('crud/field/text/aloha', 'html', MODULE_DIR . '_core/', Html::RESOURCE_POSITION_LAST);
     // Library files
     $plugins = array('common/format', 'common/highlighteditables', 'common/contenthandler', 'common/list', 'common/link', 'common/table', 'common/undo', 'common/paste');
     $view->requireJsPublic('core/aloha/ajde.js', Html::RESOURCE_POSITION_LAST);
     $view->requireJsPublic('core/aloha/lib/aloha.js', Html::RESOURCE_POSITION_LAST, 'data-aloha-plugins="' . implode(',', $plugins) . '"');
     $view->requireCssPublic('core/aloha/aloha.css');
 }
Esempio n. 3
0
 function getResources(Ajde_View &$view)
 {
     /* @var $view Ajde_Template_Parser_Phtml_Helper */
     // Library files
     $view->requireJsPublic('core/jwysiwyg/jwysiwyg.js');
     $view->requireCssPublic('core/jwysiwyg/jwysiwyg.css');
     // Controller
     $view->requireJs('crud/field/text/jwysiwyg', 'html', MODULE_DIR . '_core/', Html::RESOURCE_POSITION_LAST);
 }