|
|
@ -1048,7 +1048,8 @@ function photos_content(&$a) { |
|
|
|
if($can_post || can_write_wall($a,$owner_uid)) { |
|
|
|
if($link_item['last-child']) { |
|
|
|
$o .= replace_macros($cmnt_tpl,array( |
|
|
|
'$return_path' => '', // $return_url,
|
|
|
|
'$return_path' => '', |
|
|
|
'$jsreload' => $return_url, |
|
|
|
'$type' => 'wall-comment', |
|
|
|
'$id' => $link_item['id'], |
|
|
|
'$parent' => $link_item['id'], |
|
|
@ -1087,7 +1088,8 @@ function photos_content(&$a) { |
|
|
|
if($can_post || can_write_wall($a,$owner_uid)) { |
|
|
|
if($link_item['last-child']) { |
|
|
|
$o .= replace_macros($cmnt_tpl,array( |
|
|
|
'$return_path' => $return_url, |
|
|
|
'$return_path' => '', |
|
|
|
'$jsreload' => $return_url, |
|
|
|
'$type' => 'wall-comment', |
|
|
|
'$id' => $link_item['id'], |
|
|
|
'$parent' => $link_item['id'], |
|
|
@ -1115,7 +1117,8 @@ function photos_content(&$a) { |
|
|
|
|
|
|
|
if($item['last-child']) { |
|
|
|
$comment = replace_macros($cmnt_tpl,array( |
|
|
|
'$return_path' => $return_url, |
|
|
|
'$return_path' => '', |
|
|
|
'$jsreload' => $return_url, |
|
|
|
'$type' => 'wall-comment', |
|
|
|
'$id' => $item['item_id'], |
|
|
|
'$parent' => $item['parent'], |
|
|
|