projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Dashboards
/
Subscription.html
diff --git
a/rt/share/html/Dashboards/Subscription.html
b/rt/share/html/Dashboards/Subscription.html
index
3bf39d0
..
ae977b4
100644
(file)
--- a/
rt/share/html/Dashboards/Subscription.html
+++ b/
rt/share/html/Dashboards/Subscription.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
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)
@@
-75,7
+75,7
@@
<ol class="dashboard-queries">
% for my $portlet (@portlets) {
<li class="dashboard-query">
<ol class="dashboard-queries">
% for my $portlet (@portlets) {
<li class="dashboard-query">
- <% loc(
$portlet->{description}
, $fields{'Rows'}) %>
+ <% loc(
RT::SavedSearch->EscapeDescription($portlet->{description})
, $fields{'Rows'}) %>
</li>
% }
</ol>
</li>
% }
</ol>
@@
-176,6
+176,8
@@
<input name="Recipient" id="Recipient" size="30" value="<%$fields{Recipient} ? $fields{Recipient} : ''%>" />
<div class="hints"><% loc("Leave blank to send to your current email address ([_1])", $session{'CurrentUser'}->EmailAddress) %></div>
</td></tr>
<input name="Recipient" id="Recipient" size="30" value="<%$fields{Recipient} ? $fields{Recipient} : ''%>" />
<div class="hints"><% loc("Leave blank to send to your current email address ([_1])", $session{'CurrentUser'}->EmailAddress) %></div>
</td></tr>
+% $m->callback( %ARGS, CallbackName => 'SubscriptionFormEnd', FieldsRef => \%fields,
+% SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard );
</table>
</&>
</td>
</table>
</&>
</td>
@@
-216,6
+218,9
@@
my %fields = (
Counter => 0,
);
Counter => 0,
);
+$m->callback( %ARGS, CallbackName => 'SubscriptionFields', FieldsRef => \%fields,
+ SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard);
+
# update any fields with the values from the subscription object
if ($SubscriptionObj) {
for my $field (keys %fields) {
# update any fields with the values from the subscription object
if ($SubscriptionObj) {
for my $field (keys %fields) {
@@
-230,6
+235,8
@@
for my $field (keys %fields) {
if defined($ARGS{$field});
}
if defined($ARGS{$field});
}
+$m->callback( %ARGS, CallbackName => 'MassageSubscriptionFields', FieldsRef => \%fields,
+ SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard);
# this'll be defined on submit
if (defined $ARGS{Save}) {
# this'll be defined on submit
if (defined $ARGS{Save}) {