From da2ce5c4f493e0cfe57a9ecc8229e51ed94d3a33 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 10 May 2021 18:56:07 -0400 Subject: [PATCH] Fix undefined tamplate variables in comment_item.tpl - Remove unused "type" hidden field in comment form - Remove unused moderated_comment.tpl files --- include/conversation.php | 1 + view/templates/comment_item.tpl | 1 - view/templates/moderated_comment.tpl | 34 ----------- .../duepuntozero/templates/comment_item.tpl | 1 - .../templates/moderated_comment.tpl | 61 ------------------- view/theme/frio/templates/comment_item.tpl | 1 - view/theme/quattro/templates/comment_item.tpl | 1 - view/theme/vier/templates/comment_item.tpl | 1 - 8 files changed, 1 insertion(+), 100 deletions(-) delete mode 100644 view/templates/moderated_comment.tpl delete mode 100644 view/theme/duepuntozero/templates/moderated_comment.tpl diff --git a/include/conversation.php b/include/conversation.php index 0a8f5cfc3..57d368e92 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1212,6 +1212,7 @@ function status_editor(App $a, $x, $notes_cid = 0, $popup = false) '$edimg' => DI::l10n()->t('Image'), '$edurl' => DI::l10n()->t('Link'), '$edattach' => DI::l10n()->t('Link or Media'), + '$edvideo' => DI::l10n()->t('Video'), '$setloc' => DI::l10n()->t('Set your location'), '$shortsetloc' => DI::l10n()->t('set location'), '$noloc' => DI::l10n()->t('Clear browser location'), diff --git a/view/templates/comment_item.tpl b/view/templates/comment_item.tpl index 977a5b75b..856637e26 100644 --- a/view/templates/comment_item.tpl +++ b/view/templates/comment_item.tpl @@ -5,7 +5,6 @@
{{/if}}
- {{**}} diff --git a/view/templates/moderated_comment.tpl b/view/templates/moderated_comment.tpl deleted file mode 100644 index 39dbbde47..000000000 --- a/view/templates/moderated_comment.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -
- - - - - - - -
- {{$mytitle}} -
-
- - - -
- - -
- - -
diff --git a/view/theme/duepuntozero/templates/comment_item.tpl b/view/theme/duepuntozero/templates/comment_item.tpl index cd14b253c..1d416fdf1 100644 --- a/view/theme/duepuntozero/templates/comment_item.tpl +++ b/view/theme/duepuntozero/templates/comment_item.tpl @@ -5,7 +5,6 @@
{{/if}}
- {{**}} diff --git a/view/theme/duepuntozero/templates/moderated_comment.tpl b/view/theme/duepuntozero/templates/moderated_comment.tpl deleted file mode 100644 index 197d1281d..000000000 --- a/view/theme/duepuntozero/templates/moderated_comment.tpl +++ /dev/null @@ -1,61 +0,0 @@ - -
- - - - - - - -
- {{$mytitle}} -
-
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
-
- - -
- - -
- - -
diff --git a/view/theme/frio/templates/comment_item.tpl b/view/theme/frio/templates/comment_item.tpl index d4284d39b..aab6aee94 100644 --- a/view/theme/frio/templates/comment_item.tpl +++ b/view/theme/frio/templates/comment_item.tpl @@ -5,7 +5,6 @@
{{/if}}
- {{**}} diff --git a/view/theme/quattro/templates/comment_item.tpl b/view/theme/quattro/templates/comment_item.tpl index 1fa4e333e..cb6f4ad2f 100644 --- a/view/theme/quattro/templates/comment_item.tpl +++ b/view/theme/quattro/templates/comment_item.tpl @@ -1,6 +1,5 @@
- {{**}} diff --git a/view/theme/vier/templates/comment_item.tpl b/view/theme/vier/templates/comment_item.tpl index 0e2cbb5bb..ef48ac7ef 100644 --- a/view/theme/vier/templates/comment_item.tpl +++ b/view/theme/vier/templates/comment_item.tpl @@ -5,7 +5,6 @@
{{/if}} - {{**}}