[Rt-commit] r6409 - in rtir/branches/2.1-EXPERIMENTAL: . html/RTIR html/RTIR/Elements html/RTIR/Tools

ruz at bestpractical.com ruz at bestpractical.com
Sat Nov 11 20:18:31 EST 2006


Author: ruz
Date: Sat Nov 11 20:18:31 2006
New Revision: 6409

Modified:
   rtir/branches/2.1-EXPERIMENTAL/   (props changed)
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Create.html
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Display.html
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Edit.html
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Elements/PickRestriction
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Display.html
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Edit.html
   rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html

Log:
 r1827 at cubic-pc:  cubic | 2006-11-11 04:06:44 +0300
 switch to TitleBox widget


Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Create.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Create.html	Sat Nov 11 20:18:31 2006
@@ -68,7 +68,7 @@
 
 <a name="top"></a>
 
-<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => $Title &>
+<&| /Widgets/TitleBox, contentbg => "#cccccc", title => $Title &>
 <table border="0" cellpadding="0" cellspacing="2">
 % if ( $Incident ) {
   <tr>
@@ -291,7 +291,7 @@
   </tr>
   <tr>
     <td valign="top" colspan="3">
-      <& /Widgets/TitleBoxStart, title => loc("Dates"),
+      <&| /Widgets/TitleBox, title => loc("Dates"),
           title_class=> 'inverse',  
           color => "#663366",
       &>
@@ -305,11 +305,11 @@
         <td><input size="10" name="Due" value="<% $ARGS{Due} || '' %>" /></td>
         </tr>
       </table>
-    <& /Widgets/TitleBoxEnd &>
+    </&>
     </td>
   </tr>
 </table>
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 <& /Elements/Submit, Name => "Create", Label => $SubmitCaption &>
 </form>

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Display.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Display.html	Sat Nov 11 20:18:31 2006
@@ -35,7 +35,7 @@
 <table border="0" cellpadding="0" cellspacing="2" width="100%">
 <tr>
 <td valign="top" width="50%">
-<& /Widgets/TitleBoxStart, title => loc("The Basics"),
+<&| /Widgets/TitleBox, title => loc("The Basics"),
         title_href  => RT->Config->Get('WebPath') ."/RTIR/Edit.html?id=".$Ticket->Id,
         title_class => 'inverse' &>
 
@@ -143,12 +143,12 @@
 
 <& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td>
   <td valign="top" width="50%">
 % if ($RT::FM::VERSION) {
-<& /Widgets/TitleBoxStart, title => loc("Articles"),
+<&| /Widgets/TitleBox, title => loc("Articles"),
     title_href => RT->Config->Get('WebPath') ."/RTIR/Advanced.html?id=".$id, 
     title_class=> 'inverse',
     color => "#663366" &>
@@ -168,28 +168,28 @@
 % }
 </ul>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 % }
   </td>
 </tr>
 <tr>
   <td valign="top" width="50%">
     <br />
-    <& /Widgets/TitleBoxStart, title => loc('People'), 
+    <&| /Widgets/TitleBox, title => loc('People'), 
         title_href  => RT->Config->Get('WebPath') ."/RTIR/Edit.html?id=". $Ticket->Id,
         title_class => 'inverse' &>
     <& /RTIR/Elements/ShowPeople, Ticket => $Ticket &>
-    <& /Widgets/TitleBoxEnd &>
+    </&>
     <br />
   </td>
   <td>
         <br />
-          <& /Widgets/TitleBoxStart, title => loc("Dates"),
+          <&| /Widgets/TitleBox, title => loc("Dates"),
                 title_href  => RT->Config->Get('WebPath') ."/RTIR/Edit.html?id=". $Ticket->Id,
                 title_class => 'inverse',  
                 color => "#663366" &>
           <& /RTIR/Elements/ShowDates, Ticket => $Ticket &>
-          <& /Widgets/TitleBoxEnd &>
+          </&>
         <br />  
   </td>
 </tr>

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Edit.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Edit.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Edit.html	Sat Nov 11 20:18:31 2006
@@ -42,7 +42,7 @@
 <table border="0" cellspacing="2" cellpadding="0" width="100%">
 <tr>
 <td valign="top" width="50%">
-<& /Widgets/TitleBoxStart, 
+<&| /Widgets/TitleBox, 
     title => loc("The Basics"), 
     color=> "#993333", 
     width => "100%" &>
