From b50f1f970f6c96e45f695c69f8a40ea0bcc0dfcd Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 8 Jan 2017 02:13:55 +1100 Subject: [PATCH] Use placeholder attribute for Comment message - Remove global aStr.comment - Remove global window.commentEmptyText - Remove head.tpl $comment parameter --- boot.php | 1 - view/templates/comment_item.tpl | 2 +- view/templates/head.tpl | 12 ++++-------- view/templates/moderated_comment.tpl | 2 +- .../duepuntozero/templates/comment_item.tpl | 2 +- .../templates/moderated_comment.tpl | 2 +- view/theme/frio/js/filebrowser.js | 3 +-- view/theme/frio/js/textedit.js | 18 ++++++------------ view/theme/frio/templates/comment_item.tpl | 2 +- view/theme/frio/templates/js_strings.tpl | 1 - view/theme/frost-mobile/js/theme.js | 12 ++++-------- .../frost-mobile/templates/comment_item.tpl | 4 ++-- view/theme/frost-mobile/templates/head.tpl | 1 - .../templates/moderated_comment.tpl | 2 +- view/theme/frost/js/theme.js | 12 ++++-------- view/theme/frost/templates/comment_item.tpl | 4 ++-- view/theme/frost/templates/head.tpl | 1 - .../frost/templates/moderated_comment.tpl | 2 +- view/theme/quattro/templates/comment_item.tpl | 11 ++++++----- view/theme/vier/templates/comment_item.tpl | 2 +- 20 files changed, 37 insertions(+), 59 deletions(-) diff --git a/boot.php b/boot.php index aad8813766..2dce765cad 100644 --- a/boot.php +++ b/boot.php @@ -971,7 +971,6 @@ class App { '$local_user' => local_user(), '$generator' => 'Friendica' . ' ' . FRIENDICA_VERSION, '$delitem' => t('Delete this item?'), - '$comment' => t('Comment'), '$showmore' => t('show more'), '$showfewer' => t('show fewer'), '$update_interval' => $interval, diff --git a/view/templates/comment_item.tpl b/view/templates/comment_item.tpl index a0fd805bcc..63ec5d728b 100644 --- a/view/templates/comment_item.tpl +++ b/view/templates/comment_item.tpl @@ -17,7 +17,7 @@ {{$mytitle}}
- + {{if $qcomment}} - +