provide a separate input field for rpost attachments

This commit is contained in:
Mario Vavti
2015-04-16 23:26:11 +02:00
parent 90d3a6c02d
commit 9addc4581e
8 changed files with 26 additions and 10 deletions

View File

@@ -1208,6 +1208,7 @@ function status_editor($a, $x, $popup = false) {
'$shortpermset' => t('permissions'),
'$ptyp' => (($notes_cid) ? 'note' : 'wall'),
'$content' => ((x($x,'body')) ? htmlspecialchars($x['body'], ENT_COMPAT,'UTF-8') : ''),
'$attachment' => ((x($x, 'attachment')) ? $x['attachment'] : ''),
'$post_id' => '',
'$baseurl' => $a->get_baseurl(true),
'$defloc' => $x['default_location'],