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

@@ -124,6 +124,7 @@ function rpost_content(&$a) {
'profile_uid' => local_channel(),
'title' => $_REQUEST['title'],
'body' => $_REQUEST['body'],
'attachment' => $_REQUEST['attachment'],
'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''),
'return_path' => 'rpost/return'
);