diff options
author | friendica <info@friendica.com> | 2012-01-05 16:38:24 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-05 16:38:24 -0800 |
commit | b99cb511ca665bad0022de2ca43b5de78b3ffdbf (patch) | |
tree | 792ef6a835be450e65b2849b18ebf54e7ee6c2d8 /mod | |
parent | 53878625f6ecc014283cefbd84f92b6f1294b8a3 (diff) | |
download | volse-hubzilla-b99cb511ca665bad0022de2ca43b5de78b3ffdbf.tar.gz volse-hubzilla-b99cb511ca665bad0022de2ca43b5de78b3ffdbf.tar.bz2 volse-hubzilla-b99cb511ca665bad0022de2ca43b5de78b3ffdbf.zip |
comment preview
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 2 | ||||
-rw-r--r-- | mod/photos.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index d4d337584..069f1393c 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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(); diff --git a/mod/photos.php b/mod/photos.php index bf3299de0..d2f45652f 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1203,6 +1203,7 @@ function photos_content(&$a) { '$myphoto' => $contact['thumb'], '$comment' => t('Comment'), '$submit' => t('Submit'), + '$preview' => t('Preview'), '$ww' => '' )); } |