aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authortomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net>2012-04-06 04:29:01 -0700
committertomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net>2012-04-06 04:29:01 -0700
commitadf3ad5fd668633dcaf16be875f87bd1fcacfc8f (patch)
tree13c32b977cd993d035c43a4a0fff342b43ae6555 /view/theme/diabook/theme.php
parent4f9588d9eeb0dea7d824760f899094f0c98763c3 (diff)
parentf980b79edcff78a849d65de15f36f2b0475665d7 (diff)
downloadvolse-hubzilla-adf3ad5fd668633dcaf16be875f87bd1fcacfc8f.tar.gz
volse-hubzilla-adf3ad5fd668633dcaf16be875f87bd1fcacfc8f.tar.bz2
volse-hubzilla-adf3ad5fd668633dcaf16be875f87bd1fcacfc8f.zip
Merge pull request #210 from tomtom84/master
fixes in diabook-derivates
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x[-rw-r--r--]view/theme/diabook/theme.php15
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'] .= '