small fix

This commit is contained in:
tommy tomson 2012-03-26 07:02:27 +02:00
parent 021c647673
commit 37f02424f8
4 changed files with 7 additions and 11 deletions

View File

@ -46,7 +46,7 @@
</div>
{{ endif }}
{{ if $lastusers_title }}
{{ if $page }}
<div>$page</div>
{{ endif }}

View File

@ -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";

View File

@ -46,7 +46,7 @@
</div>
{{ endif }}
{{ if $lastusers_title }}
{{ if $page }}
<div>$page</div>
{{ endif }}

View File

@ -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;