implement features
This commit is contained in:
parent
50e45f6942
commit
94204d9160
35 changed files with 262 additions and 58 deletions
|
@ -309,7 +309,11 @@ function item_post(&$a) {
|
|||
// First figure out if it's a status post that would've been
|
||||
// created using tinymce. Otherwise leave it alone.
|
||||
|
||||
$plaintext = (local_user() ? intval(get_pconfig(local_user(),'system','plaintext')) : 0);
|
||||
/* $plaintext = (local_user() ? intval(get_pconfig(local_user(),'system','plaintext')) || !feature_enabled($profile_uid,'richtext') : 0);
|
||||
if((! $parent) && (! $api_source) && (! $plaintext)) {
|
||||
$body = fix_mce_lf($body);
|
||||
}*/
|
||||
$plaintext = (local_user() ? !feature_enabled($profile_uid,'richtext') : 0);
|
||||
if((! $parent) && (! $api_source) && (! $plaintext)) {
|
||||
$body = fix_mce_lf($body);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue