summaryrefslogtreecommitdiff
path: root/rt/html/Elements/Menu
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/Menu
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/Menu')
-rw-r--r--rt/html/Elements/Menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/html/Elements/Menu b/rt/html/Elements/Menu
index 0e57585c5..e933fb4f0 100644
--- a/rt/html/Elements/Menu
+++ b/rt/html/Elements/Menu
@@ -78,7 +78,7 @@
% } else {
% $sep=0;
% }
-<li style="<%$style%>"><A HREF="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>" style="font-size: <%$size%>;" class="<%$class%>"
+<li style="<%$style%>"><A HREF="<% ($toptabs->{$tab}->{'path'} =~ /^http/) ? '' : "${RT::WebPath}/" %><%$toptabs->{$tab}->{'path'}%>" style="font-size: <%$size%>;" class="<%$class%>"
<%($class eq 'currenttopnav') ? "name='focus'" : ""|n %>
<% !$level && "accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></A>
%# Second-level items