aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-12 05:47:57 -0700
committerfriendica <info@friendica.com>2012-04-12 05:47:57 -0700
commit23b08e3ea79936ecee0a061e38a08145f3fca1da (patch)
tree6f2fa30889c7935bb3f70da10ff5d33f4700fa09 /view/theme/quattro/style.php
parent815a727076210e6fd7edd6815c33e4bc56e674c6 (diff)
parent309f2bfa5f85e80e94d6ee177496c5a095201943 (diff)
downloadvolse-hubzilla-23b08e3ea79936ecee0a061e38a08145f3fca1da.tar.gz
volse-hubzilla-23b08e3ea79936ecee0a061e38a08145f3fca1da.tar.bz2
volse-hubzilla-23b08e3ea79936ecee0a061e38a08145f3fca1da.zip
Merge pull request #228 from fabrixxm/master
settings tabs, notifications js and quattro
Diffstat (limited to 'view/theme/quattro/style.php')
-rw-r--r--view/theme/quattro/style.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/view/theme/quattro/style.php b/view/theme/quattro/style.php
index 889ec1530..b6104a170 100644
--- a/view/theme/quattro/style.php
+++ b/view/theme/quattro/style.php
@@ -1,5 +1,9 @@
<?php
- $color = get_pconfig(local_user(), "quattro","color");
+ $color = false;
+ if (local_user()) {
+ $color = get_pconfig(local_user(), "quattro","color");
+ $quattro_align = get_pconfig(local_user(), 'quattro', 'align' );
+ }
if ($color===false) $color="dark";
@@ -7,3 +11,13 @@
echo file_get_contents("$THEMEPATH/$color/style.css");
}
+
+ if($quattro_align=="center"){
+ echo "
+ html { width: 100%; margin:0px; padding:0px; }
+ body {
+ margin: 50px auto;
+ width: 900px;
+ }
+ ";
+ }