summaryrefslogtreecommitdiff
path: root/rt/html/Elements/Menu
diff options
context:
space:
mode:
authorivan <ivan>2004-11-11 12:13:50 +0000
committerivan <ivan>2004-11-11 12:13:50 +0000
commitb8cfd0780aa40bb07f3215bf9cb58011f5e32a35 (patch)
tree5b5deb6f64cf6eb9f4630675725b59e7bfad137a /rt/html/Elements/Menu
parent0a2e57727e8f00fdc8ec4596619fb206c95fa919 (diff)
parentc582e92888b4a5553e1b4e5214cf35217e4a0cf0 (diff)
This commit was generated by cvs2svn to compensate for changes in r3874,
which included commits to RCS files with non-trunk default branches.
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 963be13bf..5cc8ab773 100644
--- a/rt/html/Elements/Menu
+++ b/rt/html/Elements/Menu
@@ -56,7 +56,7 @@
% } else {
% $sep=0;
% }
-<li style="<%$style%>"><A HREF="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}|n%>" style="font-size: <%$size%>;" class="<%$class%>"
+<li style="<%$style%>"><A HREF="<%($toptabs->{$tab}->{'path'} !~ m/^https?:/i) ? $RT::WebPath."/" : ""%><%$toptabs->{$tab}->{'path'}|n%>" style="font-size: <%$size%>;" class="<%$class%>"
<%($class eq 'currenttopnav') ? "name='focus'" : ""|n %>
<% !$level && "accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></A>
%# Second-level items