comment preview
This commit is contained in:
parent
53878625f6
commit
b99cb511ca
5 changed files with 31 additions and 3 deletions
|
@ -588,7 +588,7 @@ function item_post(&$a) {
|
|||
if($preview) {
|
||||
$b = prepare_body($datarray,true);
|
||||
require_once('include/conversation.php');
|
||||
$o = conversation(&$a,array(array_merge($datarray,$contact_record)),'search',false);
|
||||
$o = conversation(&$a,array(array_merge($contact_record,$datarray)),'search',false,true);
|
||||
$json = array('preview' => $o);
|
||||
echo json_encode($json);
|
||||
killme();
|
||||
|
|
|
@ -1203,6 +1203,7 @@ function photos_content(&$a) {
|
|||
'$myphoto' => $contact['thumb'],
|
||||
'$comment' => t('Comment'),
|
||||
'$submit' => t('Submit'),
|
||||
'$preview' => t('Preview'),
|
||||
'$ww' => ''
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue