From c0a377e0de2a71197152281b61d5e8518dab1356 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 22 Apr 2012 12:59:00 +0200 Subject: diabook-themes: comment-bbcode-bugfix --- view/theme/diabook/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme/diabook/theme.php') diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index e8518a1c6..84d9f888e 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -480,7 +480,7 @@ function close_lastlikes(){ $a->page['htmlhead'] .= ' ', $diabook_version); //change css on network and profilepages @@ -291,7 +291,9 @@ if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){ // custom css if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('', $cssFile); - +//footer +$tpl = get_markup_template('footer.tpl'); +$a->page['footer'] .= replace_macros($tpl, array()); //load jquery.cookie.js $cookieJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.cookie.js"; @@ -360,7 +362,8 @@ $(document).ready(function() { }); function yt_iframe() { - + + $("iframe").load(function() { var ifr_src = $(this).contents().find("body iframe").attr("src"); $("iframe").contents().find("body iframe").attr("src", ifr_src+"&wmode=transparent"); -- cgit v1.2.3 From e74ae8b0310fd4b638ff5da674ba16b47fc5f294 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 22 Apr 2012 23:58:34 +0200 Subject: diabook-themes: bugfix --- view/theme/diabook/theme.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'view/theme/diabook/theme.php') diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index dee9c2890..269015d0a 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -357,6 +357,11 @@ $(document).ready(function() { } else $(this).attr("src",ifr_source+"?"+wmode); }); + + $("a[href=#top]").click(function() { + $("html, body").animate({scrollTop:0}, "slow"); + return false; + }); }); -- cgit v1.2.3