[Rt-commit] r2330 - rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs

clkao at bestpractical.com clkao at bestpractical.com
Wed Mar 9 13:30:33 EST 2005


Author: clkao
Date: Wed Mar  9 13:30:32 2005
New Revision: 2330

Modified:
   rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/MyRT.html
   rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Quicksearch.html
   rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Search.html
Log:
MyRT SubTabs.

Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/MyRT.html
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/MyRT.html	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/MyRT.html	Wed Mar  9 13:30:32 2005
@@ -44,23 +44,16 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <& /Elements/Header, Title => $title &>
-<& /User/Elements/Tabs,
+<& /Prefs/Elements/Tabs,
     current_tab => 'Prefs/MyRT.html',
-    Title => $title
+    Title => $title,
+    Searches => \@sys_searches
 &>
 
 <& /Widgets/SelectionBox:header &>
 
 <& /Elements/ListActions, actions => \@actions &>
 <p>
-<&|/Elements/TitleBox, title => loc('Predefined searches'), bodyclass => "" &>
-<ul>
-<li><a href="<% $RT::WebPath %>/Prefs/Quicksearch.html"><&|/l&>Quick search</&></a></li>
-% for my $search (@sys_searches) {
-<li><a href="<% $RT::WebPath.'/Prefs/Search.html?'.$m->comp('/Elements/QueryString', name => ref($search->[1]).'-'.$search->[1]->Id) %>"><% $search->[0] %></a></li>
-% }
-</ul>
-</&>
 <&|/Elements/TitleBox, title => loc('Options'), bodyclass => "" &>
 <form method="POST" action="MyRT.html">
 <&|/l&>Summary rows</&>:<input name="SummaryRows" value="<% $ARGS{SummaryRows} %>">

Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Quicksearch.html
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Quicksearch.html	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Quicksearch.html	Wed Mar  9 13:30:32 2005
@@ -44,8 +44,9 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <& /Elements/Header, Title => $title &>
-<& /User/Elements/Tabs,
+<& /Prefs/Elements/Tabs,
     current_tab => 'Prefs/MyRT.html',
+    current_subtab => 'Prefs/Quicksearch.html',
     Title => $title
 &>
 <& /Elements/ListActions, actions => \@actions &>

Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Search.html
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Search.html	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/Search.html	Wed Mar  9 13:30:32 2005
@@ -44,8 +44,10 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <& /Elements/Header, Title => $title &>
-<& /User/Elements/Tabs,
+<& /Prefs/Elements/Tabs,
     current_tab => 'Prefs/MyRT.html',
+#    current_subtab => 'Prefs/Search.html?name='.$m->comp('/Elements/QueryString', name => $ARGS{name}),
+    current_subtab => 'Prefs/Search.html?name='.$ARGS{name},
     Title => $title
 &>
 <& /Elements/ListActions, actions => \@actions &>


More information about the Rt-commit mailing list