diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js
index fcf99dc5e..18215d5d5 100644
--- a/view/theme/frio/js/theme.js
+++ b/view/theme/frio/js/theme.js
@@ -774,13 +774,13 @@ function htmlToText(htmlString) {
* @param {string} verb The verb of the action
* @param {boolean} un Whether to perform an activity removal instead of creation
*/
-function doLikeAction(ident, verb, un) {
+function doActivityItemAction(ident, verb, un) {
if (verb.indexOf("attend") === 0) {
$(".item-" + ident + " .button-event:not(#" + verb + "-" + ident + ")").removeClass("active");
}
$("#" + verb + "-" + ident).toggleClass("active");
- dolike(ident, verb, un);
+ doActivityItem(ident, verb, un);
}
// Decodes a hexadecimally encoded binary string
diff --git a/view/theme/frio/templates/like_noshare.tpl b/view/theme/frio/templates/like_noshare.tpl
index dd3fa2e5f..df335c32e 100644
--- a/view/theme/frio/templates/like_noshare.tpl
+++ b/view/theme/frio/templates/like_noshare.tpl
@@ -3,7 +3,7 @@
{{$like}}
@@ -13,7 +13,7 @@
class="btn-link button-likes{{if $responses.dislike.self}} active" aria-pressed="true{{/if}}"
id="dislike-{{$id}}"
title="{{$dislike_title}}"
- onclick="doLikeAction({{$id}}, 'dislike'{{if $responses.dislike.self}}, true{{/if}});"
+ onclick="doActivityItemAction({{$id}}, 'dislike'{{if $responses.dislike.self}}, true{{/if}});"
data-toggle="button">
{{$dislike}}
{{/if}}
diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl
index 835b3d667..3f03f822a 100644
--- a/view/theme/frio/templates/search_item.tpl
+++ b/view/theme/frio/templates/search_item.tpl
@@ -143,14 +143,14 @@
{{* Buttons for like and dislike *}}
{{if $item.vote}}
{{if $item.vote.like}}
-
{{$item.vote.like.0}}
+
{{$item.vote.like.0}}
{{/if}}
{{if $item.vote.like AND $item.vote.dislike}}
•
{{/if}}
{{if $item.vote.dislike}}
-
{{$item.vote.dislike.0}}
+
{{$item.vote.dislike.0}}
{{/if}}
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment_html}}
•
@@ -254,9 +254,9 @@
{{* Event attendance buttons *}}
{{if $item.isevent}}
- {{$item.attend.0}}
- {{$item.attend.1}}
- {{$item.attend.2}}
+ {{$item.attend.0}}
+ {{$item.attend.1}}
+ {{$item.attend.2}}
{{/if}}
diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl
index b98cefb9c..b8286dd46 100644
--- a/view/theme/frio/templates/wall_thread.tpl
+++ b/view/theme/frio/templates/wall_thread.tpl
@@ -286,13 +286,13 @@ as the value of $top_child_total (this is done at the end of this file)
{{* Buttons for like and dislike *}}
{{if $item.vote}}
{{if $item.vote.like}}
-
{{$item.vote.like.1}}
+
{{$item.vote.like.1}}
{{/if}}
{{if $item.vote.like AND $item.vote.dislike}}
{{/if}}
{{if $item.vote.dislike}}
-
{{$item.vote.dislike.1}}
+
{{$item.vote.dislike.1}}
{{/if}}
{{if ($item.vote.like OR $item.vote.dislike) AND $item.comment_html}}
@@ -317,7 +317,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{/if}}
{{/if}}
{{if $item.vote.announce}}
-
{{$item.vote.announce.1}}
+
{{$item.vote.announce.1}}
{{/if}}
{{if $item.vote.share}}
@@ -412,9 +412,9 @@ as the value of $top_child_total (this is done at the end of this file)
{{* Event attendance buttons *}}
{{if $item.isevent}}
- {{$item.attend.0}}
- {{$item.attend.1}}
- {{$item.attend.2}}
+ {{$item.attend.0}}
+ {{$item.attend.1}}
+ {{$item.attend.2}}
{{/if}}
@@ -431,10 +431,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.vote}}
{{if $item.vote.like}}
-
+
{{/if}}
{{if $item.vote.dislike}}
-
+
{{/if}}
{{/if}}
@@ -455,11 +455,11 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.vote.announce}} {{* edit the posting *}}
{{if $item.responses.announce.self}}
-
+
{{$item.vote.unannounce.1}}
{{else}}
-
+
{{$item.vote.announce.1}}
{{/if}}
@@ -486,9 +486,9 @@ as the value of $top_child_total (this is done at the end of this file)
{{* Event attendance buttons *}}
{{if $item.isevent}}
- {{$item.attend.0}}
- {{$item.attend.1}}
- {{$item.attend.2}}
+ {{$item.attend.0}}
+ {{$item.attend.1}}
+ {{$item.attend.2}}
{{/if}}
diff --git a/view/theme/quattro/templates/photo_item.tpl b/view/theme/quattro/templates/photo_item.tpl
index e14caa542..182607ab3 100644
--- a/view/theme/quattro/templates/photo_item.tpl
+++ b/view/theme/quattro/templates/photo_item.tpl
@@ -39,8 +39,8 @@
{{/if}}
{{if $vote}}
- {{$vote.like.1}}
- {{$vote.dislike.1}}
+ {{$vote.like.1}}
+ {{$vote.dislike.1}}
{{/if}}
{{if $vote.share}}
diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl
index dca5d31a1..70aa2ed86 100644
--- a/view/theme/quattro/templates/search_item.tpl
+++ b/view/theme/quattro/templates/search_item.tpl
@@ -58,10 +58,10 @@
{{/if}}
{{if $item.vote.like}}
- {{$item.vote.like.1}}
+ {{$item.vote.like.1}}
{{/if}}
{{if $item.vote.dislike}}
- {{$item.vote.dislike.1}}
+ {{$item.vote.dislike.1}}
{{/if}}
{{if $item.vote.share}}
diff --git a/view/theme/quattro/templates/wall_thread.tpl b/view/theme/quattro/templates/wall_thread.tpl
index 5f682dd3e..58c68968b 100644
--- a/view/theme/quattro/templates/wall_thread.tpl
+++ b/view/theme/quattro/templates/wall_thread.tpl
@@ -121,12 +121,12 @@
{{/if}}
{{if $item.vote}}
- {{$item.vote.like.1}}
+ {{$item.vote.like.1}}
{{if $item.vote.dislike}}
- {{$item.vote.dislike.1}}
+ {{$item.vote.dislike.1}}
{{/if}}
{{if $item.vote.announce}}
- {{$item.vote.announce.1}}
+ {{$item.vote.announce.1}}
{{/if}}
{{if $item.vote.share}}
{{$item.vote.share.1}}
@@ -135,9 +135,9 @@
{{if $item.isevent}}
{{/if}}
diff --git a/view/theme/smoothly/templates/wall_thread.tpl b/view/theme/smoothly/templates/wall_thread.tpl
index 817d4d5ed..4f70ea6d5 100644
--- a/view/theme/smoothly/templates/wall_thread.tpl
+++ b/view/theme/smoothly/templates/wall_thread.tpl
@@ -94,12 +94,12 @@
{{if $item.vote}}