From de697a42671e3c50106dab29eb108a122753a825 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 14 Oct 2015 14:16:16 -0700 Subject: issue #86 - like/dislike in photos not working --- mod/photos.php | 14 +++++++------- mod/siteinfo.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'mod') 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 = ''; diff --git a/mod/siteinfo.php b/mod/siteinfo.php index 14aaef144..2fffccc73 100644 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -165,7 +165,7 @@ function siteinfo_content(&$a) { '$loadavg_all' => $loadavg[0] . ', ' . $loadavg[1] . ', ' . $loadavg[2], '$commit' => $commit, '$web_location' => t('Running at web location') . ' ' . z_root(), - '$visit' => t('Please visit redmatrix.me to learn more about $Projectname.'), + '$visit' => t('Please visit hubzilla.org to learn more about $Projectname.'), '$bug_text' => t('Bug reports and issues: please visit'), '$bug_link_url' => 'https://github.com/redmatrix/hubzilla/issues', '$bug_link_text' => t('$projectname issues'), -- cgit v1.2.3