aboutsummaryrefslogtreecommitdiffstats
path: root/mod/rpost.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-17 11:20:22 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-17 11:20:22 +0200
commit61e4ee753dd0e823c47a5cf2e485f7f69fb4d125 (patch)
tree59479f4c5baf7e57d7ff56e8b2f21462db6c25f5 /mod/rpost.php
parent10cc643f650b5ff0954ff988fbf768ea5e061571 (diff)
downloadvolse-hubzilla-61e4ee753dd0e823c47a5cf2e485f7f69fb4d125.tar.gz
volse-hubzilla-61e4ee753dd0e823c47a5cf2e485f7f69fb4d125.tar.bz2
volse-hubzilla-61e4ee753dd0e823c47a5cf2e485f7f69fb4d125.zip
allow jot to be displayed expanded, remove deprected datetimepicker js and some random fixes
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;