diff --git a/view/theme/diabook-blue/communityhome.tpl b/view/theme/diabook-blue/communityhome.tpl index 5b807c8ad4..5bae061788 100755 --- a/view/theme/diabook-blue/communityhome.tpl +++ b/view/theme/diabook-blue/communityhome.tpl @@ -46,7 +46,7 @@ {{ endif }} -{{ if $lastusers_title }} +{{ if $page }}
$page
{{ endif }} diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 2c878e6f05..a5f4490bac 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -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"; diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl index c1b395dbef..1ba9ad081a 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -46,7 +46,7 @@ {{ endif }} -{{ if $lastusers_title }} +{{ if $page }}
$page
{{ endif }} diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 5b87e31424..5bd2061007 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -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"); -); -); + EOT;