projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better
[freeside.git]
/
rt
/
html
/
Elements
/
MessageBox
diff --git
a/rt/html/Elements/MessageBox
b/rt/html/Elements/MessageBox
index
64fdf38
..
32f4222
100644
(file)
--- a/
rt/html/Elements/MessageBox
+++ b/
rt/html/Elements/MessageBox
@@
-21,7
+21,7
@@
%#
%#
%# END LICENSE BLOCK
%#
%#
%# END LICENSE BLOCK
-<TEXTAREA COLS=<%$Width%> ROWS=15 WRAP=
HARD NAME="<%$Name%>"><& /Elements/Callback, %ARGS &><% $Default %><%$message%><%$signature
%></TEXTAREA>
+<TEXTAREA COLS=<%$Width%> ROWS=15 WRAP=
<%$Wrap%> NAME="<%$Name%>"><& /Elements/Callback, %ARGS &><% $Default %><%$message%><%$IncludeSignature ? $signature : ''
%></TEXTAREA>
<%INIT>
my ($message);
<%INIT>
my ($message);
@@
-42,6
+42,8
@@
if ($session{'CurrentUser'}->UserObj->Signature) {
$QuoteTransaction => undef
$Name => 'Content'
$Default => ''
$QuoteTransaction => undef
$Name => 'Content'
$Default => ''
-$Width => 72
+$Width => $RT::MessageBoxWidth
+$Wrap => $RT::MessageBoxWrap
+$IncludeSignature => 1
</%ARGS>
</%ARGS>