aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-10-20 01:22:51 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-10-20 01:22:51 +0200
commit2db45695e8067e49eb4c8a6d8044cd9cac7f07e5 (patch)
tree7a1029e10578e99f0dbbef6e22c42eb784ddd9d1 /view/theme/redbasic/php/style.php
parentc0789bdb4fc7412efd5e2fb1e15b63d359a74cfa (diff)
parent49fb6326e0e978f57b2f988935af6e8e3d2f4417 (diff)
downloadvolse-hubzilla-2db45695e8067e49eb4c8a6d8044cd9cac7f07e5.tar.gz
volse-hubzilla-2db45695e8067e49eb4c8a6d8044cd9cac7f07e5.tar.bz2
volse-hubzilla-2db45695e8067e49eb4c8a6d8044cd9cac7f07e5.zip
Merge upstream
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 0c17140a6..c4bd2e15a 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -1,5 +1,4 @@
<?php
-
// Get the UID of the channel owner
$uid = get_theme_uid();
@@ -30,14 +29,14 @@
// not --- like the mobile theme does instead.
if (($schema) && ($schema != '---')) {
- $schemefile = 'view/theme/' . current_theme() . '/schema/' . $schema . '.php';
+ $schemefile = 'view/theme/redbasic/schema/' . $schema . '.php';
require_once ($schemefile);
}
// If we haven't got a schema, load the default. We shouldn't touch this - we
// should leave it for admins to define for themselves.
if (! $schema) {
- if(file_exists('view/theme/' . current_theme() . '/schema/default.php')) {
- $schemefile = 'view/theme/' . current_theme() . '/schema/' . 'default.php';
+ if(file_exists('view/theme/redbasic/schema/default.php')) {
+ $schemefile = 'view/theme/redbasic/schema/' . 'default.php';
require_once ($schemefile);
}
}
@@ -100,8 +99,8 @@
// Apply the settings
- if(file_exists('view/theme/' . current_theme() . '/css/style.css')) {
- $x = file_get_contents('view/theme/' . current_theme() . '/css/style.css');
+ if(file_exists('view/theme/redbasic/css/style.css')) {
+ $x = file_get_contents('view/theme/redbasic/css/style.css');
$options = array (
'$nav_bg_1' => $nav_bg_1,