From 9f1652e29e2ed8be815cae4abf42bde989ffeb22 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 30 Jul 2012 12:04:43 +0200 Subject: Adapt to new default skin folder namimg --- plugins/jqueryui/config.inc.php.dist | 1 + plugins/jqueryui/jqueryui.php | 4 ++-- plugins/jqueryui/package.xml | 32 ++++++++++++++++---------------- 3 files changed, 19 insertions(+), 18 deletions(-) (limited to 'plugins/jqueryui') diff --git a/plugins/jqueryui/config.inc.php.dist b/plugins/jqueryui/config.inc.php.dist index 65c01757a..a3c3f75a0 100644 --- a/plugins/jqueryui/config.inc.php.dist +++ b/plugins/jqueryui/config.inc.php.dist @@ -6,6 +6,7 @@ $rcmail_config['jquery_ui_i18n'] = array('datepicker'); // map Roundcube skins with jquery-ui themes here $rcmail_config['jquery_ui_skin_map'] = array( 'larry' => 'larry', + 'default' => 'larry', 'groupvice4' => 'redmond', ); diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php index 69b9ca1c0..f82a149b8 100644 --- a/plugins/jqueryui/jqueryui.php +++ b/plugins/jqueryui/jqueryui.php @@ -24,7 +24,7 @@ class jqueryui extends rcube_plugin $this->include_script("js/jquery-ui-$version.custom.min.js"); // include UI stylesheet - $skin = $rcmail->config->get('skin', 'default'); + $skin = $rcmail->config->get('skin'); $ui_map = $rcmail->config->get('jquery_ui_skin_map', array()); $ui_theme = $ui_map[$skin] ? $ui_map[$skin] : $skin; @@ -32,7 +32,7 @@ class jqueryui extends rcube_plugin $this->include_stylesheet("themes/$ui_theme/jquery-ui-$version.custom.css"); } else { - $this->include_stylesheet("themes/default/jquery-ui-$version.custom.css"); + $this->include_stylesheet("themes/larry/jquery-ui-$version.custom.css"); } // jquery UI localization diff --git a/plugins/jqueryui/package.xml b/plugins/jqueryui/package.xml index 18f241a2e..1d265169c 100644 --- a/plugins/jqueryui/package.xml +++ b/plugins/jqueryui/package.xml @@ -99,22 +99,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + -- cgit v1.2.3