[Rt-commit] [svn] r1499 -
rtir/branches/1.1/html/Callbacks/RTIR/Ticket/Elements/ShowMessageHeaders
leira at pallas.eruditorum.org
leira at pallas.eruditorum.org
Thu Sep 16 18:29:55 EDT 2004
Author: leira
Date: Thu Sep 16 18:29:55 2004
New Revision: 1499
Added:
rtir/branches/1.1/html/Callbacks/RTIR/Ticket/Elements/ShowMessageHeaders/Headers
Removed:
rtir/branches/1.1/html/Callbacks/RTIR/Ticket/Elements/ShowMessageHeaders/Default
Log:
Remove old callback, no longer used.
Add new callback, for making headers appropriately clicky.
Added: rtir/branches/1.1/html/Callbacks/RTIR/Ticket/Elements/ShowMessageHeaders/Headers
==============================================================================
--- (empty file)
+++ rtir/branches/1.1/html/Callbacks/RTIR/Ticket/Elements/ShowMessageHeaders/Headers Thu Sep 16 18:29:55 2004
@@ -0,0 +1,15 @@
+<%init>
+return if $display_headers{'_all'};
+my $i = 0;
+while ($i < scalar @headers) {
+ $i++;
+ next unless ($display_headers{lc($headers[$i-1]->{'Tag'})});
+ $m->comp('/RTIR/Elements/MakeClicky', content => \$headers[$i-1]->{'Value'});
+}
+</%init>
+<%ARGS>
+$Transaction => undef
+$content => undef
+%display_headers => undef
+ at headers => undef
+</%ARGS>
More information about the Rt-commit
mailing list