From 27d96564cebae49cb7e1a5e360e5e9f99d10fbb0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 Nov 1998 07:28:29 +0000 Subject: show all buttons in demo mode (This used to be commit d076daaaf8690ae0b1ff9c8782619e518f868109) --- source3/web/swat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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"); -- cgit