make the richtext feature work for events, wall messages, and contact notes

This commit is contained in:
Zach Prezkuta 2013-01-26 12:53:35 -07:00
parent 8e62c8b27c
commit 187b6441c1
3 changed files with 21 additions and 7 deletions

View file

@ -244,9 +244,9 @@ function contacts_content(&$a) {
$contact_id = $a->data['contact']['id'];
$contact = $a->data['contact'];
$editselect = 'exact';
if(intval(get_pconfig(local_user(),'system','plaintext')))
$editselect = 'none';
$editselect = 'none';
if( feature_enabled(local_user(),'richtext') )
$editselect = 'exact';
$a->page['htmlhead'] .= replace_macros(get_markup_template('contact_head.tpl'), array(
'$baseurl' => $a->get_baseurl(true),