[Rt-commit] [svn] r794 - in rt: . branches/rt-3.3/html/REST/2.0/Search

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Sat May 1 09:55:57 EDT 2004


Author: autrijus
Date: Sat May  1 09:55:57 2004
New Revision: 794

Modified:
   rt/   (props changed)
   rt/branches/rt-3.3/html/REST/2.0/Search/index
Log:
 ----------------------------------------------------------------------
 r4345 at not:  autrijus | 2004-05-01T13:56:03.778530Z
 
 * use absolute URIs, not relative ones, per the Atom spec
 ----------------------------------------------------------------------


Modified: rt/branches/rt-3.3/html/REST/2.0/Search/index
==============================================================================
--- rt/branches/rt-3.3/html/REST/2.0/Search/index	(original)
+++ rt/branches/rt-3.3/html/REST/2.0/Search/index	Sat May  1 09:55:57 2004
@@ -16,7 +16,7 @@
 % foreach my $entry (@entries) {
   <entry>
     <title mode="escaped"><% $entry->{Name} %></title>
-    <link rel="alternate" type="text/html" href="<% $RT::WebPath %><% $entry->{URL} %>"/>
+    <link rel="alternate" type="text/html" href="<% $RT::WebURL %><% $entry->{URL} %>"/>
     <link rel="service.edit" type="application/x.atom+xml" href="<% $BaseURL %>/<% lc($Type) %>/<% $entry->{Id} %>"/>
     <modified><% $entry->{LastUpdated} %></modified>
     <issued><% $entry->{Created} %></issued>
@@ -29,12 +29,12 @@
 </feed>
 <%INIT>
 my %URL = (
-    Tickets	=> '/Ticket/Display.html?id=',
-    Templates	=> '/Admin/Global/Template.html?Template=',
-    Scrips	=> '/Admin/Global/Scrip.html?id=',
-    Queues	=> '/Admin/Queues/Modify.html?id=',
-    Users	=> '/Admin/Users/Modify.html?id=',
-    Groups	=> '/Admin/Groups/Modify.html?id=',
+    Tickets	=> 'Ticket/Display.html?id=',
+    Templates	=> 'Admin/Global/Template.html?Template=',
+    Scrips	=> 'Admin/Global/Scrip.html?id=',
+    Queues	=> 'Admin/Queues/Modify.html?id=',
+    Users	=> 'Admin/Users/Modify.html?id=',
+    Groups	=> 'Admin/Groups/Modify.html?id=',
 );
 my $BaseURL = "$RT::WebPath/REST/2.0";
 


More information about the Rt-commit mailing list