diff options
Diffstat (limited to 'rt/webrt/SelfService/Elements/Tabs')
-rw-r--r-- | rt/webrt/SelfService/Elements/Tabs | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/rt/webrt/SelfService/Elements/Tabs b/rt/webrt/SelfService/Elements/Tabs deleted file mode 100644 index d689d8a..0000000 --- a/rt/webrt/SelfService/Elements/Tabs +++ /dev/null @@ -1,49 +0,0 @@ -<TABLE WIDTH=100%> -<TR> -% foreach $tab (sort keys %{$tabs}) { -<TD ALIGN=CENTER> -[<A HREF="<%$RT::WebPath%>/<% $tabs->{"$tab"}->{'path'}%>"><% $tabs->{"$tab"}->{'title'}%></A>] -</TD> -%} - -% if ($actions) { - -<TD ALIGN=RIGHT> -<TABLE><TR> -% foreach my $action (sort keys %{$actions}) { -<TD> -<FONT SIZE=-1> -% if ($actions->{"$action"}->{'html'}) { -<%$actions->{"$action"}->{'html'} |n%> -% } else { -<A HREF="<%$RT::WebPath%>/<% $actions->{$action}->{'path'}%>"><% $actions->{$action}->{'title'}%></A> -% } -</FONT> -</TD> -% } -</TR> -</TABLE> -</TD> -%} -</TR> -</TABLE> -<hr> -<%INIT> -my ($tab); -my $tabs = { A => { title => 'Open requests', - path => 'SelfService/', - }, - B => { title => 'Closed requests', - path => 'SelfService/Closed.html', - }, - C => { title => 'New request', - path => 'SelfService/Create.html' - } - }; -my $actions = { - B => { html => $m->scomp('GotoTicket') - } - }; -</%INIT> - - |