added closedwiki option
This hides most of the wiki tools including the sidebar and search until the user has logged in.
This commit is contained in:
parent
621124b325
commit
da9591f0b6
5 changed files with 19 additions and 9 deletions
|
@ -16,7 +16,7 @@ if ($conf['useacl']): ?>
|
|||
try {
|
||||
$item = new Login();
|
||||
if ($item->visibleInContext(AbstractItem::CTX_DESKTOP))
|
||||
echo '<li class="log">' . $item->asHtmlButton() . '</li>';
|
||||
echo '<li class="log">' . $item->asHtmlLink() . '</li>';
|
||||
} catch (RuntimeException $ignored) {
|
||||
// item not available
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue