aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-15 22:23:38 +0200
committermarijus <mario@mariovavti.com>2014-10-15 22:23:38 +0200
commit04a254d94a2dcebbfe767adad241d92eb913d4b2 (patch)
tree0609437f14b347cd1628ec3309876ed6dab54d78 /mod/photos.php
parentdc23030dcb18a23e7c8e74f6bf7076a3d31b9c60 (diff)
downloadvolse-hubzilla-04a254d94a2dcebbfe767adad241d92eb913d4b2.tar.gz
volse-hubzilla-04a254d94a2dcebbfe767adad241d92eb913d4b2.tar.bz2
volse-hubzilla-04a254d94a2dcebbfe767adad241d92eb913d4b2.zip
some work on single photo view comments
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 41aae0ec3..56e63237e 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1087,7 +1087,7 @@ function photos_content(&$a) {
}
if($can_post || $can_comment) {
- $comments .= replace_macros($cmnt_tpl,array(
+ $commentbox = replace_macros($cmnt_tpl,array(
'$return_path' => '',
'$jsreload' => $return_url,
'$type' => 'wall-comment',
@@ -1129,6 +1129,7 @@ function photos_content(&$a) {
'$like' => $like_e,
'$dislike' => $dislike_e,
'$comments' => $comments,
+ '$commentbox' => $commentbox,
'$paginate' => $paginate,
));