summaryrefslogtreecommitdiff
path: root/swat
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-23 08:54:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:58 -0500
commit66526f5e4a9aba59d20a70829e920e9a4c3cc610 (patch)
treee3ba0f1566e396d5649b3289f6e4292d154ac11a /swat
parente5f60830921d730d94240440ed39ec77fb30774e (diff)
downloadsamba-66526f5e4a9aba59d20a70829e920e9a4c3cc610.tar.gz
samba-66526f5e4a9aba59d20a70829e920e9a4c3cc610.tar.bz2
samba-66526f5e4a9aba59d20a70829e920e9a4c3cc610.zip
r8718: try to improve the 2 level menu a bit.
Deryck, if you get a chance, could you see how to make this a little "left and up" arrow instead of "Main Menu" ? (This used to be commit c6c1b2998c68b40496fe605097900071704d6474)
Diffstat (limited to 'swat')
-rw-r--r--swat/scripting/header_columns.esp4
1 files changed, 3 insertions, 1 deletions
diff --git a/swat/scripting/header_columns.esp b/swat/scripting/header_columns.esp
index c7e58df90b..0320e66283 100644
--- a/swat/scripting/header_columns.esp
+++ b/swat/scripting/header_columns.esp
@@ -62,9 +62,11 @@ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/logo.png'
<div id="nav">
<%
- include("/menu.js");
if (global.page.menu) {
include(global.page.menu);
+ write('<a href="/">Main Menu</a>');
+ } else {
+ include("/menu.js");
}
%>
</div>