projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid mangling code blocks that intersect HTML tags, #24331
[freeside.git]
/
httemplate
/
edit
/
msg_template.html
diff --git
a/httemplate/edit/msg_template.html
b/httemplate/edit/msg_template.html
index
fa375a0
..
c6b2a7d
100644
(file)
--- 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',
{ field => 'subject', size=>60, },
{ field => 'body',
type => 'htmlarea',
- width => 763
+ width => 763,
+ config=> { extraPlugins => 'blockprotect' },
},
;
} else { #readonly
},
;
} else { #readonly
@@
-208,6
+209,7
@@
my %substitutions = (
'$company_name' => 'Our company name',
'$company_address'=> 'Our company address',
'$company_phonenum' => 'Our phone number',
'$company_name' => 'Our company name',
'$company_address'=> 'Our company address',
'$company_phonenum' => 'Our phone number',
+ '$selfservice_server_base_url' => 'Base URL of customer self-service',
],
'contact' => [ # duplicate this for shipping
'$name' => 'Company and contact name',
],
'contact' => [ # duplicate this for shipping
'$name' => 'Company and contact name',
@@
-240,6
+242,9
@@
my %substitutions = (
],
'cust_bill' => [
'$invnum' => 'Invoice#',
],
'cust_bill' => [
'$invnum' => 'Invoice#',
+ '$_date_pretty' => 'Invoice date',
+ '$due_date' => 'Invoice due date (timestamp)',
+ '$due_date2str' => 'Invoice due date (human readable)',
],
'cust_pkg' => [
'$pkgnum' => 'Package#',
],
'cust_pkg' => [
'$pkgnum' => 'Package#',