aboutsummaryrefslogtreecommitdiffstats
path: root/mod
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
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')
-rw-r--r--mod/photos.php14
-rw-r--r--mod/siteinfo.php2
2 files changed, 8 insertions, 8 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 = '';
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 <a href="https://redmatrix.me">redmatrix.me</a> to learn more about $Projectname.'),
+ '$visit' => t('Please visit <a href="http://hubzilla.org">hubzilla.org</a> 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'),