From 75acc1ed966a6bb3e3ec690a667d148f900dba9c Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 17 Feb 2012 11:49:27 -0800 Subject: support plaintext on editpost, editorinit called before all buttons laid out --- mod/editpost.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod') diff --git a/mod/editpost.php b/mod/editpost.php index f23b305f0..778ac3dcc 100755 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -28,6 +28,10 @@ function editpost_content(&$a) { return; } + $plaintext = false; + if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) + $plaintext = true; + $o .= '

' . t('Edit post') . '

'; -- cgit v1.2.3