create photo object if feature large photos is enabled and display those slightly different

This commit is contained in:
Mario Vavti
2015-10-20 09:36:15 +02:00
parent 54059b2f15
commit f7601756e9
10 changed files with 98 additions and 31 deletions

View File

@@ -129,7 +129,7 @@ function editpost_content(&$a) {
'$consensus' => intval($itm[0]['item_consensus']),
'$wait' => t('Please wait'),
'$permset' => t('Permission settings'),
'$ptyp' => $itm[0]['type'],
'$ptyp' => $itm[0]['obj_type'],
'$content' => undo_post_tagging($itm[0]['body']),
'$post_id' => $post_id,
'$parent' => (($itm[0]['parent'] != $itm[0]['id']) ? $itm[0]['parent'] : ''),