From abe44d99c7cdbee506770998b136857bf1811829 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 19 Mar 2012 19:52:35 +0000 Subject: [PATCH] Include jQuery-UI CSS for all --- etemplate/inc/class.etemplate_new.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/inc/class.etemplate_new.inc.php b/etemplate/inc/class.etemplate_new.inc.php index 51659882b0..0e33e93653 100644 --- a/etemplate/inc/class.etemplate_new.inc.php +++ b/etemplate/inc/class.etemplate_new.inc.php @@ -105,6 +105,10 @@ class etemplate_new extends etemplate_widget_template // Include the etemplate2 javascript code egw_framework::validate_file('.', 'etemplate2', 'etemplate'); + // Include the jQuery-UI CSS - many more complex widgets use it + $theme = 'smoothness'; + egw_framework::includeCSS("/phpgwapi/js/jquery/jquery-ui/$theme/jquery-ui-1.8.16.custom.css"); + if (!$this->rel_path) throw new egw_exception_assertion_failed('No (valid) template read!'); // generate new etemplate request object