diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-11-12 07:28:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-11-12 07:28:29 +0000 |
commit | d076daaaf8690ae0b1ff9c8782619e518f868109 (patch) | |
tree | 34ac835c15970ad0f6b76a21565ef6c67c567495 /source | |
parent | 530a98022e5207772980fc7d286547686713927a (diff) | |
download | samba-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.c | 2 |
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"); |