aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorWave <wave72@users.noreply.github.com>2016-07-22 10:55:02 +0200
committerGitHub <noreply@github.com>2016-07-22 10:55:02 +0200
commit744ad84714fe0f7a3d90250a4ff02dc4327b9061 (patch)
tree595fb74ec9ea0bc7130d18bd7993d719a222d343 /view/theme/redbasic/php/style.php
parentc38c79d71c8ef70ef649f83e322f1984b75ee2dd (diff)
parent7d897a3f03bd57ed556433eb84a41963ba44e02e (diff)
downloadvolse-hubzilla-744ad84714fe0f7a3d90250a4ff02dc4327b9061.tar.gz
volse-hubzilla-744ad84714fe0f7a3d90250a4ff02dc4327b9061.tar.bz2
volse-hubzilla-744ad84714fe0f7a3d90250a4ff02dc4327b9061.zip
Merge pull request #6 from redmatrix/dev
Dev
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 83c35935a..2db0d4c44 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -153,6 +153,18 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
$x = file_get_contents('view/theme/redbasic/css/style.css');
+ if($narrow_navbar && file_exists('view/theme/redbasic/css/narrow_navbar.css')) {
+ $x .= file_get_contents('view/theme/redbasic/css/narrow_navbar.css');
+ }
+
+ if($align_left && file_exists('view/theme/redbasic/css/align_left.css')) {
+ $x .= file_get_contents('view/theme/redbasic/css/align_left.css');
+ }
+
+ if($schemecss) {
+ $x .= $schemecss;
+ }
+
$aside_width = 287;
// left aside and right aside are 285px + converse width
@@ -204,18 +216,6 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
}
-if($narrow_navbar && file_exists('view/theme/redbasic/css/narrow_navbar.css')) {
- echo file_get_contents('view/theme/redbasic/css/narrow_navbar.css');
-}
-
-if($align_left && file_exists('view/theme/redbasic/css/align_left.css')) {
- echo file_get_contents('view/theme/redbasic/css/align_left.css');
-}
-
-if($schemecss) {
- echo $schemecss;
-}
-
// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'redbasic')