diff options
author | ivan <ivan> | 2009-12-31 12:44:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-12-31 12:44:09 +0000 |
commit | 32da33792be36b93ce982e9191aaa305d697e1e9 (patch) | |
tree | 293f25762830097ae5bcad3ee8064375eed09df7 /rt/html/Ticket | |
parent | 7ae1187b1e4665a6c68bef5d957542d80d835b5d (diff) |
rt 3.6.10
Diffstat (limited to 'rt/html/Ticket')
-rw-r--r-- | rt/html/Ticket/Create.html | 9 | ||||
-rw-r--r-- | rt/html/Ticket/Display.html | 12 | ||||
-rw-r--r-- | rt/html/Ticket/Elements/ShowSummary | 4 | ||||
-rw-r--r-- | rt/html/Ticket/Elements/ShowTransactionAttachments | 4 | ||||
-rw-r--r-- | rt/html/Ticket/Elements/Tabs | 8 |
5 files changed, 20 insertions, 17 deletions
diff --git a/rt/html/Ticket/Create.html b/rt/html/Ticket/Create.html index b22a67593..9b38d2608 100644 --- a/rt/html/Ticket/Create.html +++ b/rt/html/Ticket/Create.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# <jesse@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -86,7 +86,7 @@ </td> </tr> <tr> -<td class="labeltop"> +<td class="label"> <&|/l&>Cc</&>: </td> <td class="value" colspan="5"> @@ -96,7 +96,7 @@ </td> </tr> <tr> -<td class="labeltop"> +<td class="label"> <&|/l&>Admin Cc</&>: </td> <td class="value" colspan="5"> @@ -152,6 +152,7 @@ <tr> <td colspan="6"> <&|/l&>Describe the issue below</&>:<br /> +<& /Elements/Callback, _CallbackName => 'BeforeMessageBox', QueueObj => $QueueObj, %ARGS &> % if (exists $ARGS{Content}) { <& /Elements/MessageBox, Default => $ARGS{Content}, IncludeSignature => 0 &> % } else { diff --git a/rt/html/Ticket/Display.html b/rt/html/Ticket/Display.html index ca6939821..d0422c008 100644 --- a/rt/html/Ticket/Display.html +++ b/rt/html/Ticket/Display.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# <jesse@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -135,11 +135,10 @@ if ($ARGS{'id'} eq 'new') { } $ARGS{'UpdateContent'} =~ s/\r\n/\n/g if defined $ARGS{'UpdateContent'}; - if ( $ARGS{'UpdateTimeWorked'} || ( - defined $ARGS{'UpdateContent'} + if ( ( defined $ARGS{'UpdateContent'} && $ARGS{'UpdateContent'} ne '' && $ARGS{'UpdateContent'} ne "-- \n" - . $session{'CurrentUser'}->UserObj->Signature ) ) + . $session{'CurrentUser'}->UserObj->Signature ) || $session{'Attachments'} ) { $ARGS{UpdateAttachments} = $session{'Attachments'}; ProcessUpdateMessage( @@ -148,6 +147,9 @@ if ($ARGS{'id'} eq 'new') { TicketObj => $TicketObj, ); delete $session{'Attachments'}; + } elsif ( $ARGS{'UpdateTimeWorked'} ) { + # Add UpdateTimeWorked to TimeWorked (processed below with ProcessTicketBasics) + $ARGS{'TimeWorked'} = $TicketObj->TimeWorked + $ARGS{'UpdateTimeWorked'}; } #Process status updates my @PeopleActions = ProcessTicketWatchers(ARGSRef => \%ARGS, TicketObj=>$TicketObj); diff --git a/rt/html/Ticket/Elements/ShowSummary b/rt/html/Ticket/Elements/ShowSummary index e3464c732..2f153f3bc 100644 --- a/rt/html/Ticket/Elements/ShowSummary +++ b/rt/html/Ticket/Elements/ShowSummary @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# <jesse@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: diff --git a/rt/html/Ticket/Elements/ShowTransactionAttachments b/rt/html/Ticket/Elements/ShowTransactionAttachments index 85e04e5e5..66823d743 100644 --- a/rt/html/Ticket/Elements/ShowTransactionAttachments +++ b/rt/html/Ticket/Elements/ShowTransactionAttachments @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# <jesse@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: diff --git a/rt/html/Ticket/Elements/Tabs b/rt/html/Ticket/Elements/Tabs index 3dee8dff6..3149e6b7c 100644 --- a/rt/html/Ticket/Elements/Tabs +++ b/rt/html/Ticket/Elements/Tabs @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# <jesse@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -223,13 +223,13 @@ if ($args) { $tabs->{"i"} = { path => "Search/Results.html$args", title => loc('Show Results'), }; - if ($current_tab =~ "Search/Results.html") { + if ($current_tab =~ m{Search/Results.html}) { $current_tab = "Search/Results.html$args"; } $tabs->{"j"} = { path => "Search/Bulk.html$args", title => loc('Bulk Update'), }; - if ($current_tab =~ "Search/Bulk.html") { + if ($current_tab =~ m{Search/Bulk.html}) { $current_tab = "Search/Bulk.html$args"; } foreach my $searchtab (keys %{$searchtabs}) { |