aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-14 13:15:25 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-14 13:15:25 +0200
commit4e220ec391514fbdeaa7d64abfd1752a9b44bbaa (patch)
tree1cb3cb621221e948be9e0e91916aac0dd6fccb0e /view/theme/diabook/theme.php
parent572678fef95816deaa1ecafe5cbcfb8cc65963c9 (diff)
parent0d869ceb65badbd4d80dd0d5cf2d631bca7f5b9e (diff)
downloadvolse-hubzilla-4e220ec391514fbdeaa7d64abfd1752a9b44bbaa.tar.gz
volse-hubzilla-4e220ec391514fbdeaa7d64abfd1752a9b44bbaa.tar.bz2
volse-hubzilla-4e220ec391514fbdeaa7d64abfd1752a9b44bbaa.zip
Merge commit 'upstream/master'
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 612650e90..b039e1b82 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.017)
+ * Version: (Version: 1.018)
* Author:
*/
//print diabook-version for debugging
-$diabook_version = "Diabook (Version: 1.017)";
+$diabook_version = "Diabook (Version: 1.018)";
$a->page['htmlhead'] .= sprintf('<script "%s" ></script>', $diabook_version);
//change css on network and profilepages
@@ -469,18 +469,19 @@ function restore_boxes(){
}
</script>';}
+
$a->page['htmlhead'] .= '
-<script type="text/javascript">
-function insertFormatting(BBcode,id) {
+<script>
+function insertFormatting(comment,BBcode,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
- if(tmpStr == "Kommentar") {
+ if(tmpStr == comment) {
tmpStr = "";
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
openMenu("comment-edit-submit-wrapper-" + id);
- }
+ }
textarea = document.getElementById("comment-edit-text-" +id);
if (document.selection) {