Alex 'AdUser' Z
10 years ago
2 changed files with 11 additions and 3 deletions
@ -0,0 +1,10 @@
|
||||
% my $user = session 'useruid'; |
||||
<ul class="ui-block"> |
||||
% if ($user) { |
||||
<li><span style="color: black;"><%= $user %></span></li> |
||||
<li><a href="/user/profile" rel="nofollow">Профиль</a></li> |
||||
<li><a href="/user/logout" rel="nofollow">Выйти</a></li> |
||||
% } else { |
||||
<li><a href="/user/login" rel="nofollow">Войти</a></li> |
||||
% } |
||||
</ul> |
Loading…
Reference in new issue