summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-12 07:28:29 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-12 07:28:29 +0000
commitd076daaaf8690ae0b1ff9c8782619e518f868109 (patch)
tree34ac835c15970ad0f6b76a21565ef6c67c567495 /source
parent530a98022e5207772980fc7d286547686713927a (diff)
downloadsamba-d076daaaf8690ae0b1ff9c8782619e518f868109.tar.gz
samba-d076daaaf8690ae0b1ff9c8782619e518f868109.tar.xz
samba-d076daaaf8690ae0b1ff9c8782619e518f868109.zip
show all buttons in demo mode
Diffstat (limited to 'source')
-rw-r--r--source/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/swat.c b/source/web/swat.c
index 0c1576edbc2..f5c8e286cdc 100644
--- a/source/web/swat.c
+++ b/source/web/swat.c
@@ -405,7 +405,7 @@ static void show_main_buttons(void)
image_link("Home", "", "images/home.gif");
/* Root gets full functionality */
- if (am_root() == True) {
+ if (demo_mode || am_root()) {
image_link("Globals", "globals", "images/globals.gif");
image_link("Shares", "shares", "images/shares.gif");
image_link("Printers", "printers", "images/printers.gif");