Permalink
Browse files

hide sign-up button if user is logged in

  • Loading branch information...
pattyland committed Jul 31, 2014
1 parent e387b78 commit b632b1ebf13f0d6e5856e85e885620ded2bfb350
Showing with 1 addition and 1 deletion.
  1. +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 } ?>

0 comments on commit b632b1e

Please sign in to comment.