]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/theme.php
Merge remote branch 'upstream/master'
[friendica.git] / view / theme / diabook / theme.php
index 25808d7e938d09ab7c0b931634c52b5c97004cb8..feb140abb88e29ccfcc977af70ed2aa699327e1f 100755 (executable)
@@ -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