You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
|
|
<div class="block" id="login-forms"> |
|
<fieldset class="login"> |
|
<legend> |
|
{php} |
|
$ava=getAvatar($_SESSION['user_id'],50); |
|
echo ($ava>'' ? '<img src="'.$ava.'">' : ''); |
|
{/php} |
|
{#LOGIN_WELCOME_TEXT#}, {$smarty.session.user_name|escape}!</legend> |
|
<ul> |
|
<li><a href="{$ABS_PATH}index.php?module=login&action=profile">{#LOGIN_CHANGE_DETAILS#}</a></li> |
|
<li><a href="{$ABS_PATH}index.php?module=login&action=delaccount">{#LOGIN_DELETE_LINK#}</a></li> |
|
{if $smarty.session.loginza_auth!=1} |
|
<li><a href="{$ABS_PATH}index.php?module=login&action=passwordchange">{#LOGIN_CHANGE_LINK#}</a></li> |
|
{/if} |
|
{if check_permission("adminpanel")} |
|
<li><a href="{$ABS_PATH}admin/index.php" target="_blank">{#LOGIN_ADMIN_LINK#}</a></li> |
|
{/if} |
|
{if check_permission('documents')} |
|
{if $smarty.session.user_adminmode==1} |
|
<li><a href="{$ABS_PATH}index.php?module=login&action=wys&sub=off">{#LOGIN_WYSIWYG_OFF#}</a></li> |
|
{else} |
|
<li><a href="{$ABS_PATH}index.php?module=login&action=wys&sub=on">{#LOGIN_WYSIWYG_ON#}</a></li> |
|
{/if} |
|
{/if} |
|
<li><a href="{$ABS_PATH}index.php?module=login&action=logout">{#LOGIN_LOGOUT_LINK#}</a> </li> |
|
</ul> |
|
</fieldset> |
|
</div>
|
|
|