summaryrefslogtreecommitdiff
path: root/source3/web
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
commit27d96564cebae49cb7e1a5e360e5e9f99d10fbb0 (patch)
tree1ca3bdaceb0afc4802250c5b0a2482734a85539a /source3/web
parentc287a820572c90b05175356bf2bb9d7f72c1a9d3 (diff)
downloadsamba-27d96564cebae49cb7e1a5e360e5e9f99d10fbb0.tar.gz
samba-27d96564cebae49cb7e1a5e360e5e9f99d10fbb0.tar.bz2
samba-27d96564cebae49cb7e1a5e360e5e9f99d10fbb0.zip
show all buttons in demo mode
(This used to be commit d076daaaf8690ae0b1ff9c8782619e518f868109)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 0c1576edbc..f5c8e286cd 100644
--- a/source3/web/swat.c
+++ b/source3/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");