[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15953] more on templates
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15953] more on templates |
Date: |
Fri, 4 Nov 2016 14:29:01 +0000 (UTC) |
Revision: 15953
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15953
Author: sigurdne
Date: 2016-11-04 14:29:01 +0000 (Fri, 04 Nov 2016)
Log Message:
-----------
more on templates
Modified Paths:
--------------
trunk/phpgwapi/templates/bookingfrontend/head.inc.php
Added Paths:
-----------
trunk/phpgwapi/templates/bookingfrontend/themes/
trunk/phpgwapi/templates/bookingfrontend/themes/bergen_kommune.css
Modified: trunk/phpgwapi/templates/bookingfrontend/head.inc.php
===================================================================
--- trunk/phpgwapi/templates/bookingfrontend/head.inc.php 2016-11-04
09:44:12 UTC (rev 15952)
+++ trunk/phpgwapi/templates/bookingfrontend/head.inc.php 2016-11-04
14:29:01 UTC (rev 15953)
@@ -52,9 +52,15 @@
$stylesheets[] =
"/phpgwapi/js/DataTables/extensions/Responsive/css/responsive.dataTables.min.css";
$stylesheets[] = "/phpgwapi/templates/portico/css/base.css";
$stylesheets[] = "/{$app}/templates/base/css/base.css";
+ $stylesheets[] = "/bookingfrontend/css/bookingfrontend.css";
$stylesheets[] = "/phpgwapi/templates/bookingfrontend/css/frontend.css";
- $stylesheets[] = "/bookingfrontend/css/bookingfrontend.css";
+
if(isset($GLOBALS['phpgw_info']['user']['preferences']['common']['theme']))
+ {
+ $stylesheets[] =
"/phpgwapi/templates/bookingfrontend/themes/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css";
+ $stylesheets[] =
"/{$app}/templates/bookingfrontend/themes/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css";
+ }
+
foreach ( $stylesheets as $stylesheet )
{
if( file_exists( PHPGW_SERVER_ROOT . $stylesheet ) )
Added: trunk/phpgwapi/templates/bookingfrontend/themes/bergen_kommune.css
===================================================================
--- trunk/phpgwapi/templates/bookingfrontend/themes/bergen_kommune.css
(rev 0)
+++ trunk/phpgwapi/templates/bookingfrontend/themes/bergen_kommune.css
2016-11-04 14:29:01 UTC (rev 15953)
@@ -0,0 +1,5 @@
+/*
+ *
+ * Theme
+ */
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15953] more on templates,
sigurdne <=