move etemplate2.css to api

This commit is contained in:
Ralf Becker 2016-03-19 15:22:41 +00:00
parent 9b446f7c17
commit d8514e47b9
3 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ class Etemplate extends Etemplate\Widget\Template
$theme = 'redmond';
egw_framework::includeCSS("/phpgwapi/js/jquery/jquery-ui/$theme/jquery-ui-1.10.3.custom.css");
// Load our CSS after jQuery-UI, so we can override it
egw_framework::includeCSS('/etemplate/templates/default/etemplate2.css');
egw_framework::includeCSS('/api/templates/default/etemplate2.css');
// check if application of template has a app.js file --> load it
list($app) = explode('.',$this->name);

View File

@ -1297,7 +1297,7 @@ abstract class egw_framework
self::includeCSS("/phpgwapi/js/jquery/jquery-ui/redmond/jquery-ui.css");
// eTemplate2 - load in top so sidebox has styles too
self::includeCSS('/etemplate/templates/default/etemplate2.css');
self::includeCSS('/api/templates/default/etemplate2.css');
// Category styles
categories::css(categories::GLOBAL_APPNAME);