X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fgreenzero%2Ftheme.php;h=09a63c040d20d07a549c89293687e911f4f71fcf;hb=e5dac2d387c5ef2aa6d12890d32a6e20b9beacd7;hp=af69b150a32d9c2ff5df225058b6a320cfd617f8;hpb=1a1efc7e4614a50a6221e17f0bb4ca48b6d38642;p=friendica.git diff --git a/view/theme/greenzero/theme.php b/view/theme/greenzero/theme.php index af69b150a3..09a63c040d 100644 --- a/view/theme/greenzero/theme.php +++ b/view/theme/greenzero/theme.php @@ -2,6 +2,7 @@ $a->theme_info = array( 'extends' => 'duepuntozero', ); +set_template_engine($a, 'smarty3'); function greenzero_init(&$a) { $a->page['htmlhead'] .= <<< EOT @@ -14,7 +15,8 @@ function insertFormatting(comment,BBcode,id) { $("#comment-edit-text-" + id).addClass("comment-edit-text-full"); $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty"); openMenu("comment-edit-submit-wrapper-" + id); - } + $("#comment-edit-text-" + id).val(tmpStr); + } textarea = document.getElementById("comment-edit-text-" +id); if (document.selection) { @@ -85,4 +87,4 @@ $('.savedsearchterm').hover( EOT; -} \ No newline at end of file +}