diff options
Diffstat (limited to 'rt/html/Elements/Tabs')
-rw-r--r-- | rt/html/Elements/Tabs | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index 863cdd8ee..f94711c3c 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -53,25 +53,37 @@ tabs => $tabs, actions => $actions, subactions => $subactions, - title => $Title, - show_menu => $show_menu, + title => $Title &> <a name="skipnav" id="skipnav" accesskey="8"></a> <%INIT> my $action; my $basetopactions = { - A => { html => $m->scomp('/Elements/CreateTicket') +# A => { html => $m->scomp('/Elements/CreateTicket') +# }, + A => { html => $m->scomp('/Elements/FreesideNewCust') }, - B => { html => $m->scomp('/Elements/SimpleSearch') + B => { html => $m->scomp('/Elements/FreesideSearch') + }, + C => { html => $m->scomp('/Elements/FreesideInvoiceSearch') + }, + D => { html => $m->scomp('/Elements/FreesideSvcSearch') + }, + E => { html => $m->scomp('/Elements/SimpleSearch') } }; -my $basetabs = { A => { title => loc('Homepage'), +my $basetabs = { + ' A'=> { title => 'Billing Main', + path => &RT::URI::freeside::FreesideURL(), + }, + A => { #title => loc('Homepage'), + title => 'Ticketing Main', path => '', }, - Ab => { title => loc('Simple Search'), + Ab => { title => loc('Simple Ticket Search'), path => 'Search/Simple.html' }, - B => { title => loc('Tickets'), + B => { title => loc('Adv. Ticket Search'), path => 'Search/Build.html' }, C => { title => loc('Tools'), @@ -102,6 +114,8 @@ if (!defined $toptabs) { if (!defined $topactions) { $topactions = $basetopactions; } + + require RT::URI::freeside; # Now let callbacks add their extra tabs $m->comp('/Elements/Callback', @@ -118,5 +132,4 @@ $tabs => undef $actions => undef $subactions => undef $Title => undef -$show_menu => 1 </%ARGS> |