Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
hide sign-up button if user is logged in
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
index.php
|
@@ -60,7 +60,7 @@ |
|
|
<?php if(FRONTEND_LOGIN AND !$wb->is_authenticated() AND VISIBILITY != 'private' ) { ?> |
|
|
<li><button type="button" class="btn btn-default navbar-btn" data-toggle="modal" data-target="#logindialog"><?php echo $TEXT['LOGIN']; ?></button></li> |
|
|
<?php } ?> |
|
|
<?php if (is_numeric(FRONTEND_SIGNUP)) { ?> |
|
|
<?php if (is_numeric(FRONTEND_SIGNUP) && !$wb->is_authenticated()) { ?> |
|
|
<li><a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a></li> |
|
|
|
|
|
<?php } ?> |
|
|