[Rt-commit] r4380 - in rtir/branches/1.9-EXPERIMENTAL: .
html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap html/RTIR
html/RTIR/Elements html/RTIR/Incident
html/RTIR/Incident/Elements html/RTIR/Report
html/RTIR/Reporting html/RTIR/Reporting/Elements html/RTIR/Tools
ruz at bestpractical.com
ruz at bestpractical.com
Thu Jan 12 00:25:31 EST 2006
Author: ruz
Date: Thu Jan 12 00:25:25 2006
New Revision: 4380
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/ColumnMap
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Edit.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/AddWatchers
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ChildSummary
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditDates
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditPeople
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/IncidentSummary
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/MakeClicky
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/PickRestriction
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/Refresh
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowChildren
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowDates
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/SimpleSearch
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/UpdateData
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Create.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkChildren.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Reply.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/ShowChildren.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Merge.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Report/BulkReject.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Elements/SLASummary
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Report.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/BuildQuery
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/PickCriteria
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/Lookup.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html
Log:
r602 at cubic-pc: cubic | 2005-12-28 23:53:15 +0300
applied tidy_html.pl
* adds quotes around attributes of the tags
* close tags br, img and input tags with ' />' syntax
* downcase tags and attributes names
* (down|upper)case values of some attributes
Modified: rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/ColumnMap
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/ColumnMap (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/RT__Ticket/ColumnMap/ColumnMap Thu Jan 12 00:25:25 2006
@@ -12,7 +12,7 @@
$COLUMN_MAP->{'_RTIR_Check'} = {
title => sub {
return ( \qq{<input type="checkbox" name="AllSelectedTickets" value="1"
- onclick="setCheckbox(this.form, 'SelectedTickets', this.checked)"/>} );
+ onclick="setCheckbox(this.form, 'SelectedTickets', this.checked)" />} );
},
value => sub {
my $selected = '';
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Create.html Thu Jan 12 00:25:25 2006
@@ -55,11 +55,11 @@
% $m->abort();
% }
-<FORM ACTION="<%$RT::WebPath%>/RTIR/Create.html" METHOD="POST" ENCTYPE="multipart/form-data">
-<input type="hidden" Name="id" value="new" />
-<input type="hidden" NAME="Queue" value="<% $QueueObj->Name %>" />
-<input type="hidden" NAME="Status" value="<% $Status || 'open' %>" />
-<input type="hidden" NAME="Incident" value="<% $ARGS{Incident} %>" />
+<form action="<%$RT::WebPath%>/RTIR/Create.html" method="post" enctype="multipart/form-data">
+<input type="hidden" name="id" value="new" />
+<input type="hidden" name="Queue" value="<% $QueueObj->Name %>" />
+<input type="hidden" name="Status" value="<% $Status || 'open' %>" />
+<input type="hidden" name="Incident" value="<% $ARGS{Incident} %>" />
% my $parentvalue;
% if ($IncidentObj) {
% $parentvalue = $IncidentObj->Id;
@@ -78,7 +78,7 @@
<a name="top">
<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => $Title &>
-<table border=0 cellpadding=0 cellspacing=2>
+<table border="0" cellpadding="0" cellspacing="2">
% if ($Incident) {
<tr>
<td align="right"><&|/l&>Incident</&>:</td>
@@ -91,7 +91,7 @@
</tr>
% }
<tr>
- <td class=label>
+ <td class="label">
<&|/l&>Owner</&>:
</td>
<td>
@@ -102,50 +102,50 @@
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<&|/l&>Subject</&>:
</td>
- <td class=value COLSPAN=5>
- <input Name="Subject" SIZE=60 MAXSIZE=100 value="<% $Subject || ''%>">
+ <td class="value" colspan="5">
+ <input name="Subject" size="60" maxsize="100" value="<% $Subject || ''%>" />
</td>
</tr>
<tr>
<td align="right"><&|/l&>Time Worked</&>:</td>
- <td colspan=2>
+ <td colspan="2">
<table>
<tr>
- <td><input size=3 name="TimeWorked"<% $ARGS{TimeWorked} && " value=\"$ARGS{TimeWorked}\"" %>></td>
+ <td><input size="3" name="TimeWorked"<% $ARGS{TimeWorked} && " value=\"$ARGS{TimeWorked}\"" %> /></td>
<td align="right"><&|/l&>Time Left</&>:</td>
- <td><input size=3 name="TimeLeft"<% $ARGS{TimeLeft} && " value=\"$ARGS{TimeLeft}\"" %>></td>
+ <td><input size="3" name="TimeLeft"<% $ARGS{TimeLeft} && " value=\"$ARGS{TimeLeft}\"" %> /></td>
</tr>
</table>
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<&|/l&>Correspondents</&>:
</td>
- <td COLSPAN=5>
- <input Name="Requestors" Value="<%$ARGS{Requestors}%>" SIZE=40>
+ <td colspan="5">
+ <input name="Requestors" value="<%$ARGS{Requestors}%>" size="40" />
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<&|/l&>Cc</&>:
</td>
- <td class=value COLSPAN=5>
- <input Name="Cc" Value="<%($ARGS{Cc})%>" SIZE=40>
- <i><font size=-2>
+ <td class="value" colspan="5">
+ <input name="Cc" value="<%($ARGS{Cc})%>" size="40" />
+ <i><font size="-2">
<&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)</&></font></i>
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<&|/l&>Admin Cc</&>:
</td>
- <td class=value COLSPAN=5>
- <input Name="AdminCc" Value="<%($ARGS{AdminCc}) || ""%>" SIZE=40>
- <i><font size=-2>
+ <td class="value" colspan="5">
+ <input name="AdminCc" value="<%($ARGS{AdminCc}) || ""%>" size="40" />
+ <i><font size="-2">
<&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)</&></font></i>
</td>
</tr>
@@ -161,10 +161,10 @@
</td>
</tr>
<tr>
- <td class=labeltop>
+ <td class="labeltop">
<%loc("How Reported")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<table>
<tr>
<td>
@@ -174,10 +174,10 @@
Name => 'HowReported',
Default => $ARGS{'HowReported-Value'} || $RT::_RTIR_HowReported_default &>
</td>
- <td class=labeltop>
+ <td class="labeltop">
<%loc("Reporter Type")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/EditRTIRField,
TicketObj => $TicketObj,
QueueObj => $QueueObj,
@@ -190,10 +190,10 @@
</tr>
% } elsif ($Type eq "Block") {
<tr>
- <td class=label>
+ <td class="label">
<%loc("IP address")%>:
</td>
- <td class=value>
+ <td class="value">
<& /RTIR/Elements/EditRTIRField,
TicketObj => $TicketObj,
QueueObj => $QueueObj,
@@ -202,10 +202,10 @@
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<%loc("Netmask")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/EditRTIRField,
TicketObj => $TicketObj,
QueueObj => $QueueObj, Name => 'Netmask',
@@ -213,10 +213,10 @@
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<%loc("Port")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/EditRTIRField,
TicketObj => $TicketObj,
QueueObj => $QueueObj, Name => 'Port',
@@ -224,10 +224,10 @@
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<%loc("Where Blocked")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/EditRTIRField,
TicketObj => $TicketObj,
QueueObj => $QueueObj, Name => 'WhereBlocked',
@@ -236,7 +236,7 @@
</tr>
% }
<tr>
- <td colspan=2>
+ <td colspan="2">
<& /Ticket/Elements/EditCustomFields,
TicketObj => $TicketObj,
QueueObj => $QueueObj &>
@@ -247,28 +247,28 @@
<td>
<&|/l&>Attached file</&>:
</td>
-<td COLSPAN=5>
-<&|/l&>Check box to delete</&><BR>
+<td colspan="5">
+<&|/l&>Check box to delete</&><br />
% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>"><%$attach_name%><BR>
+<input type="checkbox" name="DeleteAttach-<%$attach_name%>" /><%$attach_name%><br />
% } # end of foreach
</td>
</tr>
<tr>
% } # end of if
-<td class=label>
+<td class="label">
<&|/l&>Attach file</&>:
</td>
-<td class=value COLSPAN=5>
-<input TYPE=FILE NAME="Attach">
-<input TYPE=SUBMIT NAME="AddMoreAttach" value="<&|/l&>Add More Files</&>">
+<td class="value" colspan="5">
+<input type="file" name="Attach" />
+<input type="submit" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" />
</td>
</tr>
<tr>
-<td class=labeltop>
+<td class="labeltop">
<&|/l&>Message</&>:
</td>
-<td COLSPAN=5>
+<td colspan="5">
% if (!exists $ARGS{Content}) {
% my $Transactions;
% if ($TicketObj) {
@@ -292,29 +292,29 @@
% }
% }
<& /Elements/MessageBox, Default => $ARGS{Content}, QuoteTransaction => $QuoteTransaction &>
- <BR>
+ <br />
</td>
</tr>
<tr>
- <td align="right" COLSPAN=2>
+ <td align="right" colspan="2">
</td>
</tr>
<tr>
<td>
</td>
- <td VALIGN=TOP>
+ <td valign="top">
<& /Widgets/TitleBoxStart, title => loc("Dates"),
title_class=> 'inverse',
color => "#663366" &>
- <table BORDER=0>
+ <table border="0">
<tr>
<td align="right"><&|/l&>Starts</&>:</td>
- <td><input size=10 name="Starts" value="<% $ARGS{Starts} || '' %>" /></td>
+ <td><input size="10" name="Starts" value="<% $ARGS{Starts} || '' %>" /></td>
</tr>
<tr>
<td align="right"><&|/l&>Due</&>:</td>
- <td><input size=10 name="Due" value="<% $ARGS{Due} || '' %>" /></td>
+ <td><input size="10" name="Due" value="<% $ARGS{Due} || '' %>" /></td>
</tr>
</table>
<& /Widgets/TitleBoxEnd &>
@@ -329,7 +329,7 @@
% } else {
<& /Elements/Submit, Name => "Create", Label => loc("Create")&>
% }
-</FORM>
+</form>
<%INIT>
my $QueueObj = new RT::Queue($session{'CurrentUser'});
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html Thu Jan 12 00:25:25 2006
@@ -37,27 +37,27 @@
% $m->abort();
% }
-<table border=0 cellpadding=0 cellspacing=2 width=100%>
+<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr>
-<td valign=top colspan=2>
+<td valign="top" colspan="2">
<& /Widgets/TitleBoxStart, title => loc("The Basics"),
title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
title_class=> 'inverse' &>
<table>
<tr>
- <td class=label>
+ <td class="label">
<%loc("State")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/ShowRTIRField, Ticket => $Ticket, Name => 'State' &>
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<%loc("Incident")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/ShowIncidents, Ticket => $Ticket &>
</td>
</tr>
@@ -67,19 +67,19 @@
</tr>
% if ($Type eq 'Report') {
<tr>
- <td class=label>
+ <td class="label">
<%loc("How Reported")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/ShowRTIRField,
Ticket => $Ticket, Name => 'HowReported' &>
</td>
</tr>
<tr>
- <td class=label>
+ <td class="label">
<%loc("Reporter Type")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/ShowRTIRField,
Ticket => $Ticket, Name => 'ReporterType' &>
</td>
@@ -134,35 +134,35 @@
</td>
</tr>
<tr>
- <TD VALIGN=TOP width=50%>
- <BR>
+ <td valign="top" width="50%">
+ <br />
<& /Widgets/TitleBoxStart, title => loc('People'),
title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
title_class=> 'inverse' &>
<& /RTIR/Elements/ShowPeople, Ticket => $Ticket &>
<& /Widgets/TitleBoxEnd &>
- <BR>
- </TD>
+ <br />
+ </td>
<td>
- <BR>
+ <br />
<& /Widgets/TitleBoxStart, title => loc("Dates"),
title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
title_class=> 'inverse',
color => "#663366" &>
<& /RTIR/Elements/ShowDates, Ticket => $Ticket &>
<& /Widgets/TitleBoxEnd &>
- <BR>
+ <br />
</td>
</tr>
<tr>
- <TD VALIGN=TOP width=50%>
+ <td valign="top" width="50%">
<& /Ticket/Elements/ShowAttachments, Ticket => $Ticket,
Attachments => $attachments &>
</td>
- <TD VALIGN=TOP width=50%>
+ <td valign="top" width="50%">
<& /Ticket/Elements/ShowRequestor, Ticket => $Ticket, DisplayPath => '/RTIR/Display.html' &>
- </TD>
-</TR>
+ </td>
+</tr>
</table>
<& /Ticket/Elements/ShowHistory ,
Ticket => $Ticket,
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Edit.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Edit.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Edit.html Thu Jan 12 00:25:25 2006
@@ -36,12 +36,12 @@
% $m->abort();
% }
-<FORM METHOD=POST ACTION="Edit.html" ENCTYPE="multipart/form-data">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
+<form method="post" action="Edit.html" enctype="multipart/form-data">
+<input type="hidden" name="id" value="<%$Ticket->Id%>" />
-<table border=0 cellspacing=2 cellpadding=0 width=100%>
+<table border="0" cellspacing="2" cellpadding="0" width="100%">
<tr>
-<td valign=top width=50%>
+<td valign="top" width="50%">
<& /Widgets/TitleBoxStart,
title => loc("The Basics"),
color=> "#993333",
@@ -49,36 +49,36 @@
<table>
<tr>
- <td class=label>
+ <td class="label">
<%loc("State")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/ShowRTIRField, Ticket => $Ticket, Name => 'State' &>
</td>
</tr>
<tr>
<td class="label"><&|/l&>Subject</&>:</td>
- <td class="value"><input name=Subject value="<%$Ticket->Subject|h%>" SIZE=50></td>
+ <td class="value"><input name="Subject" value="<%$Ticket->Subject|h%>" size="50" /></td>
</tr>
- <TR>
- <TD class=label>
+ <tr>
+ <td class="label">
<&|/l&>Owner</&>:
- </TD>
- <TD>
+ </td>
+ <td>
<& /Elements/SelectOwner, Name => 'Owner', QueueObj => $Ticket->QueueObj, TicketObj => $Ticket, Default => $Ticket->Owner &>
- </TD>
- </TR>
+ </td>
+ </tr>
<tr>
- <td class=label>
+ <td class="label">
<%loc("Incident")%>:
</td>
- <td class=value>
+ <td class="value">
<& /RTIR/Elements/ShowIncidents, Ticket => $Ticket &>
</td>
</tr>
<tr>
<td class="label"><&|/l&>Time Worked</&>:</td>
- <td class="value"><input name=TimeWorked value="<%$Ticket->TimeWorked|h%>" SIZE="5"></td>
+ <td class="value"><input name="TimeWorked" value="<%$Ticket->TimeWorked|h%>" size="5" /></td>
</tr>
% if ($Type eq 'Report') {
@@ -91,10 +91,10 @@
</td>
</tr>
<tr>
- <td class=labeltop>
+ <td class="labeltop">
<%loc("How Reported")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<table>
<tr>
<td>
@@ -102,10 +102,10 @@
TicketObj => $Ticket,
Name => 'HowReported' &>
</td>
- <td class=labeltop>
+ <td class="labeltop">
<%loc("Reporter Type")%>:
</td>
- <td class=value colspan=2>
+ <td class="value" colspan="2">
<& /RTIR/Elements/EditRTIRField,
TicketObj => $Ticket,
Name => 'ReporterType' &>
@@ -150,7 +150,7 @@
% }
<tr>
- <td colspan=2>
+ <td colspan="2">
<& /Ticket/Elements/EditCustomFields, TicketObj => $Ticket &>
</td>
</tr>
@@ -161,7 +161,7 @@
</td>
</tr>
<tr>
-<td valign=top width=50%>
+<td valign="top" width="50%">
<& /Widgets/TitleBoxStart, title => loc('Dates'), width => "100%", color => "#663366" &>
<& /RTIR/Elements/EditDates, TicketObj => $Ticket &>
@@ -170,14 +170,14 @@
</td>
</tr>
</table>
-<BR>
+<br />
<& /Widgets/TitleBoxStart, title => loc('People'),width => "100%", color=> "#333399" &>
<& /RTIR/Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp &>
<& /Widgets/TitleBoxEnd &>
-<BR>
+<br />
<& /Elements/Submit, Name => 'SaveChanges', Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#333399" &>
</form>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/AddWatchers
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/AddWatchers (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/AddWatchers Thu Jan 12 00:25:25 2006
@@ -22,10 +22,10 @@
%#
%#
%# END LICENSE BLOCK
-<BR>
-<%$msg%><br>
+<br />
+<%$msg%><br />
-<&|/l&>Add new Correspondents</&>:<br>
+<&|/l&>Add new Correspondents</&>:<br />
<table>
% if ($Users) {
@@ -58,17 +58,17 @@
<tr><td>
<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail1" &>
</td><td>
-<input name="WatcherAddressEmail1" size=15>
+<input name="WatcherAddressEmail1" size="15" />
</td></tr>
<tr><td>
<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail2" &>
</td><td>
-<input name="WatcherAddressEmail2" size=15>
+<input name="WatcherAddressEmail2" size="15" />
</td></tr>
<tr><td>
<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail3" &>
</td><td>
-<input name="WatcherAddressEmail3" size=15>
+<input name="WatcherAddressEmail3" size="15" />
</td></tr>
</table>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ChildSummary
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ChildSummary (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ChildSummary Thu Jan 12 00:25:25 2006
@@ -22,51 +22,51 @@
%#
%#
%# END LICENSE BLOCK
-<TABLE width=100% border=0 cellpadding=2 CELLSPACING=0>
-<TR>
+<table width="100%" border="0" cellpadding="2" cellspacing="0">
+<tr>
<th><b><&|/l&>id<b></&></th>
<th><b><&|/l&>Subject<b></&></th>
<th><b><&|/l&>State<b></&></th>
<th><b><&|/l&>Priority<b></&></th>
-<th align=right><b><&|/l&>Actions<b></&></th>
-</TR>
+<th align="right"><b><&|/l&>Actions<b></&></th>
+</tr>
% my $i=0;
%while (my $Ticket = $session{'tickets'}->Next) {
% next unless ($Ticket->QueueObj->Name eq $Queue);
% $i++;
% my ($t) = $m->comp("/RTIR/Elements/Type", Ticket => $Ticket->Id);
-<TR class="<% $i%2 ? 'oddline' : 'evenline'%>" >
-<td><b><A HREF="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%></a></b></td>
-<td><b><A HREF="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Subject%></a></b></td>
+<tr class="<% $i%2 ? 'oddline' : 'evenline'%>" >
+<td><b><a href="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%></a></b></td>
+<td><b><a href="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Subject%></a></b></td>
<td><& "/RTIR/Elements/ShowRTIRField", Ticket => $Ticket, Name => 'State' &>
-<TD><%$Ticket->Priority%></TD>
+<td><%$Ticket->Priority%></td>
% if ($Type eq 'Incident') {
-<td align=right><a href="<%$RT::WebPath%>/RTIR/Display.html?child=<%$Ticket->Id%>&id=<%$ticket%>">[<%loc("Link")%>]</a></td>
+<td align="right"><a href="<%$RT::WebPath%>/RTIR/Display.html?child=<%$Ticket->Id%>&id=<%$ticket%>">[<%loc("Link")%>]</a></td>
% } elsif ($Type eq $t) {
% if ($ticket ne $Ticket->Id) {
-<td align=right><a href="<%$RT::WebPath%>/RTIR/Merge.html?id=<%$ticket%>&SelectedTicket=<%$Ticket->Id%>">[<%loc("Merge")%>]</a></td>
+<td align="right"><a href="<%$RT::WebPath%>/RTIR/Merge.html?id=<%$ticket%>&SelectedTicket=<%$Ticket->Id%>">[<%loc("Merge")%>]</a></td>
% } else {
<td> </td>
% }
% } else {
<td> </td>
% }
-</TR>
+</tr>
% }
% if ($i == 0) {
-<tr><td colspan=5><i><%loc("(no [_1])", $Queue)%></i></td></tr>
+<tr><td colspan="5"><i><%loc("(no [_1])", $Queue)%></i></td></tr>
% }
<tr>
-<td colspan=5>
+<td colspan="5">
[<a href="<%$RT::WebPath%>/RTIR/Search/Refine.html?Queue=<%$Queue%><%$QueryString%>"><%loc("Refine Search")%></a>]
% if ($Type eq 'Incident') {
% if ($Queue) {
[<a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?Queue=<%$Queue%>&Query=Content LIKE '<%$q%>'&id=<%$ticket%>"><%loc("Bulk Link")%></a>]
% }
% if ($Queue eq 'Investigations' and $lookuptype eq 'email') {
-<br>[<a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$ticket%>&Requestors=<%$q%>&Queue=Investigations"><%loc("Launch new: [_1]", $q)%></a>]
+<br />[<a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$ticket%>&Requestors=<%$q%>&Queue=Investigations"><%loc("Launch new: [_1]", $q)%></a>]
% } elsif ($Queue eq 'Blocks' and $lookuptype eq 'ip') {
-<br>[<a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$ticket%>&Queue=Blocks&IP-Value=<%$q%>"><%loc("New Block: [_1]", $q)%></a>]
+<br />[<a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$ticket%>&Queue=Blocks&IP-Value=<%$q%>"><%loc("New Block: [_1]", $q)%></a>]
% }
% }
</td>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditDates
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditDates (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditDates Thu Jan 12 00:25:25 2006
@@ -22,41 +22,41 @@
%#
%#
%# END LICENSE BLOCK
-<TABLE>
- <TR>
- <TD class="label"><&|/l&>Starts</&>:</TD>
- <TD class="entry"><& /Elements/SelectDate, menu_prefix => 'Starts', current => 0 &>
- (<% $TicketObj->StartsObj->AsString %>)</TD>
- </TR>
- <TR>
- <TD class="label">
+<table>
+ <tr>
+ <td class="label"><&|/l&>Starts</&>:</td>
+ <td class="entry"><& /Elements/SelectDate, menu_prefix => 'Starts', current => 0 &>
+ (<% $TicketObj->StartsObj->AsString %>)</td>
+ </tr>
+ <tr>
+ <td class="label">
<&|/l&>Last Contact</&>:
- </TD>
- <TD class="entry">
+ </td>
+ <td class="entry">
<& /Elements/SelectDate, menu_prefix => 'Told', current => 0 &> (<% $TicketObj->ToldObj->AsString %>)
- </TD>
- </TR>
+ </td>
+ </tr>
% if ($TicketObj->QueueObj->Name eq 'Incident Reports' ||
% $TicketObj->QueueObj->Name eq 'Investigations' ||
% $TicketObj->QueueObj->Name eq 'Blocks') {
- <TR>
- <TD class="label"><&|/l&>Started</&>:</TD>
- <TD class="entry">
+ <tr>
+ <td class="label"><&|/l&>Started</&>:</td>
+ <td class="entry">
<& /Elements/SelectDate, menu_prefix => 'Started', current => 0 &> (<% $TicketObj->DueObj->AsString %>)
- </TD>
- </TR>
+ </td>
+ </tr>
% }
% if ($TicketObj->QueueObj->Name ne 'Incidents') {
- <TR>
- <TD class="label"><&|/l&>Due</&>:</TD>
- <TD class="entry">
+ <tr>
+ <td class="label"><&|/l&>Due</&>:</td>
+ <td class="entry">
<& /Elements/SelectDate, menu_prefix => 'Due', current => 0 &> (<% $TicketObj->DueObj->AsString %>)
- </TD>
- </TR>
+ </td>
+ </tr>
% }
- </TD>
- </TR>
-</TABLE>
+ </td>
+ </tr>
+</table>
<%ARGS>
$TicketObj => undef
</%ARGS>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditPeople
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditPeople (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditPeople Thu Jan 12 00:25:25 2006
@@ -22,9 +22,9 @@
%#
%#
%# END LICENSE BLOCK
-<TABLE>
-<TR>
-<TD VALIGN=TOP width=50%>
+<table>
+<tr>
+<td valign="top" width="50%">
<h3><&|/l&>Current Correspondents</&></h3>
<table>
<tr>
@@ -39,7 +39,7 @@
</td>
</tr>
<tr>
- <td height=1 colspan=2 bgcolor=#999999></td>
+ <td height="1" colspan="2" bgcolor="#999999"></td>
<tr>
<tr>
<td class="labeltop">
@@ -50,7 +50,7 @@
</td>
</tr>
<tr>
- <td height=1 colspan=2 bgcolor=#999999></td>
+ <td height="1" colspan="2" bgcolor="#999999"></td>
<tr>
<td class="labeltop">
<&|/l&>Admin Cc</&>:
@@ -61,19 +61,19 @@
</tr>
</table>
-</TD>
-<TD VALIGN=TOP width=50%>
+</td>
+<td valign="top" width="50%">
<h3><&|/l&>New Correspondents</&></h3>
-<&|/l&>Find people whose</&><BR>
+<&|/l&>Find people whose</&><br />
<& /Elements/SelectUsers &>
-<input type=submit name="OnlySearchForPeople" value="<&|/l&>Go!</&>">
+<input type="submit" name="OnlySearchForPeople" value="<&|/l&>Go!</&>" />
<& AddWatchers, Ticket => $Ticket, UserString => $UserString,
UserOp => $UserOp, UserField => $UserField &>
-</TD>
-</TR>
-</TABLE>
+</td>
+</tr>
+</table>
<%ARGS>
$UserField => undef
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField Thu Jan 12 00:25:25 2006
@@ -24,9 +24,9 @@
%# END LICENSE BLOCK
% if ($cf->id) {
% if ($cf->Type eq 'FreeformSingle') {
-<input type="hidden" name="<%$Name%>" value="<%$NamePrefix%><%$cf->id%>-Value">
+<input type="hidden" name="<%$Name%>" value="<%$NamePrefix%><%$cf->id%>-Value" />
% } else {
-<input type="hidden" name="<%$Name%>" value="<%$NamePrefix%><%$cf->id%>-Values">
+<input type="hidden" name="<%$Name%>" value="<%$NamePrefix%><%$cf->id%>-Values" />
% }
<& /Ticket/Elements/EditCustomField, TicketObj => $TicketObj,
CustomField => $cf,
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/IncidentSummary
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/IncidentSummary (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/IncidentSummary Thu Jan 12 00:25:25 2006
@@ -22,26 +22,26 @@
%#
%#
%# END LICENSE BLOCK
-<TABLE width=100% border=0 cellpadding=2 CELLSPACING=0>
-<TR>
+<table width="100%" border="0" cellpadding="2" cellspacing="0">
+<tr>
<td><b><&|/l&>id<b></&></td>
<td><b><&|/l&>Subject<b></&></td>
<td><b><&|/l&>State<b></&></td>
<td><b><&|/l&>Priority<b></&></td>
-<td align=right><b><&|/l&>Actions<b></&></td>
-</TR>
+<td align="right"><b><&|/l&>Actions<b></&></td>
+</tr>
% my $i=0;
% foreach my $incident (sort keys %{$incidents}) {
% my $Ticket = $incidents->{$incident}->{'Ticket'};
% $i++;
% my ($t) = $m->comp("/RTIR/Elements/Type", Ticket => $Ticket->Id);
-<TR class="<% $i%2 ? 'oddline' : 'evenline'%>" >
-<td><b><A HREF="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%></a></b></td>
-<td><b><A HREF="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Subject%></a></b></td>
+<tr class="<% $i%2 ? 'oddline' : 'evenline'%>" >
+<td><b><a href="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%></a></b></td>
+<td><b><a href="<%$RT::WebPath%>/RTIR/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Subject%></a></b></td>
<td><& "/RTIR/Elements/ShowRTIRField", Ticket => $Ticket, Name => 'State' &>
</td>
-<TD><%$Ticket->Priority%></TD>
-<td align=right>
+<td><%$Ticket->Priority%></td>
+<td align="right">
% if ($Type eq 'Report' or $Type eq 'Investigation' or $Type eq 'Block') {
<a href="<%$RT::WebPath%>/RTIR/Display.html?child=<%$ticket%>&id=<%$Ticket->Id%>">[<%loc("Link")%>]</a>
% } elsif ($ticket and $Type eq $t) {
@@ -51,14 +51,14 @@
% }
<a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Investigations">[<%loc("Investigate")%>]</a>
</td>
-</TR>
+</tr>
% }
% if ($i == 0) {
-<tr><td colspan=5><i>(no incidents)</i></td></tr>
+<tr><td colspan="5"><i>(no incidents)</i></td></tr>
% }
<tr>
-<td colspan=5>
+<td colspan="5">
% if ($Type eq 'Report' or $Type eq 'Investigation' or $Type eq 'Block') {
[<a href="<%$RT::WebPath%>/RTIR/Create.html?child=<%$ticket%>&Queue=Incidents"><b>New</b></a>]
% }
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/MakeClicky
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/MakeClicky (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/MakeClicky Thu Jan 12 00:25:25 2006
@@ -19,14 +19,14 @@
default => sub {
my ($type,$value) = @_;
# $type = substr $type,1;
- return qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}q=${value}">$value</A>];
+ return qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}q=${value}">$value</a>];
},
ip =>
sub {
my ($type,$value) = @_;
- my $result = qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=ip&q=${value}">$value</A>];
+ my $result = qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=ip&q=${value}">$value</a>];
if ($incident) {
- $result .= qq[ [<A HREF="$RT::WebPath/RTIR/Create.html?Incident=$incident&Queue=Blocks&IP-Value=$value">Block</A>] ];
+ $result .= qq[ [<a href="$RT::WebPath/RTIR/Create.html?Incident=$incident&Queue=Blocks&IP-Value=$value">Block</a>] ];
}
return $result;
},
@@ -44,9 +44,9 @@
"$a.$b.$c.$d";
};
my $result;
- $result = qq[$value <A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=ip&q=$host">($host)</A>];
+ $result = qq[$value <a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=ip&q=$host">($host)</a>];
if ($incident) {
- $result .= qq[[<A HREF="$RT::WebPath/RTIR/Create.html?Incident=$incident&Queue=Blocks&IP-Value=$host">Block</A>] ];
+ $result .= qq[[<a href="$RT::WebPath/RTIR/Create.html?Incident=$incident&Queue=Blocks&IP-Value=$host">Block</a>] ];
}
return $result;
},
@@ -54,32 +54,32 @@
sub {
my ($type,$value) = @_;
my ($pre,$post) = split /@/,$value,2;
- my $result = qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=email&q=$value">$value</A> ];
+ my $result = qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=email&q=$value">$value</a> ];
if ($incident) {
if ($r->uri =~ /Lookup.html$/) {
- $result .= qq[<INPUT TYPE=CHECKBOX NAME="Requestorbox-$value" UNCHECKED>];
+ $result .= qq[<input type="checkbox" name="Requestorbox-$value" unchecked />];
}
- $result .= qq[[<A HREF="$RT::WebPath/RTIR/Create.html?Incident=$incident&Queue=Investigations&Requestors=$value">Investigate to</A>] ];
+ $result .= qq[[<a href="$RT::WebPath/RTIR/Create.html?Incident=$incident&Queue=Investigations&Requestors=$value">Investigate to</a>] ];
}
- $result .= qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=host&q=$post">($post)</A>];
+ $result .= qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=host&q=$post">($post)</a>];
},
url =>
sub {
my ($type,$value) = @_;
my $uri = URI::URL->new($value);
my $host = $uri->host;
- return qq[<A TARGET=new HREF="$value">$value</A> ].
- qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=host&q=$host">($host)</A>];
+ return qq[<a target="new" href="$value">$value</a> ].
+ qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=host&q=$host">($host)</a>];
},
noc =>
sub {
my ($type,$value) = @_;
- return qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=handle&q=$value">$value</A>];
+ return qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=handle&q=$value">$value</a>];
},
host =>
sub {
my ($type,$value) = @_;
- my $result = qq[<A HREF="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=host&q=$value">$value</A>];
+ my $result = qq[<a href="$RT::WebPath/RTIR/Tools/Lookup.html?@{[$url_params_once]}type=host&q=$value">$value</a>];
return $result;
},
);
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/PickRestriction
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/PickRestriction (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/PickRestriction Thu Jan 12 00:25:25 2006
@@ -22,12 +22,12 @@
%#
%#
%# END LICENSE BLOCK
-<FORM METHOD="GET">
-<INPUT TYPE=HIDDEN NAME="Bookmark" VALUE="<% $session{'tickets'}->FreezeLimits()|u %>">
-<input type=hidden name=Queue value="<%$ARGS{'Queue'}%>">
+<form method="get">
+<input type="hidden" name="Bookmark" value="<% $session{'tickets'}->FreezeLimits()|u %>" />
+<input type="hidden" name="Queue" value="<%$ARGS{'Queue'}%>" />
<& /Widgets/TitleBoxStart, title => loc('Refine search')&>
-<input type=hidden name="id" value="<%$ARGS{'id'}%>">
-<INPUT TYPE=HIDDEN NAME="CompileRestriction" VALUE=1>
+<input type="hidden" name="id" value="<%$ARGS{'id'}%>" />
+<input type="hidden" name="CompileRestriction" value="1" />
<ul>
<li><&|/l&>Owner is</&> <& /Elements/SelectBoolean, Name => "OwnerOp",
@@ -39,15 +39,15 @@
<li>
<&|/l&>Requestor email address</&>
<& /Elements/SelectMatch, Name => "RequestorOp" &>
-<INPUT Name="ValueOfRequestor" SIZE=20>
+<input name="ValueOfRequestor" size="20" />
<li>
<&|/l&>Subject</&> <& /Elements/SelectMatch, Name => "SubjectOp" &>
-<INPUT Name="ValueOfSubject" SIZE=20>
+<input name="ValueOfSubject" size="20" />
<li><&|/l&>Priority</&> <& /Elements/SelectEqualityOperator, Name => "PriorityOp" &>
-<INPUT Name="ValueOfPriority" SIZE=5>
+<input name="ValueOfPriority" size="5" />
<li>
<&|/l&>Date</&>
@@ -64,7 +64,7 @@
TrueVal => 'LIKE',
FalseVal => 'NOT LIKE'
&>
-<Input Name="ValueOfAttachmentField" Size=20>
+<input name="ValueOfAttachmentField" size="20" />
% if ($QueueObj->Name eq 'Incidents') {
<li><& /RTIR/Elements/SearchRTIRField, QueueObj => $QueueObj,
@@ -132,13 +132,13 @@
% }
-</UL>
+</ul>
<& /Widgets/TitleBoxEnd &>
<& /Widgets/TitleBoxStart, title => loc('Ordering and sorting')&>
-<UL>
+<ul>
<li><&|/l&>Results per page</&> <& /Elements/SelectResultsPerPage, Name => "RowsPerPage",
Default => $session{'tickets_rows_per_page'} || '50'
@@ -149,13 +149,13 @@
&>
<& /Elements/SelectSortOrder, Name => 'TicketsSortOrder', Default => $session{'tickets_sort_order'} &>
-<li><input type="checkbox" name="HideResults" <%$ARGS{'HideResults'} && 'CHECKED'%>> <&|/l&>Don't show search results</&>
+<li><input type="checkbox" name="HideResults" <%$ARGS{'HideResults'} && 'CHECKED'%> /> <&|/l&>Don't show search results</&>
<li><& /Elements/Refresh, Name => 'RefreshSearchInterval' , Default => $session{'tickets_refresh_interval'} &>
-</UL>
+</ul>
-</DIV>
+</div>
@@ -163,7 +163,7 @@
<& /Elements/Submit, Label => loc('Search'), Name => 'Action'&>
-</FORM>
+</form>
<%INIT>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/Refresh
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/Refresh (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/Refresh Thu Jan 12 00:25:25 2006
@@ -21,20 +21,20 @@
%#
%#
%# END LICENSE BLOCK
-<SELECT NAME="<%$Name%>">
-<OPTION VALUE="-1"
+<select name="<%$Name%>">
+<option value="-1"
%unless ($Default) {
- SELECTED
+ selected
%}
-><&|/l&>Never</&></OPTION>
+><&|/l&>Never</&></option>
%foreach my $value (@refreshevery) {
-<OPTION VALUE="<%$value%>"
+<option value="<%$value%>"
% if ($value == $Default) {
-SELECTED
+selected
% }
-><&|/l, $value/60 &>Every [_1] minutes</&></OPTION>
+><&|/l, $value/60 &>Every [_1] minutes</&></option>
%}
-</SELECT>
+</select>
<%INIT>
my @refreshevery = qw(120 300 600 1200 3600 7200);
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowChildren
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowChildren (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowChildren Thu Jan 12 00:25:25 2006
@@ -32,7 +32,7 @@
% }
% if ($Delete) {
-<i><%loc("Check box to unlink")%></i><br>
+<i><%loc("Check box to unlink")%></i><br />
% }
<& /Elements/TicketList,
Collection => $children,
@@ -52,7 +52,7 @@
<br />
% if( $FullList && $Rows > 0 && $children->Count >= $Rows ) {
-<a href="<%$FullList%>"><i><%loc("More... ([_1] total)", $children->Count)%></i></a><br>
+<a href="<%$FullList%>"><i><%loc("More... ([_1] total)", $children->Count)%></i></a><br />
% }
<%INIT>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowDates
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowDates (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowDates Thu Jan 12 00:25:25 2006
@@ -22,40 +22,40 @@
%#
%#
%# END LICENSE BLOCK
-<TABLE>
- <TR>
- <TD class="label"><&|/l&>Created</&>:</TD>
- <TD class="value"><% $Ticket->CreatedObj->AsString %></TD>
- </TR>
- <TR>
- <TD class="label"><&|/l&>Starts</&>:</TD>
- <TD class="value"><% $Ticket->StartsObj->AsString %></TD>
- </TR>
+<table>
+ <tr>
+ <td class="label"><&|/l&>Created</&>:</td>
+ <td class="value"><% $Ticket->CreatedObj->AsString %></td>
+ </tr>
+ <tr>
+ <td class="label"><&|/l&>Starts</&>:</td>
+ <td class="value"><% $Ticket->StartsObj->AsString %></td>
+ </tr>
% if ($Ticket->QueueObj->Name eq 'Incident Reports' ||
% $Ticket->QueueObj->Name eq 'Investigations' ||
% $Ticket->QueueObj->Name eq 'Blocks') {
- <TR>
- <TD class="label"><&|/l&>Started</&>:</TD>
- <TD class="value"><% $Ticket->StartedObj->AsString %></TD>
- </TR>
+ <tr>
+ <td class="label"><&|/l&>Started</&>:</td>
+ <td class="value"><% $Ticket->StartedObj->AsString %></td>
+ </tr>
% }
% if ($Ticket->QueueObj->Name ne 'Incidents') {
- <TR>
- <TD class="labeltop"><&|/l&>Due</&>:</TD>
- <TD class="value">
+ <tr>
+ <td class="labeltop"><&|/l&>Due</&>:</td>
+ <td class="value">
<% $Ticket->DueObj->AsString %>
% if ($RT::OverdueAfter) {
- <br>
+ <br />
[<a href="Display.html?Due_Date=now%20%2B%20<%$RT::OverdueAfter%>%20days&id=<%$Ticket->Id%>"><%loc("Set to [_1] days from now", $RT::OverdueAfter)%></a>]
% }
- </TD>
- </TR>
+ </td>
+ </tr>
% }
- <TR>
- <TD class="label"><&|/l&>Updated</&>:</TD>
- <TD class="value"><A HREF="#lasttrans"><% $Ticket->LastUpdated ? (loc("[_1] by [_2]", $Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)) : loc("Never") | h %></a></TD>
- </TR>
-</TABLE>
+ <tr>
+ <td class="label"><&|/l&>Updated</&>:</td>
+ <td class="value"><a href="#lasttrans"><% $Ticket->LastUpdated ? (loc("[_1] by [_2]", $Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)) : loc("Never") | h %></a></td>
+ </tr>
+</table>
<%ARGS>
$Ticket => undef
</%ARGS>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/SimpleSearch
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/SimpleSearch (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/SimpleSearch Thu Jan 12 00:25:25 2006
@@ -22,8 +22,8 @@
%#
%# END LICENSE BLOCK
<form action="<% $RT::WebPath %>/RTIR/index.html">
-<input type="hidden" name="NewSearch" value="1">
-<input type="hidden" name="Queue" value="Incidents">
-<input size="12" name="q" accesskey="0">
-<input type="submit" value="<&|/l&>Search Incidents</&>">
+<input type="hidden" name="NewSearch" value="1" />
+<input type="hidden" name="Queue" value="Incidents" />
+<input size="12" name="q" accesskey="0" />
+<input type="submit" value="<&|/l&>Search Incidents</&>" />
</form>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/UpdateData
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/UpdateData (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/UpdateData Thu Jan 12 00:25:25 2006
@@ -22,29 +22,29 @@
%#
%#
%# END LICENSE BLOCK
-<tr><td align=right><&|/l&>Cc</&>:</td><td> <input name="UpdateCc" size=60
-value=<% $ARGS{UpdateCc} %>><BR>
-<i><font size=-2>
+<tr><td align="right"><&|/l&>Cc</&>:</td><td> <input name="UpdateCc" size="60"
+value="<% $ARGS{UpdateCc} %>" /><br />
+<i><font size="-2">
<&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)</&></font></i>
</td></tr>
-<tr><td align=right><&|/l&>Bcc</&>:</td><td> <input name="UpdateBcc" size=60 VALUE="<%$ARGS{UpdateBcc}%>"><BR>
-<i><font size=-2>
+<tr><td align="right"><&|/l&>Bcc</&>:</td><td> <input name="UpdateBcc" size="60" value="<%$ARGS{UpdateBcc}%>" /><br />
+<i><font size="-2">
<&|/l&>(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)</&></font></i>
</td></tr>
% if (exists $session{'Attachments'}) {
-<TD>
+<td>
<&|/l&>Attached file</&>:
-</TD>
-<TD COLSPAN=5>
-<&|/l&>Check box to delete</&><BR>
+</td>
+<td colspan="5">
+<&|/l&>Check box to delete</&><br />
% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>"><%$attach_name%><BR>
+<input type="checkbox" name="DeleteAttach-<%$attach_name%>" /><%$attach_name%><br />
% } # end of foreach
-</TD>
-</TR>
-<TR>
+</td>
+</tr>
+<tr>
% } # end of if
-<tr><td align=right><&|/l&>Attach</&>:</td><td><input name="Attach" type="file"><INPUT TYPE=SUBMIT NAME="AddMoreAttach" VALUE="<&|/l&>Add More Files</&>"><input type="hidden" name="UpdateAttach" value="1">
+<tr><td align="right"><&|/l&>Attach</&>:</td><td><input name="Attach" type="file" /><input type="submit" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" /><input type="hidden" name="UpdateAttach" value="1" />
</td></tr>
<tr><td align="right" valign="top"><&|/l&>Message</&>:</td><td>
<& /Elements/Callback, Page => '/Ticket/Update.html',_CallbackName => 'BeforeMessageBox', %ARGS &>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html Thu Jan 12 00:25:25 2006
@@ -38,8 +38,8 @@
<& /Elements/ListActions, actions => \@results &>
-<form action="<%$RT::WebPath%>/RTIR/Incident/BulkAbandon.html" method="POST">
-<input type="hidden" name="Status" value="<% $Status %>">
+<form action="<%$RT::WebPath%>/RTIR/Incident/BulkAbandon.html" method="post">
+<input type="hidden" name="Status" value="<% $Status %>" />
<%perl>
# XXX: cache result set to check if get empty results
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Create.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Create.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Create.html Thu Jan 12 00:25:25 2006
@@ -38,7 +38,7 @@
}
</%PERL>
-<form action="Create.html" method="POST" enctype="multipart/form-data">
+<form action="Create.html" method="post" enctype="multipart/form-data">
<input type="hidden" name="id" value="new" />
<input type="hidden" name="Queue" value="<% $QueueObj->Name %>" />
@@ -46,7 +46,7 @@
<input type="hidden" name="child" value="<% $ARGS{'child'} %>" />
<input type="hidden" name="new-MemberOf" value="<% $ARGS{'new-MemberOf'} %>" />
<input type="hidden" name="MemberOf-new" value="<% $ARGS{'MemberOf-new'} %>" />
-<A name="top">
+<a name="top">
<&| /Widgets/TitleBox, title => $Title &>
<table border="0" cellpadding="0" cellspacing="2">
@@ -61,7 +61,7 @@
% if ($ChildObj) {
<td class="label"><&|/l&>Owner</&>:</td>
<td class="value"><% $ChildObj->OwnerObj->Name %></td>
- <input type="hidden" name="Owner" value=<% $ChildObj->Owner %> />
+ <input type="hidden" name="Owner" value="<% $ChildObj->Owner %>" />
% } else {
<td class="label"><&|/l&>Owner</&>:</td>
<td>
@@ -76,7 +76,7 @@
<& Elements/Create, Title => $Title, TicketObj => $TicketObj, QueueObj => $QueueObj, %ARGS &>
-<tr><td class=labeltop><&|/l&>Message</&>:</td>
+<tr><td class="labeltop"><&|/l&>Message</&>:</td>
<td>
<%PERL>
unless ( exists $ARGS{Content} ) {
@@ -110,16 +110,16 @@
&>
<table border="0">
<tr><td align="right"><&|/l&>Priority</&>:</td>
- <td><input size=3 name="InitialPriority" value="<% $ARGS{InitialPriority} || $QueueObj->InitialPriority %>"></td></tr>
+ <td><input size="3" name="InitialPriority" value="<% $ARGS{InitialPriority} || $QueueObj->InitialPriority %>" /></td></tr>
<tr><td align="right"><&|/l&>Final Priority</&>:</td>
- <td><input size=3 name="FinalPriority" value="<% $ARGS{FinalPriority} || $QueueObj->FinalPriority %>"></td></tr>
+ <td><input size="3" name="FinalPriority" value="<% $ARGS{FinalPriority} || $QueueObj->FinalPriority %>" /></td></tr>
<tr><td align="right"><&|/l&>Time Worked</&>:</td>
- <td><input size=3 name="TimeWorked" value="<% $ARGS{TimeWorked} || '0' %>"></td></tr>
+ <td><input size="3" name="TimeWorked" value="<% $ARGS{TimeWorked} || '0' %>" /></td></tr>
<tr><td align="right"><&|/l&>Time Left</&>:</td>
- <td><input size=3 name="TimeLeft" value="<% $ARGS{TimeLeft} || '0' %>"></td></tr>
+ <td><input size="3" name="TimeLeft" value="<% $ARGS{TimeLeft} || '0' %>" /></td></tr>
</table>
</&>
@@ -133,10 +133,10 @@
<table border="0">
<tr><td align="right"><&|/l&>Starts</&>:</td>
- <td><input size=10 name="Starts" value="<% $ARGS{'Starts'} || '' %>"></td></tr>
+ <td><input size="10" name="Starts" value="<% $ARGS{'Starts'} || '' %>" /></td></tr>
<tr><td align="right"><&|/l&>Due</&>:</td>
- <td><input size=10 name="Due" value="<% $ARGS{'Due'} || '' %>"></td></tr>
+ <td><input size="10" name="Due" value="<% $ARGS{'Due'} || '' %>" /></td></tr>
</table>
</&>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html Thu Jan 12 00:25:25 2006
@@ -36,7 +36,7 @@
% $m->abort();
%}
-<table border=0 cellpadding=0 cellspacing=2 width=100%><tr><td valign=top width=50%>
+<table border="0" cellpadding="0" cellspacing="2" width="100%"><tr><td valign="top" width="50%">
<& /Widgets/TitleBoxStart, title => loc('Incident #[_1]', $Ticket->Id),
title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
@@ -106,7 +106,7 @@
<& /Widgets/TitleBoxEnd &>
-</td><td valign=top>
+</td><td valign="top">
<& /Widgets/TitleBoxStart,
title => loc('Incident Reports'),
@@ -116,7 +116,7 @@
&>
% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
- <table width=100%><tr><td align="right"><font size="-1">
+ <table width="100%"><tr><td align="right"><font size="-1">
| <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Incident%20Reports"><%loc('New')%></a>
| <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?id=<%$Ticket->Id%>&Queue=Incident%20Reports"><%loc("Link")%></a> |
</font></td></tr></table>
@@ -130,7 +130,7 @@
&>
<& /Widgets/TitleBoxEnd &>
-</td></tr><tr><td VALIGN=TOP width=50%>
+</td></tr><tr><td valign="top" width="50%">
<& /Widgets/TitleBoxStart, title => loc('Investigations'),
title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$Ticket->Id,
@@ -138,7 +138,7 @@
titleright => '', color=> "#336633" &>
% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
- <table width=100%><tr><td align="right"><font size="-1">
+ <table width="100%"><tr><td align="right"><font size="-1">
| <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Investigations"><%loc('Launch')%></a>
| <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?id=<%$Ticket->Id%>&Queue=Investigations%>"><%loc("Link")%></a> |
</font></td></tr></table>
@@ -151,7 +151,7 @@
FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$Ticket->id,
&>
-</td><td VALIGN=TOP width=50%>
+</td><td valign="top" width="50%">
<& /Widgets/TitleBoxStart, title => loc('Blocks'),
title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$Ticket->Id,
@@ -159,7 +159,7 @@
titleright => '', color=> "#336633" &>
% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
- <table width=100%><tr><td align="right"><font size="-1">
+ <table width="100%"><tr><td align="right"><font size="-1">
| <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Blocks"><%loc('New')%></a>
| <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?id=<%$Ticket->Id%>&Queue=Blocks>"><%loc("Link")%></a> |
</font></td></tr></table>
@@ -174,7 +174,7 @@
<& /Widgets/TitleBoxEnd &>
-</td></tr><tr><td colspan=2>
+</td></tr><tr><td colspan="2">
<& /Widgets/TitleBoxStart, title => loc("Dates"),
title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html Thu Jan 12 00:25:25 2006
@@ -37,12 +37,12 @@
% $m->abort();
% }
-<FORM METHOD=POST ACTION="Edit.html" ENCTYPE="multipart/form-data">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
+<form method="post" action="Edit.html" enctype="multipart/form-data">
+<input type="hidden" name="id" value="<%$Ticket->Id%>" />
-<table border=0 cellspacing=2 cellpadding=0 width=100%>
+<table border="0" cellspacing="2" cellpadding="0" width="100%">
<tr>
-<td valign=top width=50%>
+<td valign="top" width="50%">
<& /Widgets/TitleBoxStart, title => loc('Modify incident # [_1]', $Ticket->Id), color=> "#993333", width => "100%" &>
<table>
@@ -66,7 +66,7 @@
</tr>
<tr>
<td class="label"><&|/l&>Subject</&>:</td>
- <td class="value"><input name=Subject value="<%$Ticket->Subject|h%>" SIZE=50></td>
+ <td class="value"><input name="Subject" value="<%$Ticket->Subject|h%>" size="50" /></td>
</tr>
<tr>
<td class="label"><&|/l&>Description</&>:</td>
@@ -79,11 +79,11 @@
</tr>
<tr>
<td class="label"><&|/l&>Priority</&>:</td>
- <td class="value"><input name=Priority value="<%$Ticket->Priority|h%>" SIZE="5"></td>
+ <td class="value"><input name="Priority" value="<%$Ticket->Priority|h%>" size="5" /></td>
</tr>
<tr>
<td class="label"><&|/l&>Time Worked</&>:</td>
- <td class="value"><input name=TimeWorked value="<%$Ticket->TimeWorked|h%>" SIZE="5"></td>
+ <td class="value"><input name="TimeWorked" value="<%$Ticket->TimeWorked|h%>" size="5" /></td>
</tr>
<tr>
<td class="label"><&|/l&>Constituency</&>:</td>
@@ -119,7 +119,7 @@
</td>
</tr>
<tr>
-<td valign=top width=50%>
+<td valign="top" width="50%">
<& /Widgets/TitleBoxStart, title => loc('Dates'), width => "100%", color => "#663366" &>
<& /RTIR/Elements/EditDates, TicketObj => $Ticket &>
@@ -128,7 +128,7 @@
</td>
</tr>
</table>
-<BR>
+<br />
<& /Elements/Submit, Name => 'SaveChanges', Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#333399" &>
</form>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create Thu Jan 12 00:25:25 2006
@@ -22,14 +22,14 @@
%#
%#
%# END LICENSE BLOCK
- <TR>
- <TD class=label>
+ <tr>
+ <td class="label">
<&|/l&>Subject</&>:
- </TD>
- <TD class=value COLSPAN=5>
- <INPUT Name="Subject" SIZE=60 MAXSIZE=100 value="<% $ARGS{'Subject'} %>">
- </TD>
- </TR>
+ </td>
+ <td class="value" colspan="5">
+ <input name="Subject" size="60" maxsize="100" value="<% $ARGS{'Subject'} %>" />
+ </td>
+ </tr>
<tr>
<td class="labeltop"><&|/l&>Description</&>:</td>
<td class="value">
@@ -70,34 +70,34 @@
Rows => 1 &>
</td>
</tr>
- <TR>
- <TD colspan=2>
+ <tr>
+ <td colspan="2">
<& /Ticket/Elements/EditCustomFields,
TicketObj => $TicketObj, QueueObj => $QueueObj &>
- </TD>
- </TR>
-<TR>
+ </td>
+ </tr>
+<tr>
% if (exists $session{'Attachments'}) {
-<TD>
+<td>
<&|/l&>Attached file</&>:
-</TD>
-<TD COLSPAN=5>
-<&|/l&>Check box to delete</&><BR>
+</td>
+<td colspan="5">
+<&|/l&>Check box to delete</&><br />
% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>"><%$attach_name%><BR>
+<input type="checkbox" name="DeleteAttach-<%$attach_name%>" /><%$attach_name%><br />
% } # end of foreach
-</TD>
-</TR>
-<TR>
+</td>
+</tr>
+<tr>
% } # end of if
-<TD class=label>
+<td class="label">
<&|/l&>Attach file</&>:
-</TD>
-<TD class=value COLSPAN=5>
-<INPUT TYPE=FILE NAME="Attach">
-<INPUT TYPE=SUBMIT NAME="AddMoreAttach" VALUE="<&|/l&>Add More Files</&>">
-</TD>
-</TR>
+</td>
+<td class="value" colspan="5">
+<input type="file" name="Attach" />
+<input type="submit" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" />
+</td>
+</tr>
<%ARGS>
$Title => undef
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm Thu Jan 12 00:25:25 2006
@@ -9,10 +9,10 @@
&>
<&|/l&>Worked</&>:
-<input size="4" name="UpdateTimeWorked" value="<% $ARGS{UpdateTimeWorked} %>">
+<input size="4" name="UpdateTimeWorked" value="<% $ARGS{UpdateTimeWorked} %>" />
<& /Elements/SelectTimeUnits, Name => 'UpdateTimeWorked-TimeUnits' &>
-</td></tr><tr><td align=right>
+</td></tr><tr><td align="right">
<&|/l&>Update Type</&>:
@@ -27,7 +27,7 @@
% }
</select>
-</td></tr><tr><td align=right><&|/l&>Subject</&>:</td>
+</td></tr><tr><td align="right"><&|/l&>Subject</&>:</td>
<td><i>(<&|/l&>uses subjects from tickets</&>)</i></td></tr>
<& /RTIR/Elements/UpdateData, %ARGS &>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkChildren.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkChildren.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkChildren.html Thu Jan 12 00:25:25 2006
@@ -34,9 +34,9 @@
Title => $title,
&>
-<form action="Display.html" method=get>
-<input type=hidden name=id value=<%$id%>>
-<input type=hidden name=BulkLink value=1>
+<form action="Display.html" method="get">
+<input type="hidden" name="id" value="<%$id%>" />
+<input type="hidden" name="BulkLink" value="1" />
<& /RTIR/Search/Elements/ShowResults,
Queue => $Queue,
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html Thu Jan 12 00:25:25 2006
@@ -41,7 +41,7 @@
&>
<form action="<%$RT::WebPath%>/RTIR/Incident/Display.html" method="post">
-<input type="hidden" name="child" value=<%$id%>>
+<input type="hidden" name="child" value="<%$id%>" />
<& /RTIR/Search/Elements/ShowResults,
Queue => $Queue,
@@ -54,7 +54,7 @@
<& /Elements/Submit, Name => "SubmitTicket", Caption => $SubmitCaption, Label => loc("Link") &>
</form>
-<HR>
+<hr>
<%INIT>
$Format = $RT::RTIRSearchResultFormats->{'LinkIncident'};
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Reply.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Reply.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Reply.html Thu Jan 12 00:25:25 2006
@@ -33,12 +33,12 @@
<& /Elements/ListActions, actions => \@results &>
-<form action="Reply.html" method="GET">
-<input type="hidden" name="id" value="<% $id %>">
-<input type="hidden" name="Status" value="<% $ARGS{'DefaultStatus'} %>">
-<input type="hidden" name="All" value="<% $ARGS{'All'} %>">
-<input type="hidden" name="Query" value="<% $Query %>">
-<input type="hidden" name="BaseQuery" value="<% $BaseQuery %>">
+<form action="Reply.html" method="get">
+<input type="hidden" name="id" value="<% $id %>" />
+<input type="hidden" name="Status" value="<% $ARGS{'DefaultStatus'} %>" />
+<input type="hidden" name="All" value="<% $ARGS{'All'} %>" />
+<input type="hidden" name="Query" value="<% $Query %>" />
+<input type="hidden" name="BaseQuery" value="<% $BaseQuery %>" />
<h2><&|/l&>Reporters</&></h2>
<& /RTIR/Search/Elements/ShowResults,
@@ -63,7 +63,7 @@
% }
-<HR>
+<hr>
<& Elements/ReplyForm, AllowResponse => ($ARGS{Status} !~ /^(?:resolved|rejected)$/) &>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/ShowChildren.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/ShowChildren.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/ShowChildren.html Thu Jan 12 00:25:25 2006
@@ -38,9 +38,9 @@
<h2><% loc('Total [_1]: [_2]([_3])', $Queue, $children->CountAll, $all_children->CountAll) %></h2>
% }
-<form action="ShowChildren.html" method="POST">
-<input type="hidden" name="id" value="<%$Incident->id%>">
-<input type="hidden" name="Queue" value="<%$Queue%>">
+<form action="ShowChildren.html" method="post">
+<input type="hidden" name="id" value="<%$Incident->id%>" />
+<input type="hidden" name="Queue" value="<%$Queue%>" />
<& /RTIR/Elements/ShowChildren,
Ticket => $Incident,
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Merge.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Merge.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Merge.html Thu Jan 12 00:25:25 2006
@@ -47,8 +47,8 @@
% }
<form action="<%$RT::WebPath%>/RTIR/Merge.html" method="post">
-<input type="hidden" name="id" value="<%$Ticket->id%>">
-<input type="hidden" name="<%$Ticket->Id%>-MergeInto">
+<input type="hidden" name="id" value="<%$Ticket->id%>" />
+<input type="hidden" name="<%$Ticket->Id%>-MergeInto" />
<& /RTIR/Search/Elements/ShowResults,
Queue => $Queue,
@@ -58,7 +58,7 @@
Format => $Format,
&>
-<HR>
+<hr>
<& /Elements/Submit, Caption=> loc('Merge into selected Ticket'), Label => loc("Merge") &>
</form>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Report/BulkReject.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Report/BulkReject.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Report/BulkReject.html Thu Jan 12 00:25:25 2006
@@ -38,8 +38,8 @@
<& /Elements/ListActions, actions => \@results &>
-<form action="<%$RT::WebPath%>/RTIR/Report/BulkReject.html" method="POST">
-<input type="hidden" name="Status" value="<% $Status %>">
+<form action="<%$RT::WebPath%>/RTIR/Report/BulkReject.html" method="post">
+<input type="hidden" name="Status" value="<% $Status %>" />
<& /RTIR/Search/Elements/ShowResults,
Queue => $Queue,
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Elements/SLASummary
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Elements/SLASummary (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Elements/SLASummary Thu Jan 12 00:25:25 2006
@@ -22,38 +22,38 @@
%#
%#
%# END LICENSE BLOCK
-<table width=100%>
+<table width="100%">
<tr>
- <td valign=top width=45%>
- <table width=100%>
- <th colspan=2>At the start of the time period</th>
+ <td valign="top" width="45%">
+ <table width="100%">
+ <th colspan="2">At the start of the time period</th>
<tr>
<td>Outstanding Incident Reports</td>
- <td align=right> <% scalar %$outstanding %></td>
+ <td align="right"> <% scalar %$outstanding %></td>
</tr>
</table>
</td>
<td></td>
- <td valign=top width=45%>
+ <td valign="top" width="45%">
<table width =100%>
- <th colspan=2>During the time period</th>
+ <th colspan="2">During the time period</th>
<tr>
<td>Total <%$service_level%> Incident Reports created</td>
- <td align=right><% $tix_count %></td>
+ <td align="right"><% $tix_count %></td>
</tr>
<tr>
<td>
Incident Reports for which SLA time was met
</td>
- <td align=right><% $sla_count %></td>
+ <td align="right"><% $sla_count %></td>
</tr>
<tr>
<td>Resolved Incident Reports</td>
- <td align=right><% $resolved_count%></td>
+ <td align="right"><% $resolved_count%></td>
</tr>
<tr>
<td>Unresolved Incident Reports </td>
- <td align=right><% $unresolved_count%></td>
+ <td align="right"><% $unresolved_count%></td>
</tr>
</table>
</td>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Report.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Report.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/Report.html Thu Jan 12 00:25:25 2006
@@ -47,10 +47,10 @@
</tr>
</table>
<table>
-<tr><th align=left colspan=2>Incident Report Summary (including unlinked Incident Reports)</th></tr>
+<tr><th align="left" colspan="2">Incident Report Summary (including unlinked Incident Reports)</th></tr>
<tr>
<td>Outstanding reports at the beginning of this period</td>
- <td class=value> <% scalar keys %$outstanding_pruned %></td>
+ <td class="value"> <% scalar keys %$outstanding_pruned %></td>
</tr>
<tr>
<td>Total new reports for this period</td>
@@ -81,7 +81,7 @@
% } else {
<table>
-<th align=left colspan=2>Incident reports received</th>
+<th align="left" colspan="2">Incident reports received</th>
% }
<%perl>
@@ -109,7 +109,7 @@
% } else {
<tr>
<td><%$class%></td>
- <td class=value><%$class_count%></td>
+ <td class="value"><%$class_count%></td>
</tr>
% }
<%perl>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html Thu Jan 12 00:25:25 2006
@@ -42,15 +42,15 @@
</td>
</tr>
<tr>
- <td class=label>Start Date:</td>
- <td class=input>
- <input size=30 name="mystart" value="<%$start->AsString%>">
+ <td class="label">Start Date:</td>
+ <td class="input">
+ <input size="30" name="mystart" value="<%$start->AsString%>" />
</td>
</tr>
<tr>
- <td class=label>End Date:</td>
- <td class=input>
- <input size=30 name="myend" value="<%$end->AsString%>">
+ <td class="label">End Date:</td>
+ <td class="input">
+ <input size="30" name="myend" value="<%$end->AsString%>" />
</td>
</tr>
</table>
@@ -59,7 +59,7 @@
Label => loc("Text")&>
<& /Elements/Submit, Caption => loc("Generate and HTML report"),
Label => loc("HTML")&>
-</FORM>
+</form>
<%INIT>
my $QueueObj = new RT::Queue($session{'CurrentUser'});
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/BuildQuery
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/BuildQuery (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/BuildQuery Thu Jan 12 00:25:25 2006
@@ -44,22 +44,22 @@
%#
%# }}} END BPS TAGGED BLOCK
-<FORM METHOD="POST" ACTION="Refine.html" NAME="BuildQuery">
-<input type=hidden name=SearchId value="<%$SearchId%>">
-<input type=hidden name=Query value="<%$Query%>">
-<input type=hidden name=Format value="<%$Format%>">
-<input type=hidden name=BaseQuery value="<%$BaseQuery%>">
-<input type=hidden name=Queue value="<%$Queue%>">
-<input type=hidden name=id value="<%$id%>">
-<input type=hidden name=ResultPage value="<%$ResultPage%>">
-<table width=100%>
+<form method="post" action="Refine.html" name="BuildQuery">
+<input type="hidden" name="SearchId" value="<%$SearchId%>" />
+<input type="hidden" name="Query" value="<%$Query%>" />
+<input type="hidden" name="Format" value="<%$Format%>" />
+<input type="hidden" name="BaseQuery" value="<%$BaseQuery%>" />
+<input type="hidden" name="Queue" value="<%$Queue%>" />
+<input type="hidden" name="id" value="<%$id%>" />
+<input type="hidden" name="ResultPage" value="<%$ResultPage%>" />
+<table width="100%">
<tr>
-<td valign=top class="boxcontainer">
+<td valign="top" class="boxcontainer">
<& PickCriteria, query => $Query, Queue => $Queue &>
<& /Elements/Submit, Caption => loc('Add additional criteria'), Label => loc('Add'), Name => 'AddClause'&>
</td>
-<td valign=top class="boxcontainer">
+<td valign="top" class="boxcontainer">
<& /Widgets/TitleBoxStart, title => loc("Query") . ": " .$Description &>
<& /Search/Elements/NewListActions, actions => \@actions &>
<select size="10" name="clauses" style="width: 100%">
@@ -67,24 +67,24 @@
</select>
</td></tr><tr><td bgcolor="#dddddd" colspan="2">
<center>
-<input type=submit name="Up" value="^">
-<input type=submit name="Down" value="v">
-<input type=submit name="Left" value="<">
-<input type=submit name="Right" value=">">
-<input type=submit name="DeleteClause" value="Delete">
+<input type="submit" name="Up" value="^" />
+<input type="submit" name="Down" value="v" />
+<input type="submit" name="Left" value="<" />
+<input type="submit" name="Right" value=">" />
+<input type="submit" name="DeleteClause" value="Delete" />
<br />
-<input type=submit name="Clear" value="Clear">
-<input type=submit name="Toggle" value="And/Or">
-%#<input type=submit name="EditQuery" value="Advanced">
+<input type="submit" name="Clear" value="Clear" />
+<input type="submit" name="Toggle" value="And/Or" />
+%#<input type="submit" name="EditQuery" value="Advanced" />
</center>
<& /Widgets/TitleBoxEnd &>
-<br>
+<br />
<& /Search/Elements/EditSearches, CurrentSearch => $search_hash, Dirty => $dirty, SearchId => $SearchId &>
</td>
</tr>
<tr>
-<td colspan=2 class="boxcontainer">
+<td colspan="2" class="boxcontainer">
<& /Search/Elements/DisplayOptions, %ARGS,
Format=> $Format,
@@ -96,7 +96,7 @@
</td>
</tr>
</table>
-</FORM>
+</form>
<%ARGS>
$id => undef
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/PickCriteria
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/PickCriteria (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/PickCriteria Thu Jan 12 00:25:25 2006
@@ -46,7 +46,7 @@
<& /Widgets/TitleBoxStart, title => loc('Add Criteria')&>
<&| /Widgets/TitleBox, title => loc('Add Criteria')&>
-<table width=100% cellspacing=0 cellpadding=0 border=0>
+<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><th><&|/l&>Field</&></th><th><&|/l&>Operator</&></th><th><&|/l&>Value</&></th></tr>
@@ -56,7 +56,7 @@
<td class="value"><& /Search/Elements/SelectAndOr, Name => "AndOr" &></td>
</tr>
-<tr class="separator"><td colspan=3><hr /></td></tr>
+<tr class="separator"><td colspan="3"><hr /></td></tr>
<& /Search/Elements/PickBasics &>
<& PickCFs, Queue => $Queue &>
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery Thu Jan 12 00:25:25 2006
@@ -558,7 +558,7 @@
sub debug {
my $message = shift;
- $m->print($message . "<br>");
+ $m->print($message . "<br />");
}
# }}}
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults Thu Jan 12 00:25:25 2006
@@ -14,7 +14,7 @@
%# this would do well as a Callback
<div align="right">
-<a href="<%$RT::WebPath%>/RTIR/Report/BulkReject.html?Queue=<%$Queue|u%>&<% $QueryString %>"><&|/l&>Bulk Reject</&></a><br>
+<a href="<%$RT::WebPath%>/RTIR/Report/BulkReject.html?Queue=<%$Queue|u%>&<% $QueryString %>"><&|/l&>Bulk Reject</&></a><br />
</div>
% }
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/Lookup.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/Lookup.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/Lookup.html Thu Jan 12 00:25:25 2006
@@ -32,7 +32,7 @@
% if ($ticket) {
<& /Widgets/TitleBoxStart, title => loc("Current [_1]: #[_2]", $TicketType, $ticket), color=> "#993333" &>
-<TABLE WIDTH=100% border=0 cellpadding=2 CELLSPACING=0>
+<table width="100%" border="0" cellpadding="2" cellspacing="0">
<& /Elements/TicketList,
Query => "id = ".$TicketObj->id,
Format => $Format,
@@ -43,8 +43,8 @@
% }
% unless ( $ARGS{'HideResults'}) {
-<TABLE WIDTH=100% border=0 cellpadding=2 CELLSPACING=0>
-<tr><td valign=top width=50%>
+<table width="100%" border="0" cellpadding="2" cellspacing="0">
+<tr><td valign="top" width="50%">
<& /Widgets/TitleBoxStart,
title => loc('Incidents: [_1]', $q) &>
@@ -54,7 +54,7 @@
q => $q &>
<& /Widgets/TitleBoxEnd &>
-<br>
+<br />
<& /Widgets/TitleBoxStart,
title => loc('Incident Reports: [_1]', $q),
@@ -67,7 +67,7 @@
q => $q &>
<& /Widgets/TitleBoxEnd&>
-</td><td width=50% valign=top>
+</td><td width="50%" valign="top">
<& /Widgets/TitleBoxStart,
title => loc('Investigations: [_1]', $q),
@@ -80,7 +80,7 @@
q => $q &>
<& /Widgets/TitleBoxEnd &>
-<br>
+<br />
<& /Widgets/TitleBoxStart,
title => loc('Blocks: [_1]', $q),
@@ -92,7 +92,7 @@
lookuptype => $type,
q => $q &>
<& /Widgets/TitleBoxEnd &>
-</TABLE>
+</table>
% }
<hr>
@@ -100,11 +100,11 @@
<h2>Look Up Information</h2>
<table>
<form action="Lookup.html" method="get">
-<input type=hidden name="ticket" value=<%$ARGS{'ticket'}%>>
+<input type="hidden" name="ticket" value="<%$ARGS{'ticket'}%>" />
<tr>
- <td class=label>WHOIS:</td>
- <td class=input>
- <input size=30 name="q" value="<%$q%>"> at
+ <td class="label">WHOIS:</td>
+ <td class="input">
+ <input size="30" name="q" value="<%$q%>" /> at
<select name="server">
% foreach my $s (sort keys %{$servers}) {
% my ($host, $name);
@@ -125,15 +125,15 @@
% }
</select>
</td>
- <td align=left><input type=submit value="Go"></td>
+ <td align="left"><input type="submit" value="Go" /></td>
</tr>
</form>
<form action="Traceroute.html" method="get" target="_blank">
<tr>
- <td class=label>Traceroute to:</td>
- <td class=input><input size=30 name="q" value="<%$q%>"></td>
- <td align=left><input type=submit value="Go"></td>
+ <td class="label">Traceroute to:</td>
+ <td class="input"><input size="30" name="q" value="<%$q%>" /></td>
+ <td align="left"><input type="submit" value="Go" /></td>
</tr>
</form>
</table>
@@ -143,9 +143,9 @@
% if ($q) {
<h2>WHOIS Results</h2>
% if ($TicketObj && $TicketObj->QueueObj->Name eq 'Incidents') {
-<FORM METHOD=POST ACTION="/RTIR/Tools/ScriptedAction.html">
-<input type=hidden NAME="incidentid" VALUE=<%$TicketObj->Id%>>
-<input type=hidden NAME="Subject" VALUE="<%$TicketObj->Subject%>">
+<form method="post" action="/RTIR/Tools/ScriptedAction.html">
+<input type="hidden" name="incidentid" value="<%$TicketObj->Id%>" />
+<input type="hidden" name="Subject" value="<%$TicketObj->Subject%>" />
% }
% }
@@ -162,19 +162,19 @@
% $DoInvestigate = 1;
% }
<pre><%$content|n%></pre>
-<br>
+<br />
% } else {
Structured RIPE whois data returned. Click <a
href="Lookup.html?q=<%$q%>&server=<%$server%>&handparse=1">here</a> to manually
parse this data.
-<BR>Warnings <%$obj->warnings%>
-<BR>errors <%$obj->errors%>
+<br />Warnings <%$obj->warnings%>
+<br />errors <%$obj->errors%>
<hr>
% foreach my $attribute ($obj->attributes()) {
% foreach my $value ($obj->$attribute()) {
<b><%$attribute%></b>:
% $m->comp( '/RTIR/Elements/MakeClicky', ticket => $TicketObj, url_params => "ticket=".$ticket, content => \$value);
-<%$value|n%><br>
+<%$value|n%><br />
% }
% }
@@ -187,7 +187,7 @@
<& /Elements/Submit, Name => "InvestigateTo", Caption => loc("Investigate to selected addresses"), Label => loc("Investigate")&>
% }
-</FORM>
+</form>
<%init>
my $current_subtab;
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html Thu Jan 12 00:25:25 2006
@@ -30,16 +30,16 @@
<& /Elements/ListActions, actions => \@finalresults &>
-<FORM METHOD="GET" action="ScriptedAction.html" NAME="ScriptedAction" ENCTYPE="multipart/form-data">
-<input type=hidden Name="incidentid" value=<%$incidentid%>>
-<input type=hidden Name="loop" value="<%$ARGS{'loop'}%>">
-<input type=hidden Name="WatcherTypeEmail1" value="Requestor">
-<input type=hidden name="UpdateType" value="response">
-<input type=hidden name="Action" value="Respond">
-<input type=hidden name="Owner" value=<%$session{'CurrentUser'}->Id%>>
-<INPUT TYPE=HIDDEN NAME=id Value="new">
-<INPUT TYPE=HIDDEN NAME=Status Value="<%$ARGS{Status}||'open'%>">
-<A NAME="top">
+<form method="get" action="ScriptedAction.html" name="ScriptedAction" enctype="multipart/form-data">
+<input type="hidden" name="incidentid" value="<%$incidentid%>" />
+<input type="hidden" name="loop" value="<%$ARGS{'loop'}%>" />
+<input type="hidden" name="WatcherTypeEmail1" value="Requestor" />
+<input type="hidden" name="UpdateType" value="response" />
+<input type="hidden" name="Action" value="Respond" />
+<input type="hidden" name="Owner" value="<%$session{'CurrentUser'}->Id%>" />
+<input type="hidden" name="id" value="new" />
+<input type="hidden" name="Status" value="<%$ARGS{Status}||'open'%>" />
+<a name="top">
% if (exists $ARGS{'TestAddresses'}) {
<& /Widgets/TitleBoxStart, contentbg => "#cccccc",
@@ -50,19 +50,19 @@
% }
</ul>
<& /Widgets/TitleBoxEnd &>
-<BR>
+<br />
% }
<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => loc("Identify Recipients") &>
-<TABLE border=0 cellpadding=0 cellspacing=2>
+<table border="0" cellpadding="0" cellspacing="2">
% if ($loop eq 'IP') {
- <TR>
- <td class=label>WHOIS:</td>
+ <tr>
+ <td class="label">WHOIS:</td>
<td>
<table>
<tr>
- <td class=input>
+ <td class="input">
<select name="server">
% foreach my $s (sort keys %{$servers}) {
% my ($host, $name);
@@ -85,111 +85,111 @@
</tr>
</table>
</td>
- </TR>
- <TR>
- <TD class=label>
+ </tr>
+ <tr>
+ <td class="label">
<&|/l&>Contact Field</&>:
- </TD>
- <TD>
- <INPUT Name="field" value="<% $ARGS{'field'} %>">
- </TD>
- </TR>
- <TR>
- <TD class=labeltop>
- <&|/l&>IP Addresses</&>:<br><small>arg: <i>_IP_</i></small>
- </TD>
- <TD COLSPAN=5>
+ </td>
+ <td>
+ <input name="field" value="<% $ARGS{'field'} %>" />
+ </td>
+ </tr>
+ <tr>
+ <td class="labeltop">
+ <&|/l&>IP Addresses</&>:<br /><small>arg: <i>_IP_</i></small>
+ </td>
+ <td colspan="5">
% if (exists $ARGS{IPs}) {
<& /Elements/MessageBox, Name=>"IPs", Width => 30, Default=>$ARGS{IPs}, %ARGS&>
% } else {
<& /Elements/MessageBox, Name=> 'IPs', Width => 30 &>
% }
- </TD>
- </TR>
+ </td>
+ </tr>
% } else {
- <TR>
- <TD class=labeltop>
- <&|/l&>Addresses</&>:<br><small>arg: <i>_ADDR_</i></small>
- </TD>
- <TD COLSPAN=5>
+ <tr>
+ <td class="labeltop">
+ <&|/l&>Addresses</&>:<br /><small>arg: <i>_ADDR_</i></small>
+ </td>
+ <td colspan="5">
% if (exists $ARGS{Addresses}) {
<& /Elements/MessageBox, Name=>"Addresses", Width => 30, Default=>$ARGS{Addresses}, %ARGS&>
% } else {
<& /Elements/MessageBox, Name=> 'Addresses', Width => 30 &>
% }
- </TD>
- </TR>
+ </td>
+ </tr>
% }
-<TR>
- <TD class=label>
+<tr>
+ <td class="label">
<&|/l&>Template</&>:
- </TD>
- <TD>
+ </td>
+ <td>
<& /Admin/Elements/SelectTemplate, Name => "Template", Default => $ARGS{'Template'}, Queue => $investigationq->Id &>
- </TD>
-</TR>
-<TR>
- <TD class=label>
+ </td>
+</tr>
+<tr>
+ <td class="label">
<&|/l&>Argument</&>:
- </TD>
- <TD>
- <INPUT Name="TemplateArg" SIZE=60 value="<% $ARGS{'TemplateArg'} %>">
- </TD>
-</TR>
- <TR>
- <TD ALIGN=RIGHT COLSPAN=2>
- </TD>
- </TR>
+ </td>
+ <td>
+ <input name="TemplateArg" size="60" value="<% $ARGS{'TemplateArg'} %>" />
+ </td>
+</tr>
+ <tr>
+ <td align="right" colspan="2">
+ </td>
+ </tr>
</table>
% if ($loop eq "IP") {
<& /Elements/Submit, Name => "TestAddresses", Caption => loc("Test email addresses"), Label => loc("Test")&>
% }
<& /Widgets/TitleBoxEnd &>
-<BR>
+<br />
<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => loc("Message information") &>
-<TABLE border=0 cellpadding=0 cellspacing=2>
- <TR>
- <TD class=label>
+<table border="0" cellpadding="0" cellspacing="2">
+ <tr>
+ <td class="label">
<&|/l&>Owner</&>:
- </TD>
- <TD>
+ </td>
+ <td>
<%$session{'CurrentUser'}->Name%>
- </TD>
- </TR>
+ </td>
+ </tr>
% if (!$incidentid) {
<& /RTIR/Incident/Elements/Create, Title => $Title, QueueObj => $incidentq, %ARGS &>
% } else {
- <TR>
- <TD class=label>
+ <tr>
+ <td class="label">
<&|/l&>Subject</&>:
- </TD>
- <TD>
- <input size=60 name="Subject" value="<%$ARGS{'Subject'} || $Incident->Subject%>">
- </TD>
- </TR>
+ </td>
+ <td>
+ <input size="60" name="Subject" value="<%$ARGS{'Subject'} || $Incident->Subject%>" />
+ </td>
+ </tr>
% }
-<TR>
- <TD class=labeltop>
+<tr>
+ <td class="labeltop">
<&|/l&>Message</&>:
- </TD>
- <TD COLSPAN=5>
+ </td>
+ <td colspan="5">
% if (exists $ARGS{Content}) {
<& /Elements/MessageBox, Name=>"Content", Default=>$ARGS{Content}, %ARGS&>
% } else {
<& /Elements/MessageBox, Name=>"Content", %ARGS &>
% }
- </TD>
-</TR>
-</TABLE>
+ </td>
+</tr>
+</table>
<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Name => "SubmitAction", Caption => loc("Create the Incidents and Investigations"), Label => loc("Create")&>
-</FORM>
+</form>
<%INIT>
my ($Incident, $Ticket);
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html Thu Jan 12 00:25:25 2006
@@ -28,48 +28,48 @@
current_subtab => "RTIR/Edit.html?id=".$Ticket->Id,
Title => $title &>
-<FORM ACTION="Update.html" NAME="TicketUpdate"
- METHOD=POST enctype="multipart/form-data">
-<input type="hidden" name="QuoteTransaction" value="<% $ARGS{QuoteTransaction} %>">
-<input type="hidden" name="DefaultStatus" value="<% $ARGS{DefaultStatus} %>">
-<input type="hidden" name="Status" value="<% $ARGS{DefaultStatus} %>">
-<input type="hidden" name="Action" value="<% $ARGS{Action} %>">
+<form action="Update.html" name="TicketUpdate"
+ method="post" enctype="multipart/form-data">
+<input type="hidden" name="QuoteTransaction" value="<% $ARGS{QuoteTransaction} %>" />
+<input type="hidden" name="DefaultStatus" value="<% $ARGS{DefaultStatus} %>" />
+<input type="hidden" name="Status" value="<% $ARGS{DefaultStatus} %>" />
+<input type="hidden" name="Action" value="<% $ARGS{Action} %>" />
% if ($Type eq 'Report' and $ARGS{'DefaultStatus'} eq 'rejected') {
% my $query = "Queue = 'Incidents' AND HasMember = " . $Ticket->Id;
% my $incidents = new RT::Tickets($session{'CurrentUser'});
% $incidents->FromSQL($query);
% while (my $member = $incidents->Next) {
-<input type="hidden" name="DeleteLink--MemberOf-<%$member->Id%>">
+<input type="hidden" name="DeleteLink--MemberOf-<%$member->Id%>" />
% }
% }
-<font size=-1>
+<font size="-1">
-<TABLE>
-<TR><TD>
-<a href="Edit.html?id=<%$Ticket->Id%>"><&|/l&>Correspondents</&></A></TD><TD align=right>
+<table>
+<tr><td>
+<a href="Edit.html?id=<%$Ticket->Id%>"><&|/l&>Correspondents</&></a></td><td align="right">
<&|/l&>Requestor</&>:
-</TD><TD>
+</td><td>
<b><% $Ticket->RequestorAddresses %></b>
-</TD></TR>
-<TR><TD> </TD><TD align=right>
+</td></tr>
+<tr><td> </td><td align="right">
<&|/l&>Cc</&>:
-</TD><TD>
+</td><td>
<b><% $Ticket->CcAddresses %></b>
-</TD></TR>
-<TR><TD> </TD><TD align=right>
+</td></tr>
+<tr><td> </td><td align="right">
<&|/l&>AdminCc</&>:
-</TD><TD>
+</td><td>
<b><% $Ticket->AdminCcAddresses %></b>
-</TD></TR>
-</TR>
-</TABLE>
+</td></tr>
+</tr>
+</table>
<hr>
-<TABLE BORDER=0>
+<table border="0">
-<tr><td align=right><&|/l&>State</&>:</td>
+<tr><td align="right"><&|/l&>State</&>:</td>
<td><%$State%></td></tr>
-<tr><td align=right><&|/l&>Update Type</&>:</td>
+<tr><td align="right"><&|/l&>Update Type</&>:</td>
<td><select name="UpdateType">
% if ($CanComment) {
<option value="private" <%$CommentDefault%>><&|/l&>Comments (Not sent to requestors)</&></option>
@@ -87,18 +87,18 @@
Default => ($ARGS{Owner}||$Ticket->Owner()||$session{'CurrentUser'}->Id||undef),
QueueObj => $Ticket->QueueObj,
TicketObj => $Ticket &>
-<&|/l&>Worked</&>: <input size=4 name="UpdateTimeWorked" value="<%
-$ARGS{UpdateTimeWorked}%>"> <&|/l&>minutes</&>
+<&|/l&>Worked</&>: <input size="4" name="UpdateTimeWorked" value="<%
+$ARGS{UpdateTimeWorked}%>" /> <&|/l&>minutes</&>
</td></tr>
-<tr><td align=right><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size=60 value="<% $Subject %>"></td></tr>
+<tr><td align="right"><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size="60" value="<% $Subject %>" /></td></tr>
<& /RTIR/Elements/UpdateData, Ticket => $Ticket, Type => 'Incident', %ARGS &>
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>"><br>
+<input type="hidden" name="id" value="<%$Ticket->Id%>" /><br />
</table>
<& /Elements/Submit, Name => 'SubmitTicket' &>
-</FORM>
+</form>
<%INIT>
More information about the Rt-commit
mailing list