Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hide sign-up button if user is logged in
  • Loading branch information
pattyland committed Jul 31, 2014
1 parent e387b78 commit b632b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -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 } ?>
Expand Down

0 comments on commit b632b1e

Please sign in to comment.