diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-12 07:12:48 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-12 07:12:48 +0000 |
commit | 11d4e2d7258ab17cff54c8f2062afdb47886b95e (patch) | |
tree | 32dc3ca414e6e5e5aeabd24e4d0628e972e116ff | |
parent | 6fd19dedbc1485084520726d617836ec58793346 (diff) |
Don't show the access tab if the user module isn't installed
-rw-r--r-- | core/views/welcome.html.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 360dc1ec..7b132231 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -182,7 +182,9 @@ <ul class="tabs"> <li><a href="javascript:show('config')">Configuration</a></li> <li><a href="javascript:show('actions')">Actions</a></li> + <? if (module::is_installed("user")): ?> <li><a href="javascript:show('access')">Access</a></li> + <? endif ?> <li><a href="javascript:show('info')">Info</a></li> <li><a href="javascript:show('benchmarks')">Benchmarks</a></li> <li><a href="javascript:show('docs')">Docs</a></li> @@ -284,6 +286,7 @@ <? endif ?> </div> + <? if (module::is_installed("user")): ?> <div id="access" class="activity"> <ul class="tabs"> <li><a href="javascript:show('access', 'access_users')">Users</a></li> @@ -383,6 +386,7 @@ <? endif ?> </div> </div> + <? endif ?> <div id="info" class="activity"> <ul> |