diff options
author | friendica <info@friendica.com> | 2012-04-06 05:12:18 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-06 05:12:18 -0700 |
commit | 533e215a9636888675fc89f92eb9d556db180f1e (patch) | |
tree | a046210406b8bfc78748e403b252941133ee9123 /view/theme/diabook/theme.php | |
parent | 13dfb4012894c3bd724f12d75f4de7c1cce9529a (diff) | |
parent | 9cff2e36cffc5b7d1096c1710396bbce16bd3375 (diff) | |
download | volse-hubzilla-533e215a9636888675fc89f92eb9d556db180f1e.tar.gz volse-hubzilla-533e215a9636888675fc89f92eb9d556db180f1e.tar.bz2 volse-hubzilla-533e215a9636888675fc89f92eb9d556db180f1e.zip |
Merge branch 'pull'
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x[-rw-r--r--] | view/theme/diabook/theme.php | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 50a7c6974..0c83a0567 100644..100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -3,7 +3,7 @@ /* * 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.012) + * Version: (Version: 1.013) * Author: */ @@ -339,9 +339,10 @@ if ($a->argv[0] === "settings"){ if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile); //load jquery.cookie.js -$cookieJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/js/jquery.cookie.js"; +$cookieJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.cookie.js"; $a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></script>', $cookieJS); + //js scripts $a->page['htmlhead'] .= ' @@ -350,15 +351,9 @@ $a->page['htmlhead'] .= ' $(function() { $("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>'; - + if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){ $a->page['htmlhead'] .= ' |