diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-04-26 21:07:46 +0200 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-04-26 21:07:46 +0200 |
commit | 328568943e3b6f3157db71a6e8561cb22c363b03 (patch) | |
tree | f3de32d78b4d5eb726cc9a8c7e99f2827150dbd5 /view | |
parent | 77a0570162aa00bc9695bd7c15636ae56337a0f5 (diff) | |
download | volse-hubzilla-328568943e3b6f3157db71a6e8561cb22c363b03.tar.gz volse-hubzilla-328568943e3b6f3157db71a6e8561cb22c363b03.tar.bz2 volse-hubzilla-328568943e3b6f3157db71a6e8561cb22c363b03.zip |
diabook-themes: small-fix
Diffstat (limited to 'view')
-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/"; |