]> git.mxchange.org Git - friendica.git/commitdiff
small fix
authortommy tomson <thomas.bierey@gmx.de>
Mon, 26 Mar 2012 05:02:27 +0000 (07:02 +0200)
committertommy tomson <thomas.bierey@gmx.de>
Mon, 26 Mar 2012 05:02:27 +0000 (07:02 +0200)
view/theme/diabook-blue/communityhome.tpl
view/theme/diabook-blue/theme.php
view/theme/diabook/communityhome.tpl
view/theme/diabook/theme.php

index 5b807c8ad4edaa3b4c68427cda23b92d6b1978f4..5bae06178884e7e153a75b0c0aefa8d63521baa1 100755 (executable)
@@ -46,7 +46,7 @@
 </div>
 {{ endif }}
 
-{{ if $lastusers_title }}
+{{ if $page }}
 <div>$page</div>
 {{ endif }}
 
index 2c878e6f055693156e4a23fe092b5da81c17f61a..a5f4490bac12d6c614ba0d72f623b5a48fc06da4 100755 (executable)
@@ -18,7 +18,7 @@ $cssFile = null;
 /**
  * prints last community activity
  */
-function diabook_community_info(){
+function diabook_blue_community_info(){
        $a = get_app();
        //right_aside at networkpages
 
@@ -170,6 +170,7 @@ function diabook_community_info(){
        if (sizeof($contacts) > 0)
                
                $aside['$page'] = $page;
+               
   //END Community Page            
    
    
@@ -214,7 +215,7 @@ if ($a->argv[0] === "network" && local_user()){
        }
        
        // COMMUNITY
-       diabook_community_info();
+       diabook_blue_community_info();
        
        // CUSTOM CSS
        $cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/style-network.css";
@@ -227,7 +228,7 @@ if ($a->argv[0] === "network" && local_user()){
 if ($a->argv[0] === "profile"){
        
        // COMMUNITY
-       diabook_community_info();
+       diabook_blue_community_info();
        
        // CUSTOM CSS
        $cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/style-profile.css";
index c1b395dbef02e54caa19410ba62ec6a32dc2cc66..1ba9ad081a610f759a7ae5b30c19351ba9c655e0 100755 (executable)
@@ -46,7 +46,7 @@
 </div>
 {{ endif }}
 
-{{ if $lastusers_title }}
+{{ if $page }}
 <div>$page</div>
 {{ endif }}
 
index 5b87e314248600a59aae801abea506f905fb74ba..5bd20610071468ea03b0d05aec72629dcc2eb852 100755 (executable)
@@ -252,12 +252,7 @@ $a->page['htmlhead'] .= <<< EOT
        $('a.lightbox').fancybox(); // Select all links with lightbox class
  });
  
- $(document).ready(function ()
-$('iframe').each(function()
-var url = $(this).attr("src");
-$(this).attr("src",url+"?wmode=transparent");
-);
-);
  
  </script>
 EOT;