RT# 81692 Update use of deprecated widgets in RT
authorMitch Jackson <mitch@freeside.biz>
Sun, 31 Mar 2019 16:47:29 +0000 (12:47 -0400)
committerMitch Jackson <mitch@freeside.biz>
Sun, 31 Mar 2019 16:47:29 +0000 (12:47 -0400)
rt/docs/design_docs/string-extraction-guide.txt
rt/share/html/RTx/Statistics/CallsMultiQueue/index.html
rt/share/html/RTx/Statistics/OpenStalled/index.html
rt/share/html/Ticket/ModifyCustomers.html

index 757a270..5c77aa8 100644 (file)
@@ -63,9 +63,9 @@ that this will genereate code which will not work in RT 2.1.3. I need
 to add a bit of framework to make it work in 2.1.4
 
 
-The string     <& /Elements/TitleBoxStart, width=> "40%", titleright => "RT $RT::VERSION for ". RT->Config->Get('rtname'), title => 'Login' &>
+The string     <& /Widgets/TitleBoxStart, width=> "40%", titleright => "RT $RT::VERSION for ". RT->Config->Get('rtname'), title => 'Login' &>
 
-should become  <& /Elements/TitleBoxStart, 
+should become  <& /Widgets/TitleBoxStart, 
                        width=> "40%",
                        titleright => loc("RT [_1] for [_2]",$RT::VERSION, RT->Config->Get('rtname')),
                        title => loc('Login'),
index 512d62d..17eeb5e 100755 (executable)
@@ -21,7 +21,7 @@ The line chart below shows the same information in a graphical form.
 %        Statistics::FormatDate($Statistics::PerDayDateFormat, $dates[0]) . " through " .
 %        Statistics::FormatDate($Statistics::PerDayDateFormat, $dates[$#dates-1]);
 
-<& /Elements/TitleBoxStart, title => $title, title_href => $RT::WebPath."/RTx/Statistics/OpenStalled/index.html?$QueryString"&>
+<& /Widgets/TitleBoxStart, title => $title, title_href => $RT::WebPath."/RTx/Statistics/OpenStalled/index.html?$QueryString"&>
 <TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH="100%">
 % if ($ShowHeader) {
 <& /RTx/Statistics/Elements/CollectionAsTable/Header, 
@@ -97,7 +97,7 @@ The line chart below shows the same information in a graphical form.
 <&  /RTx/Statistics/Elements/CollectionAsTable/Row, Format => \@RowFormat, i => $line, record => $record, maxitems => $maxitems &>
 % }
 </table>
-<& /Elements/TitleBoxEnd&>
+<& /Widgets/TitleBoxEnd&>
 
 <!--    <td>Show:</td>
     <td COLSPAN=2><SELECT NAME="status">
index 31ef646..a59246c 100755 (executable)
@@ -15,7 +15,7 @@ viewed once (Open) and how many have had their status changed to stalled.</p>
 
 
 %my $title = "New, Open and Stalled Tickets in " . join(', ', @queues);
-<& /Elements/TitleBoxStart, title => $title, title_href => $RT::WebPath."/RTx/Statistics/OpenStalled/index.html?$QueryString"&>
+<& /Widgets/TitleBoxStart, title => $title, title_href => $RT::WebPath."/RTx/Statistics/OpenStalled/index.html?$QueryString"&>
 <TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH="100%">
 % if ($ShowHeader) {
 <& /RTx/Statistics/Elements/CollectionAsTable/Header, 
@@ -63,7 +63,7 @@ viewed once (Open) and how many have had their status changed to stalled.</p>
 %    $values{Statistics_Totals} = $totals{"Totals"};
 <&   /RTx/Statistics/Elements/CollectionAsTable/Row, Format => \@BoldRowFormat, i => $line+1, record => $record, maxitems => $maxitems &>
 </table>
-<& /Elements/TitleBoxEnd&>
+<& /Widgets/TitleBoxEnd&>
 
 % use Data::Dumper;
 % Statistics::DebugLog("Dump of data array is " . Dumper(@data) . "\n");
index 72d103b..ac97399 100644 (file)
@@ -20,9 +20,9 @@
 <form action="ModifyCustomers.html" method="post">
 <input type="hidden" name="id" value="<%$Ticket->id%>">
 
-<& /Elements/TitleBoxStart, title => loc('Edit Customer Links'), color => "#7f007b"&>
+<& /Widgets/TitleBoxStart, title => loc('Edit Customer Links'), color => "#7f007b"&>
 <& Elements/EditCustomers, Ticket => $Ticket, CustomerString => $CustomerString, ServiceString => $ServiceString &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
 <& /Elements/Submit, color => "#7f007b", Label => loc('Save Changes') &>
 </form>