diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-04-22 22:31:44 +0200 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-04-22 22:31:44 +0200 |
commit | d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db (patch) | |
tree | 690605cdd12a88ba82d123ae6a0a4cfb9cc710d9 /view/theme/diabook/theme.php | |
parent | 9434b447f3302a7f3223fb01f3c71378b8764e92 (diff) | |
download | volse-hubzilla-d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db.tar.gz volse-hubzilla-d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db.tar.bz2 volse-hubzilla-d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db.zip |
diabook-themes: fixed youtube-bug and added "Info/Impressum" to footer
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 84d9f888e..dee9c2890 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -3,13 +3,13 @@ /* * Name: Diabook * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu - * Version: (Version: 1.021) + * Version: (Version: 1.022) * Author: */ //print diabook-version for debugging -$diabook_version = "Diabook (Version: 1.021)"; +$diabook_version = "Diabook (Version: 1.022)"; $a->page['htmlhead'] .= sprintf('<script "%s" ></script>', $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('<link rel="stylesheet" type="text/css" href="%s" />', $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"); |