@@ -27,11 +27,17 @@ |
||
27 | 27 | |
28 | 28 | <?php if (AuthChoice::hasClients()): ?> |
29 | 29 | <?= AuthChoice::widget([]) ?> |
30 | - <?php else: ?> |
|
30 | + <?php else { |
|
31 | + : ?> |
|
31 | 32 | <?php if ($canRegister) : ?> |
32 | - <p><?= Yii::t('UserModule.views_auth_login', "If you're already a member, please login with your username/email and password."); ?></p> |
|
33 | - <?php else: ?> |
|
34 | - <p><?= Yii::t('UserModule.views_auth_login', "Please login with your username/email and password."); ?></p> |
|
33 | + <p><?= Yii::t('UserModule.views_auth_login', "If you're already a member, please login with your username/email and password."); |
|
34 | +} |
|
35 | +?></p> |
|
36 | + <?php else { |
|
37 | + : ?> |
|
38 | + <p><?= Yii::t('UserModule.views_auth_login', "Please login with your username/email and password."); |
|
39 | +} |
|
40 | +?></p> |
|
35 | 41 | <?php endif; ?> |
36 | 42 | <?php endif; ?> |
37 | 43 |