- Remove tinyMCE mentions or convert to addeditortext()

- Remove $editselect template value
This commit is contained in:
Hypolite Petovan
2017-01-26 22:50:27 -05:00
parent a2740d2034
commit 9d5384f107
19 changed files with 122 additions and 623 deletions
-6
View File
@@ -489,17 +489,11 @@ function contacts_content(App $a) {
$contact_id = $a->data['contact']['id'];
$contact = $a->data['contact'];
$editselect = 'none';
if( feature_enabled(local_user(),'richtext') )
$editselect = 'exact';
$a->page['htmlhead'] .= replace_macros(get_markup_template('contact_head.tpl'), array(
'$baseurl' => App::get_baseurl(true),
'$editselect' => $editselect,
));
$a->page['end'] .= replace_macros(get_markup_template('contact_end.tpl'), array(
'$baseurl' => App::get_baseurl(true),
'$editselect' => $editselect,
));
require_once('include/contact_selectors.php');