comment preview
This commit is contained in:
@@ -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' => ''
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user