From ded0451e9582df33cae6099a2fb72b4ea25076cf Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2003 13:30:43 +0000 Subject: reverting to vendor branch rt 3.0.4, hopefully --- rt/webrt/Elements/Tabs | 133 ------------------------------------------------- 1 file changed, 133 deletions(-) delete mode 100755 rt/webrt/Elements/Tabs (limited to 'rt/webrt/Elements/Tabs') diff --git a/rt/webrt/Elements/Tabs b/rt/webrt/Elements/Tabs deleted file mode 100755 index 6eacf391a..000000000 --- a/rt/webrt/Elements/Tabs +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -
- - -% foreach $tab (sort keys %{$toptabs}) { - -% } - -
- - [{$tab}->{'path'}) { -class='currenttab' -% } - HREF="<%$RT::WebPath%>/<% $toptabs->{$tab}->{'path'}%>"><% $toptabs->{$tab}->{'title'}%>] - - - -
-
-% if ($tabs_scalar) { -<% $tabs_scalar |n%> -% } -% if ($tabs) { - - - -% foreach $tab (sort keys %{$tabs}) { - -%} - -
-[{$tab}->{'path'}) { -class='currenttab' -% } -HREF="<%$RT::WebPath%>/<% $tabs->{$tab}->{'path'}%>"><% $tabs->{$tab}->{'title'}%>]
-%} - -
-% if ($subtabs_scalar) { -<% $subtabs_scalar |n%> -% } -% if ($subtabs) { - - -% foreach $tab (sort keys %{$subtabs}) { - -%} - -
- [<% $subtabs->{$tab}->{'title'}%>] -
-%} -
- - - -% foreach $action (sort keys %{$topactions}) { - -% } - -
<%$topactions->{"$action"}->{'html'} |n %>
- - - -% if ($actions) { - -% foreach $action (sort keys %{$actions}) { - -% } -
- -% if ($actions->{"$action"}->{'html'}) { -<%$actions->{"$action"}->{'html'} |n%> -% } else { -<% $actions->{$action}->{'title'}%> -% } - -
-% } - -% if ($subactions_scalar) { -<% $subactions_scalar |n%> -% } -% if ($subactions) { -
|  -% foreach $action (sort keys %{$subactions}) { -<%$subactions->{"$action"}->{'html'} |n%> | -% } -% } -
- - -<%INIT> -my ($tab, $action); -my $toptabs = { A => { title => 'Home', - path => '', - }, - B => { title => 'Search', - path => 'Search/Listing.html' - }, - - D => { title => 'Configuration', - path => 'Admin/' - } - }; - - -my $topactions = { - A => { html => $m->scomp('/Elements/CreateTicket') - }, - B => { html => $m->scomp('/Elements/GotoTicket') - } - }; - -<%ARGS> -$current_toptab => "none" -$current_tab => "none" -$current_subtab => "none" -$tabs => undef -$tabs_scalar => undef -$subtabs => undef -$actions => undef -$subactions => undef -$subtabs_scalar => undef -$subactions_scalar => undef - - -- cgit v1.2.1