diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/theme/diabook-blue/communityhome.tpl | 2 | ||||
-rwxr-xr-x | view/theme/diabook-blue/theme.php | 7 | ||||
-rwxr-xr-x | view/theme/diabook/communityhome.tpl | 2 | ||||
-rwxr-xr-x | view/theme/diabook/theme.php | 7 |
4 files changed, 7 insertions, 11 deletions
diff --git a/view/theme/diabook-blue/communityhome.tpl b/view/theme/diabook-blue/communityhome.tpl index 5b807c8ad..5bae06178 100755 --- a/view/theme/diabook-blue/communityhome.tpl +++ b/view/theme/diabook-blue/communityhome.tpl @@ -46,7 +46,7 @@ </div> {{ endif }} -{{ if $lastusers_title }} +{{ if $page }} <div>$page</div> {{ endif }} diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 2c878e6f0..a5f4490ba 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 c1b395dbe..1ba9ad081 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -46,7 +46,7 @@ </div> {{ endif }} -{{ if $lastusers_title }} +{{ if $page }} <div>$page</div> {{ endif }} diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 5b87e3142..5bd206100 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"); -); -); + </script> EOT; |