X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Ftheme.php;h=4acb058e54113084396910ce5038c1c886b5ec88;hb=d52dad3826ebed717dc7a9d24ac670cdd33e16f8;hp=0c83a05676712a1dedea1a61fecdf68fde7d27d8;hpb=533e215a9636888675fc89f92eb9d556db180f1e;p=friendica.git
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 0c83a05676..4acb058e54 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -3,11 +3,14 @@
/*
* 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.013)
+ * Version: (Version: 1.016)
* Author:
*/
+//print diabook-version for debugging
+$diabook_version = "Diabook (Version: 1.016)";
+$a->page['htmlhead'] .= sprintf('', $diabook_version);
//change css on network and profilepages
$cssFile = null;
@@ -285,6 +288,8 @@ if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){
}
}
+
+
//tabs at aside on settings page
if ($a->argv[0] === "settings"){
@@ -340,10 +345,27 @@ if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.cookie.js";
-$a->page['htmlhead'] .= sprintf('', $cookieJS);
+$a->page['htmlhead'] .= sprintf('', $cookieJS);
+
+//load jquery.ae.image.resize.js
+$imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.ae.image.resize.js";
+$a->page['htmlhead'] .= sprintf('', $imageresizeJS);
//js scripts
+//comment-edit-wrapper on photo_view
+if ($a->argv[0].$a->argv[2] === "photos"."image"){
+
+$a->page['htmlhead'] .= '
+';
+
+}
$a->page['htmlhead'] .= '
@@ -354,11 +376,51 @@ $a->page['htmlhead'] .= '
';
+
+$a->page['htmlhead'] .= '
+ ';
+
if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){
$a->page['htmlhead'] .= '
';
+
+
+ if($ccCookie != "8") {
+$a->page['htmlhead'] .= '
+';}
+$a->page['htmlhead'] .= '
+';}
\ No newline at end of file
+ }
+';}
+
+$a->page['htmlhead'] .= '
+
+ ';
\ No newline at end of file