@@ -193,16 +193,16 @@
   </tr>
 </table>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td>
 </tr>
 <tr>
 <td valign="top" width="50%">
 
-<& /Widgets/TitleBoxStart, title => loc('Dates'),  width => "100%", color => "#663366"  &>
+<&| /Widgets/TitleBox, title => loc('Dates'),  width => "100%", color => "#663366"  &>
 <& /RTIR/Elements/EditDates, TicketObj => $Ticket &>
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td>
 </tr>
@@ -210,9 +210,9 @@
 <br />
 
 
-<& /Widgets/TitleBoxStart, title => loc('People'),width => "100%", color=> "#333399" &>
+<&| /Widgets/TitleBox, title => loc('People'),width => "100%", color=> "#333399" &>
 <& /RTIR/Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp &>
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 <br />
 

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Elements/PickRestriction
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Elements/PickRestriction	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Elements/PickRestriction	Sat Nov 11 20:18:31 2006
@@ -25,7 +25,7 @@
 <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')&>
+<&| /Widgets/TitleBox, title => loc('Refine search')&>
 <input type="hidden" name="id" value="<%$ARGS{'id'}%>" />
 <input type="hidden" name="CompileRestriction" value="1" />
 
@@ -134,9 +134,9 @@
 
 </ul>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 
-<& /Widgets/TitleBoxStart, title => loc('Ordering and sorting')&>
+<&| /Widgets/TitleBox, title => loc('Ordering and sorting')&>
 
 <ul>
 
@@ -159,7 +159,7 @@
 
 
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 <& /Elements/Submit, Label => loc('Search'), Name => 'Action'&>
 

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/BulkAbandon.html	Sat Nov 11 20:18:31 2006
@@ -54,13 +54,13 @@
 % if( $session{'tickets'}->Count ) {
 % $m->out( $result_set );
 
-<& /Widgets/TitleBoxStart, title => loc("Select recipients") &>
+<&| /Widgets/TitleBox, title => loc("Select recipients") &>
 % foreach my $box( @CheckBox ) {
 % my $checked = (scalar grep $_ && $box->{'Value'}, @ReplyToAll )? ' checked' : '';
 <input type="checkbox" name="ReplyToAll" value="<% $box->{'Value'} %>" <% $checked %>" />
 <% $box->{'Title'} %><br />
 % }
-<& /Widgets/TitleBoxEnd &>
+</&>
 <br />
 
 <& Elements/ReplyForm &>

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Display.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Display.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Display.html	Sat Nov 11 20:18:31 2006
@@ -33,7 +33,7 @@
 
 <table border="0" cellpadding="0" cellspacing="2" width="100%"><tr><td valign="top" width="50%">
 
-<& /Widgets/TitleBoxStart, title => loc('Incident #[_1]', $id), 
+<&| /Widgets/TitleBox, title => loc('Incident #[_1]', $id), 
         title_href => RT->Config->Get('WebPath') ."/RTIR/Edit.html?id=".$id, 
         title_class=> 'inverse' &>
 
@@ -115,11 +115,11 @@
   </tr>
 </table>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td><td valign="top">
 
-<& /Widgets/TitleBoxStart,
+<&| /Widgets/TitleBox,
     title => loc('Incident Reports'),
     title_href => RT->Config->Get('WebPath') ."/RTIR/Incident/ShowChildren.html?Queue=Incident%20Reports&id=".$id,
     titleright => '',
@@ -139,11 +139,11 @@
             Rows      => 8,
             FullList  => RT->Config->Get('WebPath')."/RTIR/Incident/ShowChildren.html?Queue=Incident%20Reports&id=".$id,
     &>
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td></tr><tr><td valign="top" width="50%">
 
-<& /Widgets/TitleBoxStart, title => loc('Investigations'), 
+<&| /Widgets/TitleBox, title => loc('Investigations'), 
     title_href => RT->Config->Get('WebPath') ."/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$id, 
     title_class=> 'inverse',  
     titleright => '', color=> "#336633" &>
@@ -162,10 +162,12 @@
     FullList => RT->Config->Get('WebPath')."/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$id,
 &>
 
+</&>
+
 </td><td valign="top" width="50%">
 
 % unless ( RT->Config->Get('RTIR_DisableBlocksQueue') ) {
-<& /Widgets/TitleBoxStart, title => loc('Blocks'),
+<&| /Widgets/TitleBox, title => loc('Blocks'),
     title_href => RT->Config->Get('WebPath') ."/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$id,
     title_class=> 'inverse',
     titleright => '', color=> "#336633",
@@ -185,17 +187,17 @@
     FullList => RT->Config->Get('WebPath')."/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$id,
 &>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 % }
 
 </td></tr><tr><td valign="top" width="50%">
 
-<& /Widgets/TitleBoxStart, title => loc("Dates"),
+<&| /Widgets/TitleBox, title => loc("Dates"),
     title_href => RT->Config->Get('WebPath') ."/RTIR/Edit.html?id=".$id, 
     title_class=> 'inverse',  
     color => "#663366" &>
 <& /RTIR/Elements/ShowDates, Ticket => $TicketObj &>
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 <br />
 
@@ -205,7 +207,7 @@
 </td><td valign="top" width="50%">
 
 % if ($RT::FM::VERSION) {
-<& /Widgets/TitleBoxStart, title => loc("Articles"),
+<&| /Widgets/TitleBox, title => loc("Articles"),
     title_href => RT->Config->Get('WebPath') ."/RTIR/Advanced.html?id=".$id, 
     title_class=> 'inverse',
     color => "#663366" &>
@@ -225,7 +227,7 @@
 % }
 </ul>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 % }
 </td></tr></table>
 

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Edit.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Edit.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Incident/Edit.html	Sat Nov 11 20:18:31 2006
@@ -43,7 +43,7 @@
 <table border="0" cellspacing="2" cellpadding="0" width="100%">
 <tr>
 <td valign="top" width="50%">
