summaryrefslogtreecommitdiff
path: root/httemplate/edit/msg_template.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-08-29 16:23:27 -0700
committerMark Wells <mark@freeside.biz>2013-08-29 16:23:27 -0700
commit35d24c449337f95d0e2174cbed55b53eb6c32ca2 (patch)
treecb3688ae89f3b26fe549008a88c01b3e22c28308 /httemplate/edit/msg_template.html
parentf829595fdd9e62b91251fc1cc2726367e558e1d4 (diff)
when editing templates with CKEditor, protect blocks of perl code, #24331
Diffstat (limited to 'httemplate/edit/msg_template.html')
-rw-r--r--httemplate/edit/msg_template.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html
index fa375a0aa..06cac440e 100644
--- a/httemplate/edit/msg_template.html
+++ b/httemplate/edit/msg_template.html
@@ -67,7 +67,8 @@ if ( $curuser->access_right('Edit global templates')
{ field => 'subject', size=>60, },
{ field => 'body',
type => 'htmlarea',
- width => 763
+ width => 763,
+ config=> { extraPlugins => 'blockprotect' },
},
;
} else { #readonly