diff options
author | zottel <github@zottel.net> | 2012-03-23 13:29:02 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-23 13:29:02 +0100 |
commit | 14f81eca00a28064ed33f1c234b6ae2e034c17cd (patch) | |
tree | 95bb8a727235a8e22ed81440359fe71c4e09f6c4 /view/theme/diabook/theme.php | |
parent | 5fadf68fb4e4a6e0fde6fbf82ad7600c8ca12c04 (diff) | |
parent | c35b9ec24f1449a691afeeb985a41fbaf07b2af1 (diff) | |
download | volse-hubzilla-14f81eca00a28064ed33f1c234b6ae2e034c17cd.tar.gz volse-hubzilla-14f81eca00a28064ed33f1c234b6ae2e034c17cd.tar.bz2 volse-hubzilla-14f81eca00a28064ed33f1c234b6ae2e034c17cd.zip |
Merge remote branch 'upstream/master'
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 |