summaryrefslogtreecommitdiff
path: root/rt/html/Elements/Tabs
diff options
context:
space:
mode:
authorkhoff <khoff>2005-03-11 01:34:31 +0000
committerkhoff <khoff>2005-03-11 01:34:31 +0000
commit7c04e83390fd815fbf75a22118728b2eb6b4f7ad (patch)
tree85a2e27f8ea859f1ddba0c3702f32e6dc86cad5c /rt/html/Elements/Tabs
parent98526af3dcd590daecea6f202a61a4b21589fbab (diff)
Reorganized RT->Freeside integration to support Internal (single RT/Freeside database) and XMLRPC interfaces.
All the UI stuff is handled the same either way. Integration type is changed by setting $RT::URI::freeside::IntegrationType to either 'Internal' or 'XMLRPC' in your RT_SiteConfig.pm.
Diffstat (limited to 'rt/html/Elements/Tabs')
-rw-r--r--rt/html/Elements/Tabs4
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs
index 4fc229b84..4a018bfad 100644
--- a/rt/html/Elements/Tabs
+++ b/rt/html/Elements/Tabs
@@ -64,7 +64,7 @@ my $basetopactions = {
};
my $basetabs = {
' A'=> { title => 'Billing Main',
- path => '../',
+ path => &RT::URI::freeside::FreesideURL(),
},
A => { #title => loc('Homepage'),
title => 'Ticketing Main',
@@ -93,6 +93,8 @@ if (!defined $toptabs) {
if (!defined $topactions) {
$topactions = $basetopactions;
}
+
+ require RT::URI::freeside;
# Now let callbacks add their extra tabs
$m->comp('/Elements/Callback',