6 % foreach $tab (sort keys %{$toptabs}) {
10 % if ($current_toptab eq $toptabs->{$tab}->{'path'}) {
13 HREF="<%$RT::WebPath%>/<% $toptabs->{$tab}->{'path'}%>"><% $toptabs->{$tab}->{'title'}%></A>]
27 <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
29 % foreach $tab (sort keys %{$tabs}) {
30 <TD ALIGN=CENTER VALIGN=TOP>
32 % if ($current_tab eq $tabs->{$tab}->{'path'}) {
35 HREF="<%$RT::WebPath%>/<% $tabs->{$tab}->{'path'}%>"><% $tabs->{$tab}->{'title'}%></A>]</TD>
42 % if ($subtabs_scalar) {
43 <% $subtabs_scalar |n%>
48 % foreach $tab (sort keys %{$subtabs}) {
50 [<A HREF="<%$RT::WebPath%>/<% $subtabs->{$tab}->{'path'}%>"><% $subtabs->{$tab}->{'title'}%></A>]
57 <TD VALIGN=TOP ALIGN=RIGHT>
61 % foreach $action (sort keys %{$topactions}) {
62 <TD><font size=-1><%$topactions->{"$action"}->{'html'} |n %></font></TD>
71 % foreach $action (sort keys %{$actions}) {
74 % if ($actions->{"$action"}->{'html'}) {
75 <%$actions->{"$action"}->{'html'} |n%>
77 <A HREF="<%$RT::WebPath%>/<% $actions->{$action}->{'path'}%>"><% $actions->{$action}->{'title'}%></A>
85 % if ($subactions_scalar) {
86 <% $subactions_scalar |n%>
90 % foreach $action (sort keys %{$subactions}) {
91 <%$subactions->{"$action"}->{'html'} |n%> |
101 my $toptabs = { A => { title => 'Home',
104 B => { title => 'Search',
105 path => 'Search/Listing.html'
108 D => { title => 'Configuration',
115 A => { html => $m->scomp('/Elements/CreateTicket')
117 B => { html => $m->scomp('/Elements/GotoTicket')
122 $current_toptab => "none"
123 $current_tab => "none"
124 $current_subtab => "none"
126 $tabs_scalar => undef
130 $subtabs_scalar => undef
131 $subactions_scalar => undef