diff --git a/view/templates/search_item.tpl b/view/templates/search_item.tpl index c6938e29e..0c1d63503 100644 --- a/view/templates/search_item.tpl +++ b/view/templates/search_item.tpl @@ -47,9 +47,9 @@
- {{if $item.drop.dropping}}{{/if}} + {{if $item.drop && $item.drop.dropping}}{{/if}}
- {{if $item.drop.pagedrop}}{{/if}} + {{if $item.drop && $item.drop.pagedrop}}{{/if}}
diff --git a/view/templates/wall_thread.tpl b/view/templates/wall_thread.tpl index d0e3b51ea..763a68bde 100644 --- a/view/templates/wall_thread.tpl +++ b/view/templates/wall_thread.tpl @@ -121,9 +121,9 @@ {{/if}}
- {{if $item.drop.dropping}}{{/if}} + {{if $item.drop && $item.drop.dropping}}{{/if}}
- {{if $item.drop.pagedrop}}{{/if}} + {{if $item.drop && $item.drop.pagedrop}}{{/if}}
diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index 2fbff14d7..39e66751f 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -1,6 +1,6 @@ @@ -245,7 +245,7 @@ {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}}
  • {{$item.drop.delete}}
  • @@ -270,7 +270,7 @@ {{/if}} - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 8f03cb5c9..55858d811 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -336,7 +336,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{* Put additional actions in a dropdown menu *}} - {{if $item.menu && ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread || $item.ignore || $item.drop.dropping)}} + {{if $item.menu && ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread || $item.ignore || ($item.drop && $item.drop.dropping))}} @@ -385,7 +385,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} - {{if ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread) && ($item.ignore || $item.drop.dropping)}} + {{if ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread) && ($item.ignore || ($item.drop && $item.drop.dropping))}} {{/if}} @@ -398,7 +398,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}}
  • {{$item.drop.delete}}
  • @@ -429,7 +429,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} @@ -506,7 +506,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} - {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread || $item.ignore || $item.drop.dropping}} + {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread || $item.ignore || ($item.drop && $item.drop.dropping)}} {{/if}} - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl index 903138874..b5c6af7e7 100644 --- a/view/theme/quattro/templates/search_item.tpl +++ b/view/theme/quattro/templates/search_item.tpl @@ -71,10 +71,10 @@
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{$item.drop.delete}} {{/if}} {{if $item.edpost}} diff --git a/view/theme/quattro/templates/wall_item_tag.tpl b/view/theme/quattro/templates/wall_item_tag.tpl index 5f2021b3e..3aa9d3ad4 100644 --- a/view/theme/quattro/templates/wall_item_tag.tpl +++ b/view/theme/quattro/templates/wall_item_tag.tpl @@ -40,10 +40,10 @@ {{$item.ago}} {{$item.body_html nofilter}}
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{$item.drop.delete}} {{/if}}
    diff --git a/view/theme/quattro/templates/wall_thread.tpl b/view/theme/quattro/templates/wall_thread.tpl index 29dae72b4..1382222c1 100644 --- a/view/theme/quattro/templates/wall_thread.tpl +++ b/view/theme/quattro/templates/wall_thread.tpl @@ -145,10 +145,10 @@
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{$item.drop.delete}} {{/if}} {{if $item.edpost}} diff --git a/view/theme/smoothly/templates/search_item.tpl b/view/theme/smoothly/templates/search_item.tpl index 7675c2db1..94d713267 100644 --- a/view/theme/smoothly/templates/search_item.tpl +++ b/view/theme/smoothly/templates/search_item.tpl @@ -26,9 +26,9 @@
    - {{if $item.drop.dropping}}{{/if}} + {{if $item.drop && $item.drop.dropping}}{{/if}}
    - {{if $item.drop.pagedrop}}{{/if}} + {{if $item.drop && $item.drop.pagedrop}}{{/if}}
    diff --git a/view/theme/smoothly/templates/wall_thread.tpl b/view/theme/smoothly/templates/wall_thread.tpl index 773938f3c..53602cc8f 100644 --- a/view/theme/smoothly/templates/wall_thread.tpl +++ b/view/theme/smoothly/templates/wall_thread.tpl @@ -135,12 +135,12 @@ {{/if}}
    - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{/if}}
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} diff --git a/view/theme/vier/templates/search_item.tpl b/view/theme/vier/templates/search_item.tpl index 44fb6804d..2441c80fe 100644 --- a/view/theme/vier/templates/search_item.tpl +++ b/view/theme/vier/templates/search_item.tpl @@ -75,10 +75,10 @@
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{$item.drop.delete}} {{/if}} {{if $item.edpost}} diff --git a/view/theme/vier/templates/wall_item_tag.tpl b/view/theme/vier/templates/wall_item_tag.tpl index 01207ab11..c12cb7085 100644 --- a/view/theme/vier/templates/wall_item_tag.tpl +++ b/view/theme/vier/templates/wall_item_tag.tpl @@ -40,10 +40,10 @@ {{$item.ago}} {{$item.body_html nofilter}}
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{$item.drop.delete}} {{/if}}
    diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index f2bd02e7e..7d851d001 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -162,10 +162,10 @@
    - {{if $item.drop.pagedrop}} + {{if $item.drop && $item.drop.pagedrop}} {{/if}} - {{if $item.drop.dropping}} + {{if $item.drop && $item.drop.dropping}} {{$item.drop.delete}} {{/if}} {{if $item.edpost}}