aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/style.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-03-30 21:21:14 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2012-03-30 21:21:14 +0200
commitbe2005f146fc8d482734ca48ec594bc3f797360c (patch)
tree01d8d450ccc447b50138f2fa5d7a15e953ac85f6 /view/theme/quattro/style.php
parent01af7d355a0dfdf19db7acf3b5b06b683c58531e (diff)
downloadvolse-hubzilla-be2005f146fc8d482734ca48ec594bc3f797360c.tar.gz
volse-hubzilla-be2005f146fc8d482734ca48ec594bc3f797360c.tar.bz2
volse-hubzilla-be2005f146fc8d482734ca48ec594bc3f797360c.zip
quattro: move quattro-green inside quattro folder.
Add config option to select quattro color scheme.
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");
+ }
+