mirror of
https://github.com/friendica/friendica
synced 2025-04-25 14:30:10 +00:00
support plaintext on editpost, editorinit called before all buttons laid out
This commit is contained in:
parent
184f6165fc
commit
75acc1ed96
7 changed files with 11 additions and 8 deletions
|
@ -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>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue