aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-14 14:16:16 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-14 14:16:16 -0700
commitde697a42671e3c50106dab29eb108a122753a825 (patch)
tree6811c15218b5c4e3382dde4ffb957b3a26ef0d2e /mod/photos.php
parentb2d949ce9a499653bba833913084b0c1406cca7f (diff)
downloadvolse-hubzilla-de697a42671e3c50106dab29eb108a122753a825.tar.gz
volse-hubzilla-de697a42671e3c50106dab29eb108a122753a825.tar.bz2
volse-hubzilla-de697a42671e3c50106dab29eb108a122753a825.zip
issue #86 - like/dislike in photos not working
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/photos.php b/mod/photos.php
index cd293b39d..887f663ca 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -982,13 +982,13 @@ function photos_content(&$a) {
$likebuttons = '';
if($can_post || $can_comment) {
- $likebuttons = replace_macros($like_tpl,array(
- '$id' => $link_item['id'],
- '$likethis' => t("I like this \x28toggle\x29"),
- '$nolike' => t("I don't like this \x28toggle\x29"),
- '$share' => t('Share'),
- '$wait' => t('Please wait')
- ));
+ $likebuttons = array(
+ 'id' => $link_item['id'],
+ 'likethis' => t("I like this \x28toggle\x29"),
+ 'nolike' => t("I don't like this \x28toggle\x29"),
+ 'share' => t('Share'),
+ 'wait' => t('Please wait')
+ );
}
$comments = '';