2009-03-21 20:08:51 +02:00
|
|
|
<!-- Header -->
|
2009-04-27 17:49:40 +03:00
|
|
|
{if !$oUserCurrent}
|
|
|
|
<div style="display: none;">
|
|
|
|
<div class="login-popup" id="login-form">
|
2009-03-21 20:08:51 +02:00
|
|
|
<div class="login-popup-top"><a href="#" class="close-block" onclick="return false;"></a></div>
|
|
|
|
<div class="content">
|
2009-08-19 21:27:36 +03:00
|
|
|
<form action="{router page='login'}" method="POST">
|
2009-04-05 16:56:18 +03:00
|
|
|
<h3>{$aLang.user_authorization}</h3>
|
2010-05-03 11:19:41 +03:00
|
|
|
{hook run='form_login_popup_begin'}
|
2009-08-19 21:27:36 +03:00
|
|
|
<div class="lite-note"><a href="{router page='registration'}">{$aLang.registration_submit}</a><label for="">{$aLang.user_login}</label></div>
|
2009-03-21 20:08:51 +02:00
|
|
|
<p><input type="text" class="input-text" name="login" tabindex="1" id="login-input"/></p>
|
2009-08-19 21:27:36 +03:00
|
|
|
<div class="lite-note"><a href="{router page='login'}reminder/" tabindex="-1">{$aLang.user_password_reminder}</a><label for="">{$aLang.user_password}</label></div>
|
2009-03-21 20:08:51 +02:00
|
|
|
<p><input type="password" name="password" class="input-text" tabindex="2" /></p>
|
2010-05-03 11:19:41 +03:00
|
|
|
{hook run='form_login_popup_end'}
|
2009-04-05 16:56:18 +03:00
|
|
|
<div class="lite-note"><button type="submit" onfocus="blur()"><span><em>{$aLang.user_login_submit}</em></span></button><label for="" class="input-checkbox"><input type="checkbox" name="remember" checked tabindex="3" >{$aLang.user_login_remember}</label></div>
|
2009-03-21 20:08:51 +02:00
|
|
|
<input type="hidden" name="submit_login">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="login-popup-bottom"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<div id="header">
|
2009-11-29 18:50:37 +02:00
|
|
|
<h1><a href="{cfg name='path.root.web'}"><strong>Live</strong>Street</a></h1>
|
2009-03-21 20:08:51 +02:00
|
|
|
|
|
|
|
<ul class="nav-main">
|
2009-08-19 15:01:35 +03:00
|
|
|
<li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{router page='blog'}">{$aLang.blogs}</a></li>
|
|
|
|
<li {if $sMenuHeadItemSelect=='people'}class="active"{/if}><a href="{router page='people'}">{$aLang.people}</a></li>
|
2010-04-25 19:33:49 +03:00
|
|
|
{hook run='main_menu'}
|
2009-03-21 20:08:51 +02:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
{if $oUserCurrent}
|
|
|
|
<div class="profile">
|
|
|
|
<a href="{$oUserCurrent->getUserWebPath()}" class="avatar"><img src="{$oUserCurrent->getProfileAvatarPath(48)}" alt="{$oUserCurrent->getLogin()}" /></a>
|
|
|
|
<ul>
|
2009-10-17 03:27:22 +03:00
|
|
|
<li><a href="{$oUserCurrent->getUserWebPath()}" class="author">{$oUserCurrent->getLogin()}</a> (<a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.exit}</a>)</li>
|
2009-03-21 20:08:51 +02:00
|
|
|
<li>
|
|
|
|
{if $iUserCurrentCountTalkNew}
|
2009-08-24 19:37:08 +03:00
|
|
|
<a href="{router page='talk'}" class="message" id="new_messages" title="{$aLang.user_privat_messages_new}">{$iUserCurrentCountTalkNew}</a>
|
2009-03-21 20:08:51 +02:00
|
|
|
{else}
|
2009-08-24 19:37:08 +03:00
|
|
|
<a href="{router page='talk'}" class="message-empty" id="new_messages"> </a>
|
2009-03-21 20:08:51 +02:00
|
|
|
{/if}
|
2009-08-19 15:01:35 +03:00
|
|
|
{$aLang.user_settings} <a href="{router page='settings'}profile/" class="author">{$aLang.user_settings_profile}</a> | <a href="{router page='settings'}tuning/" class="author">{$aLang.user_settings_tuning}</a>
|
2009-03-21 20:08:51 +02:00
|
|
|
</li>
|
|
|
|
<li>{$aLang.user_rating} <strong>{$oUserCurrent->getRating()}</strong></li>
|
2010-07-07 15:45:41 +03:00
|
|
|
{hook run='userbar_item'}
|
2009-03-21 20:08:51 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<div class="profile guest">
|
2009-08-19 15:01:35 +03:00
|
|
|
<a href="{router page='login'}" onclick="return showLoginForm();">{$aLang.user_login_submit}</a> {$aLang.or}
|
|
|
|
<a href="{router page='registration'}" class="reg">{$aLang.registration_submit}</a>
|
2009-03-21 20:08:51 +02:00
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /Header -->
|