projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.13
[freeside.git]
/
rt
/
share
/
html
/
Admin
/
Global
/
Template.html
diff --git
a/rt/share/html/Admin/Global/Template.html
b/rt/share/html/Admin/Global/Template.html
index
70b6905
..
27b2a96
100755
(executable)
--- a/
rt/share/html/Admin/Global/Template.html
+++ b/
rt/share/html/Admin/Global/Template.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-80,7
+80,7
@@
if ($Create) {
else {
if (defined ($Template) && $Template eq 'new') {
else {
if (defined ($Template) && $Template eq 'new') {
- my ($val, $msg) = $TemplateObj->Create(Queue => $Queue, Name => $Name);
+ my ($val, $msg) = $TemplateObj->Create(Queue => $Queue, Name => $Name
, Type => $Type
);
Abort(loc("Could not create template: [_1]", $msg)) unless ($val);
push @results, $msg;
}
Abort(loc("Could not create template: [_1]", $msg)) unless ($val);
push @results, $msg;
}
@@
-92,7
+92,7
@@
else {
}
if ($TemplateObj->Id()) {
}
if ($TemplateObj->Id()) {
- my @attribs = qw(
Description Content Queue Name Type
);
+ my @attribs = qw(
Name Description Queue Type Content
);
my @aresults = UpdateRecordObject( AttributesRef => \@attribs,
Object => $TemplateObj,
ARGSRef => \%ARGS);
my @aresults = UpdateRecordObject( AttributesRef => \@attribs,
Object => $TemplateObj,
ARGSRef => \%ARGS);
@@
-108,4
+108,5
@@
$Queue => ''
$Template => ''
$Create => ''
$Name => ''
$Template => ''
$Create => ''
$Name => ''
+$Type => ''
</%ARGS>
</%ARGS>