diff options
author | Michael <icarus@dabo.de> | 2012-04-14 13:03:40 +0200 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-04-14 13:03:40 +0200 |
commit | 188829ed46be6d3c7a91380226e26e8292c327be (patch) | |
tree | 2fb4148bc2222cf198309f4025862080c89fe36b /view/theme/diabook/theme.php | |
parent | 7384786d4417ddd051b7daa71c019d3c551efc68 (diff) | |
parent | 0d869ceb65badbd4d80dd0d5cf2d631bca7f5b9e (diff) | |
download | volse-hubzilla-188829ed46be6d3c7a91380226e26e8292c327be.tar.gz volse-hubzilla-188829ed46be6d3c7a91380226e26e8292c327be.tar.bz2 volse-hubzilla-188829ed46be6d3c7a91380226e26e8292c327be.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 13 |
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) { |