-<& /Widgets/TitleBoxStart, title => loc('Modify incident # [_1]', $Ticket->Id),   color=> "#993333", width => "100%" &>
+<&| /Widgets/TitleBox, title => loc('Modify incident # [_1]', $Ticket->Id),   color=> "#993333", width => "100%" &>
 
 <table>
   <tr>
@@ -132,16 +132,16 @@
   </tr>
 </table>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td>
 </tr>
 <tr>
 <td valign="top" width="50%">
 
-<& /Widgets/TitleBoxStart, title => loc('Dates'),  width => "100%", color => "#663366"  &>
+<&| /Widgets/TitleBox, title => loc('Dates'),  width => "100%", color => "#663366"  &>
 <& /RTIR/Elements/EditDates, TicketObj => $Ticket &>
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 </td>
 </tr>

Modified: rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html	Sat Nov 11 20:18:31 2006
@@ -42,18 +42,18 @@
 <a name="top">
         
 % if (exists $ARGS{'TestAddresses'}) {
-<& /Widgets/TitleBoxStart, contentbg => "#cccccc", 
+<&| /Widgets/TitleBox, contentbg => "#cccccc", 
     title => 'Address test results' &>
 <ul>
 %   foreach my $key (keys %$addrhash) {
   <li><%$addrhash->{$key}->{'IP'}%>: <%$addrhash->{$key}->{'Address'}%>
 %   }
 </ul>
-<& /Widgets/TitleBoxEnd &>
+</&>
 <br />
 % }
 
-<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => loc("Identify Recipients") &>
+<&| /Widgets/TitleBox, contentbg => "#cccccc", title => loc("Identify Recipients") &>
 
 <table border="0" cellpadding="0" cellspacing="2">
 % if ($loop eq 'IP') {
@@ -144,11 +144,11 @@
 % if ($loop eq "IP") {
 <& /Elements/Submit, Name => "TestAddresses", Caption => loc("Test email addresses"), Label => loc("Test")&>
 % }
-<& /Widgets/TitleBoxEnd &>
+</&>
 
 <br />
 
-<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => loc("Message information") &>
+<&| /Widgets/TitleBox, contentbg => "#cccccc", title => loc("Message information") &>
 
 <table border="0" cellpadding="0" cellspacing="2">
   <tr>
@@ -187,7 +187,7 @@
 </tr>
 </table>
 
-<& /Widgets/TitleBoxEnd &>
+</&>
 <& /Elements/Submit, Name => "SubmitAction", Caption => loc("Create the Incidents and Investigations"), Label => loc("Create")&>
 </form>
 


More information about the Rt-commit mailing list