From 3e02e34d71a4d29744e90d66377e84f5640b78c4 Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 24 May 2010 23:55:15 +0000 Subject: RT#8224: allow user to disable HTML editor --- httemplate/edit/cust_main_note.cgi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'httemplate/edit/cust_main_note.cgi') diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi index e2501cb54..439c84414 100755 --- a/httemplate/edit/cust_main_note.cgi +++ b/httemplate/edit/cust_main_note.cgi @@ -6,11 +6,15 @@ -<% include('/elements/htmlarea.html', 'field' => 'comment', +% if( $FS::CurrentUser::CurrentUser->option('disable_html_editor') ) { + +% } +% else { +<% include('/elements/htmlarea.html', 'field' => 'comment_html', 'curr_value' => $comment) %> -% # +% }

"> -- cgit v1.2.1