aboutsummaryrefslogtreecommitdiffstats
path: root/mod/rpost.php
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-17 17:21:10 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-17 17:21:10 -0700
commit9f35971860e35a70162e469d7812c14ff949bf98 (patch)
tree621b3a34395bfce3a6d6ebc883dcc9a70921d0f3 /mod/rpost.php
parent3d99a6b5c4b8d754dff0666f7cca84724e0f95d9 (diff)
parentc02ff823f6b84cda431f6ca39701c88d22607b77 (diff)
downloadvolse-hubzilla-9f35971860e35a70162e469d7812c14ff949bf98.tar.gz
volse-hubzilla-9f35971860e35a70162e469d7812c14ff949bf98.tar.bz2
volse-hubzilla-9f35971860e35a70162e469d7812c14ff949bf98.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'mod/rpost.php')
-rw-r--r--mod/rpost.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/rpost.php b/mod/rpost.php
index 737d705f6..0c0916646 100644
--- a/mod/rpost.php
+++ b/mod/rpost.php
@@ -101,10 +101,6 @@ function rpost_content(&$a) {
'deny_gid' => $channel['channel_deny_gid']
);
- $o .= replace_macros(get_markup_template('edpost_head.tpl'), array(
- '$title' => t('Edit post')
- ));
-
if($_REQUEST['url']) {
$x = z_fetch_url(z_root() . '/parse_url?f=&url=' . urlencode($_REQUEST['url']));
if($x['success'])
@@ -129,8 +125,12 @@ function rpost_content(&$a) {
'return_path' => 'rpost/return'
);
+ $editor = status_editor($a,$x);
- $o .= status_editor($a,$x);
+ $o .= replace_macros(get_markup_template('edpost_head.tpl'), array(
+ '$title' => t('Edit post'),
+ '$editor' => $editor
+ ));
return $o;