diff options
author | friendica <info@friendica.com> | 2012-04-26 15:35:25 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-26 15:35:25 -0700 |
commit | 2d94d216a3869827f890cbc2ca71f8b3d8ad935f (patch) | |
tree | 5a6a7df85b48f27ddefea6f0badc81fd13095221 /view/theme/diabook/theme.php | |
parent | f8e7f28f403336dc288ab53eba1834de26790598 (diff) | |
parent | 3ee998dbaf83e92dd1ceaee4d35ca942210c5e24 (diff) | |
download | volse-hubzilla-2d94d216a3869827f890cbc2ca71f8b3d8ad935f.tar.gz volse-hubzilla-2d94d216a3869827f890cbc2ca71f8b3d8ad935f.tar.bz2 volse-hubzilla-2d94d216a3869827f890cbc2ca71f8b3d8ad935f.zip |
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 073e270ef..c45db9884 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -14,12 +14,17 @@ $a->page['htmlhead'] .= sprintf('<script "%s" ></script>', $diabook_version); //change css on network and profilepages $cssFile = null; + $resolution=false; $resolution = get_pconfig(local_user(), "diabook", "resolution"); if ($resolution===false) $resolution="normal"; + $color = false; -$color = get_pconfig(local_user(), "diabook", "color"); +$site_color = get_config("diabook", "color" ); +if (local_user()) {$color = get_pconfig(local_user(), "diabook", "color");} +if ($color===false) $color=$site_color; if ($color===false) $color="diabook"; + if ($color=="diabook") $color_path = "/"; if ($color=="aerith") $color_path = "/diabook-aerith/"; if ($color=="blue") $color_path = "/diabook-blue/"; |