diff options
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 |