aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-17 11:49:27 -0800
committerfriendica <info@friendica.com>2012-02-17 11:49:27 -0800
commit75acc1ed966a6bb3e3ec690a667d148f900dba9c (patch)
tree8302f99949a281e89566b5f6496b9129ba0ffc4e /mod/editpost.php
parent184f6165fc41d8dcbbecffa933f640995f741fda (diff)
downloadvolse-hubzilla-75acc1ed966a6bb3e3ec690a667d148f900dba9c.tar.gz
volse-hubzilla-75acc1ed966a6bb3e3ec690a667d148f900dba9c.tar.bz2
volse-hubzilla-75acc1ed966a6bb3e3ec690a667d148f900dba9c.zip
support plaintext on editpost, editorinit called before all buttons laid out
Diffstat (limited to 'mod/editpost.php')
-rwxr-xr-xmod/editpost.php4
1 files changed, 4 insertions, 0 deletions
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 .= '<h2>' . t('Edit post') . '</h2>';