first commit
This commit is contained in:
7
public/theme/crossmap/templates/partial/login-btn-top.php
Executable file
7
public/theme/crossmap/templates/partial/login-btn-top.php
Executable file
@@ -0,0 +1,7 @@
|
||||
<?php if (getSessionUser()->is) { ?>
|
||||
<a href="#">내 정보</a>
|
||||
<a href="/user/logout">로그아웃</a>
|
||||
<?php } else { ?>
|
||||
<a href="/user/login">로그인</a>
|
||||
<a href="/user/register">회원가입</a>
|
||||
<?php } ?>
|
||||
Reference in New Issue
Block a user