[Rt-commit] [svn] r1356 - rtir/branches/1.1/html/RTIR/Elements

leira at pallas.eruditorum.org leira at pallas.eruditorum.org
Thu Aug 19 01:28:45 EDT 2004


Author: leira
Date: Thu Aug 19 01:28:44 2004
New Revision: 1356

Modified:
   rtir/branches/1.1/html/RTIR/Elements/QueueTabs
   rtir/branches/1.1/html/RTIR/Elements/Tabs
Log:
Don't put the querystring in the top level menu item, because it will be wrong.


Modified: rtir/branches/1.1/html/RTIR/Elements/QueueTabs
==============================================================================
--- rtir/branches/1.1/html/RTIR/Elements/QueueTabs	(original)
+++ rtir/branches/1.1/html/RTIR/Elements/QueueTabs	Thu Aug 19 01:28:44 2004
@@ -38,7 +38,8 @@
 my ($Type, undef) = $m->comp('/RTIR/Elements/Type', Queue => $QueueName);
 
 my $tabs = {};
-my $current_toptab = 'RTIR/Search/Results.html?Queue=' . $QueueName . $QueryString,
+my $current_toptab = 'RTIR/Search/Results.html?Queue=' . $QueueName;
+
 my ($actions, $mytab);
 my $searchtabs = { } ;
 
@@ -177,7 +178,7 @@
                  subtabs   => $searchtabs };
 
 if ($Type eq 'Report') {
-$tabs->{"h"} = { path      => 'RTIR/$Type/BulkReject.html?ClearRestrictions=1',
+$tabs->{"h"} = { path      => 'RTIR/Report/BulkReject.html?ClearRestrictions=1',
                  title     => loc('Bulk Reject'),
                  separator => 1 };
 }

Modified: rtir/branches/1.1/html/RTIR/Elements/Tabs
==============================================================================
--- rtir/branches/1.1/html/RTIR/Elements/Tabs	(original)
+++ rtir/branches/1.1/html/RTIR/Elements/Tabs	Thu Aug 19 01:28:44 2004
@@ -34,6 +34,7 @@
     AppName => $RT::rtirname &>
 
 <%INIT>
+
 my $toptabs = { 
     A => { title => loc('RT'),
 	   path  => '', },
@@ -41,13 +42,13 @@
 	   path => 'RTIR/index.html',
        },
     C => { title => loc('Incidents'),
-	   path => 'RTIR/Search/Results.html?Queue=Incidents' . $QueryString },
+	   path => 'RTIR/Search/Results.html?Queue=Incidents' },
     D => { title => loc('Incident Reports'),
-	   path => 'RTIR/Search/Results.html?Queue=Incident Reports' . $QueryString },
+	   path => 'RTIR/Search/Results.html?Queue=Incident Reports'},
     E => { title => loc('Investigations'),
-	   path => 'RTIR/Search/Results.html?Queue=Investigations' . $QueryString },
+	   path => 'RTIR/Search/Results.html?Queue=Investigations'},
     F => { title => loc('Blocks'),
-	   path => 'RTIR/Search/Results.html?Queue=Blocks' . $QueryString },
+	   path => 'RTIR/Search/Results.html?Queue=Blocks'},
     G => { title => loc('Tools'),
 	   path => 'RTIR/Tools/Lookup.html',
 		   },


More information about the Rt-commit mailing list