[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14276] added jQuery UI theme
From: |
Saul |
Subject: |
[Fmsystem-commits] [14276] added jQuery UI theme |
Date: |
Wed, 04 Nov 2015 00:06:55 +0000 |
Revision: 14276
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14276
Author: psaul
Date: 2015-11-04 00:06:55 +0000 (Wed, 04 Nov 2015)
Log Message:
-----------
added jQuery UI theme
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php
Modified: branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php 2015-11-04
00:02:19 UTC (rev 14275)
+++ branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php 2015-11-04
00:06:55 UTC (rev 14276)
@@ -50,7 +50,11 @@
*/
public static function load_widget($widget) {
$_type = '.min'; // save some download
-
+ if ($GLOBALS['phpgw_info']['flags']['currentapp'] ==
'bookingfrontend') {
+ $theme = 'humanity';
+ } else {
+ $theme = 'ui-lightness';
+ }
$load = array();
switch ($widget) {
case 'core':
@@ -70,7 +74,7 @@
"development-bundle/ui/i18n/jquery.ui.datepicker-{$GLOBALS['phpgw_info']['user']['preferences']['common']['lang']}",
// "js/jquery-migrate-1.2.1"
);
-
$GLOBALS['phpgw']->css->add_external_file("phpgwapi/js/jquery/css/ui-lightness/jquery-ui-1.10.4.custom.css");
+
$GLOBALS['phpgw']->css->add_external_file("phpgwapi/js/jquery/css/{$theme}/jquery-ui-1.10.4.custom.css");
$GLOBALS['phpgw']->css->add_external_file("phpgwapi/js/jquery/css/jquery-ui-timepicker-addon.css");
break;
@@ -92,7 +96,7 @@
// "js/jquery-migrate-1.2.1"
);
-
$GLOBALS['phpgw']->css->add_external_file("phpgwapi/js/jquery/css/ui-lightness/jquery-ui-1.10.4.custom.css");
+
$GLOBALS['phpgw']->css->add_external_file("phpgwapi/js/jquery/css/{$theme}/jquery-ui-1.10.4.custom.css");
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14276] added jQuery UI theme,
Saul <=