[Rt-commit] r4577 - in rt/branches/3.7-EXPERIMENTAL: . html/REST/1.0/search html/Search html/Ticket/Elements

alexmv at bestpractical.com alexmv at bestpractical.com
Thu Feb 23 23:04:34 EST 2006


Author: alexmv
Date: Thu Feb 23 23:04:32 2006
New Revision: 4577

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history
   rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/search/ticket
   rt/branches/3.7-EXPERIMENTAL/html/Search/Results.html
   rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowSummary

Log:
 r9286 at zoq-fot-pik:  chmrr | 2006-02-23 23:03:45 -0500
  * Config values don't interpolate in strings


Modified: rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history	Thu Feb 23 23:04:32 2006
@@ -169,7 +169,7 @@
 	}
 	my ($content, $forms);
 
-	$m->subexec("RT->Config->Get('WebPath')/REST/1.0/show", 
+	$m->subexec(RT->Config->Get('WebPath')."/REST/1.0/show", 
 		    id => \@tid, 
 		    format => $format,
                     fields => $fieldstring);

Modified: rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/search/ticket
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/search/ticket	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/search/ticket	Thu Feb 23 23:04:32 2006
@@ -123,7 +123,7 @@
     }
     else {
 	my $id = $ticket->Id;
-        my $d = $m->comp("RT->Config->Get('WebPath')/REST/1.0/Forms/ticket/default", id => $id, format => $format, fields => \%fields);
+        my $d = $m->comp(RT->Config->Get('WebPath')."/REST/1.0/Forms/ticket/default", id => $id, format => $format, fields => \%fields);
         my ($c, $o, $k, $e) = @$d;
 	push @output, [ $c, $o, $k ];
     }

Modified: rt/branches/3.7-EXPERIMENTAL/html/Search/Results.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Search/Results.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Search/Results.html	Thu Feb 23 23:04:32 2006
@@ -155,7 +155,7 @@
                                Order => $Order,
                                Page => $Page);
 my $ShortQueryString = "?".$m->comp('/Elements/QueryString', Query => $Query);
-my $RSSFeedURL = "RT->Config->Get('WebPath')/Search/Results.rdf$ShortQueryString";
+my $RSSFeedURL = RT->Config->Get('WebPath')."/Search/Results.rdf$ShortQueryString";
 
 if ($ARGS{'TicketsRefreshInterval'}) {
 	$session{'tickets_refresh_interval'} = $ARGS{'TicketsRefreshInterval'};

Modified: rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf	Thu Feb 23 23:04:32 2006
@@ -55,7 +55,7 @@
         use XML::RSS;
         my $rss = new XML::RSS (version => '1.0');
         $rss->channel(
-          title        => "RT->Config->Get('rtname'): Syndicated Search",
+          title        => RT->Config->Get('rtname').": Syndicated Search",
           link         => RT->Config->Get('WebURL'),
           description  => "",
           dc => {

Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor	Thu Feb 23 23:04:32 2006
@@ -58,7 +58,7 @@
 </%PERL>
 
 % unless ($requestor->Privileged) {
-<&| /Widgets/TitleBox, title_href => "RT->Config->Get('WebPath')/Admin/Users/Modify.html?id=".$requestor->id, title=> loc("More about [_1]", $name) &>
+<&| /Widgets/TitleBox, title_href => RT->Config->Get('WebPath')."/Admin/Users/Modify.html?id=".$requestor->id, title=> loc("More about [_1]", $name) &>
 
 %# Additional information about this user.  Empty by default.
 <& /Elements/Callback, _CallbackName => 'AboutThisUser', requestor => $requestor, %ARGS &>

Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowSummary
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowSummary	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowSummary	Thu Feb 23 23:04:32 2006
@@ -47,20 +47,20 @@
       <tr>
 	<td valign="top" width="50%" class="boxcontainer">
 	  <&| /Widgets/TitleBox, title => loc('The Basics'), 
-		title_href =>"RT->Config->Get('WebPath')/Ticket/Modify.html?id=".$Ticket->Id, 
+		title_href => RT->Config->Get('WebPath')."/Ticket/Modify.html?id=".$Ticket->Id, 
 		class => 'ticket-info-basics' &>
 	        <& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
 	  </&>
 
 % if ($Ticket->QueueObj->TicketCustomFields->First) {
 	  <&| /Widgets/TitleBox, title => loc('Custom Fields'), 
-		title_href =>"RT->Config->Get('WebPath')/Ticket/Modify.html?id=".$Ticket->Id, 
+		title_href => RT->Config->Get('WebPath')."/Ticket/Modify.html?id=".$Ticket->Id, 
 		class => 'ticket-info-cfs'  &> 
 	        <& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
 	  </&>
 % }
 	  <&| /Widgets/TitleBox, title => loc('People'), 
-		title_href =>"RT->Config->Get('WebPath')/Ticket/ModifyPeople.html?id=".$Ticket->Id, 
+		title_href => RT->Config->Get('WebPath')."/Ticket/ModifyPeople.html?id=".$Ticket->Id, 
 		class => 'ticket-info-people' &>
             <& /Ticket/Elements/ShowPeople, Ticket => $Ticket &>
 	  </&>
@@ -71,7 +71,7 @@
 	</td>
 	<td valign="top" width="50%" class="boxcontainer">
 	  <&|/Widgets/TitleBox, title => loc("Reminders"),
-		title_href =>"RT->Config->Get('WebPath')/Ticket/Reminders.html?id=".$Ticket->Id, 
+		title_href => RT->Config->Get('WebPath')."/Ticket/Reminders.html?id=".$Ticket->Id, 
 		class => 'ticket-info-reminders' &>
             <form action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" method="post">
 	      <& /Ticket/Elements/Reminders, Ticket => $Ticket, ShowCompleted => 0 &>
@@ -79,13 +79,13 @@
             </form>
 	  </&>
 	  <&| /Widgets/TitleBox, title => loc("Dates"),
-		title_href =>"RT->Config->Get('WebPath')/Ticket/ModifyDates.html?id=".$Ticket->Id, 
+		title_href => RT->Config->Get('WebPath')."/Ticket/ModifyDates.html?id=".$Ticket->Id, 
 		class => 'ticket-info-dates' &>
 	  <& /Ticket/Elements/ShowDates, Ticket => $Ticket &>
 	  </&>
 
 	  <&| /Widgets/TitleBox, title => loc('Links'), 
-		title_href => "RT->Config->Get('WebPath')/Ticket/ModifyLinks.html?id=".$Ticket->Id, 
+		title_href => RT->Config->Get('WebPath')."/Ticket/ModifyLinks.html?id=".$Ticket->Id, 
 		class => 'ticket-info-links' &>
 	        <& /Elements/ShowLinks, Ticket => $Ticket &>
           </&>


More information about the Rt-commit mailing list