true ); public static function index() { $GLOBALS['egw_info']['flags']['currentapp'] = 'etemplate'; $GLOBALS['egw_info']['flags']['app_header'] = 'et2 Widgets'; //'js_link_registry' => True, // Widget browser code Api\Framework::includeJS('/api/js/etemplate/widget_browser.js'); // Include the etemplate2 javascript code Api\Framework::includeJS('.', 'etemplate2', 'etemplate'); // Include the jQuery-UI CSS - many more complex widgets use it $theme = 'redmond'; Api\Framework::includeCSS("/vendor/bower-asset/jquery-ui/themes/$theme/jquery-ui-1.10.3.custom.css"); Api\Framework::includeCSS('/api/templates/default/etemplate2.css'); Api\Framework::includeCSS('api','widget_browser',false); // load translations Api\Translation::add_app('etemplate'); $GLOBALS['egw']->framework->render('
'); } }