- Remove tinyMCE mentions or convert to addeditortext()
- Remove $editselect template value
This commit is contained in:
@@ -623,23 +623,13 @@ function profiles_content(App $a) {
|
||||
require_once('include/profile_selectors.php');
|
||||
|
||||
|
||||
/* $editselect = 'textareas';
|
||||
if( intval(get_pconfig(local_user(),'system','plaintext')) || !feature_enabled(local_user(),'richtext') )
|
||||
$editselect = 'none';*/
|
||||
$editselect = 'none';
|
||||
if( feature_enabled(local_user(),'richtext') )
|
||||
$editselect = 'textareas';
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros(get_markup_template('profed_head.tpl'), array(
|
||||
'$baseurl' => App::get_baseurl(true),
|
||||
'$editselect' => $editselect,
|
||||
));
|
||||
$a->page['end'] .= replace_macros(get_markup_template('profed_end.tpl'), array(
|
||||
'$baseurl' => App::get_baseurl(true),
|
||||
'$editselect' => $editselect,
|
||||
));
|
||||
|
||||
|
||||
$opt_tpl = get_markup_template("profile-hide-friends.tpl");
|
||||
$hide_friends = replace_macros($opt_tpl,array(
|
||||
'$yesno' => array(
|
||||
|
||||
Reference in New Issue
Block a user