make mod editlayout use status_editor()

This commit is contained in:
Mario Vavti
2016-04-30 21:56:52 +02:00
parent 8189a7c693
commit c96b20c559
2 changed files with 55 additions and 108 deletions

View File

@@ -1187,7 +1187,7 @@ function status_editor($a, $x, $popup = false) {
$jotplugins = '';
$preview = t('Preview');
if(x($x, 'nopreview'))
if(x($x, 'hide_preview'))
$preview = '';
$defexpire = ((($z = get_pconfig($x['profile_uid'], 'system', 'default_post_expire')) && (! $webpage)) ? $z : '');