aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-30 14:58:44 -0700
committerfriendica <info@friendica.com>2012-03-30 14:58:44 -0700
commit007d67a998eb8f26228ddd22bb0323d54af9af8c (patch)
tree01d8d450ccc447b50138f2fa5d7a15e953ac85f6 /view/theme/quattro/style.php
parentf50fb7d6ca47729c7cb464f84b768d56e35b62d6 (diff)
parentbe2005f146fc8d482734ca48ec594bc3f797360c (diff)
downloadvolse-hubzilla-007d67a998eb8f26228ddd22bb0323d54af9af8c.tar.gz
volse-hubzilla-007d67a998eb8f26228ddd22bb0323d54af9af8c.tar.bz2
volse-hubzilla-007d67a998eb8f26228ddd22bb0323d54af9af8c.zip
Merge pull request #188 from fabrixxm/master
Display settings tab and theme settings code
Diffstat (limited to 'view/theme/quattro/style.php')
-rw-r--r--view/theme/quattro/style.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/theme/quattro/style.php b/view/theme/quattro/style.php
new file mode 100644
index 000000000..889ec1530
--- /dev/null
+++ b/view/theme/quattro/style.php
@@ -0,0 +1,9 @@
+<?php
+ $color = get_pconfig(local_user(), "quattro","color");
+
+ if ($color===false) $color="dark";
+
+ if (file_exists("$THEMEPATH/$color/style.css")){
+ echo file_get_contents("$THEMEPATH/$color/style.css");
+ }
+