aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-08 18:53:52 -0800
committerFriendika <info@friendika.com>2011-03-08 18:53:52 -0800
commit0de88eb6b0e5ceab470240a54414317884a49101 (patch)
tree1771d6e52ecf64a96aecf2ccf5ce1b06259abfde /mod/photos.php
parentea59e199d5609f4d196ecced569a8e267c2e27d5 (diff)
downloadvolse-hubzilla-0de88eb6b0e5ceab470240a54414317884a49101.tar.gz
volse-hubzilla-0de88eb6b0e5ceab470240a54414317884a49101.tar.bz2
volse-hubzilla-0de88eb6b0e5ceab470240a54414317884a49101.zip
yet another template converted to language neutral format
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index c1c6a4133..7d3e57616 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1033,8 +1033,14 @@ function photos_content(&$a) {
$likebuttons = '';
- if($can_post || can_write_wall($a,$owner_uid))
- $likebuttons = replace_macros($like_tpl,array('$id' => $link_item['id']));
+ if($can_post || can_write_wall($a,$owner_uid)) {
+ $likebuttons = replace_macros($like_tpl,array(
+ '$id' => $item['id'],
+ '$likethis' => t("I like this \x28toggle\x29"),
+ '$nolike' => t("I don't like this \x28toggle\x29"),
+ '$wait' => t('Please wait')
+ ));
+ }
if(! count($r)) {
$o .= '<div id="photo-like-div">';