true ); public static function index($content = array()) { $GLOBALS['egw_info']['flags']['currentapp'] = 'etemplate'; $GLOBALS['egw_info']['flags']['app_header'] = 'et2 Widgets'; //'js_link_registry' => True, // Widget browser code egw_framework::validate_file('/etemplate/js/widget_browser.js'); // Include the etemplate2 javascript code egw_framework::validate_file('.', 'etemplate2', 'etemplate'); // Include the jQuery-UI CSS - many more complex widgets use it $theme = 'redmond'; egw_framework::includeCSS("/phpgwapi/js/jquery/jquery-ui/$theme/jquery-ui-1.10.3.custom.css"); egw_framework::includeCSS('/etemplate/templates/default/etemplate2.css'); egw_framework::includeCSS('etemplate','widget_browser',false); // load translations translation::add_app('etemplate'); common::egw_header(); parse_navbar(); echo '
'; common::egw_footer(); } }