Skip to content

Commit

Permalink
only show registration link if registration module is activated (logi…
Browse files Browse the repository at this point in the history
…n_debug.php view)
  • Loading branch information
thyseus committed Aug 14, 2014
1 parent 459d481 commit 784b575
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/user/views/user/login_debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,14 @@

</div>


<?php if(Yum::hasModule('registration') && Yum::module('registration')->enableRegistration) { ?>
<div class="alert alert-error">
Click <? echo CHtml::link(Yum::t("Registration"),
Yum::module('registration')->registrationUrl); ?> if you are not registered.

</div>
<?php } ?>


</div>
Expand Down

0 comments on commit 784b575

Please sign in to comment.