aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-26 07:02:27 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-03-26 07:02:27 +0200
commit37f02424f801b3132b75b39d4132f35025667a75 (patch)
treee1714c8fca95087ff97a844688c40ade60c3b8ef /view/theme
parent021c64767350d9ae2d95b57de5b6250c729b3dc6 (diff)
downloadvolse-hubzilla-37f02424f801b3132b75b39d4132f35025667a75.tar.gz
volse-hubzilla-37f02424f801b3132b75b39d4132f35025667a75.tar.bz2
volse-hubzilla-37f02424f801b3132b75b39d4132f35025667a75.zip
small fix
Diffstat (limited to 'view/theme')
-rwxr-xr-xview/theme/diabook-blue/communityhome.tpl2
-rwxr-xr-xview/theme/diabook-blue/theme.php7
-rwxr-xr-xview/theme/diabook/communityhome.tpl2
-rwxr-xr-xview/theme/diabook/theme.php7
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;