diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-03-23 10:16:11 +0100 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-03-23 10:16:11 +0100 |
commit | c35b9ec24f1449a691afeeb985a41fbaf07b2af1 (patch) | |
tree | 95bb8a727235a8e22ed81440359fe71c4e09f6c4 /view/theme/diabook/theme.php | |
parent | 7706a8f9d8d71b89c791f31f957496b95b8bb31f (diff) | |
download | volse-hubzilla-c35b9ec24f1449a691afeeb985a41fbaf07b2af1.tar.gz volse-hubzilla-c35b9ec24f1449a691afeeb985a41fbaf07b2af1.tar.bz2 volse-hubzilla-c35b9ec24f1449a691afeeb985a41fbaf07b2af1.zip |
fix in css right_aside
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 25808d7e9..feb140abb 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -274,9 +274,24 @@ if($is_url = preg_match ("/\bprofile\b/i", $_SERVER['REQUEST_URI'])) { } +//change css on network and profilepages +$cssFile = null; + +if($is_url = preg_match ("/\bnetwork\b/i", $_SERVER['REQUEST_URI'])) { + $cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-network.css"; + } + +if($is_url = preg_match ("/\bprofile\b/i", $_SERVER['REQUEST_URI'])) { + $cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-profile.css"; + } + + + //js scripts $a->page['htmlhead'] .= <<< EOT +<link rel="stylesheet" type="text/css" href="$cssFile" /> + <script> //contacts |