allow jot to be displayed expanded, remove deprected datetimepicker js and some random fixes

This commit is contained in:
Mario Vavti
2015-04-17 11:20:22 +02:00
parent 10cc643f65
commit 61e4ee753d
10 changed files with 41 additions and 49 deletions

View File

@@ -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;