correct auth block

This commit is contained in:
Andrey Kuvshinov
2020-05-12 21:34:52 +03:00
parent 9b1b62b988
commit 253a03b91f
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<?$checklogin = check_login_kuri()?>
<?$checklogin = check_login_kuri();?>
<div id="auth">
<?if ($checklogin == 'error'):?>
<?if ($checklogin['error'] == 'client not found'):?>
<a href="<?=SITE?>login">Войти</a>
<?else:?>
<a href="<?=SITE?>mybooks">Моя библиотека</a> /