This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/account/login_htaccess.tpl

41 lines
1.0 KiB
Smarty
Raw Normal View History

{if $SESS_LOGGED != "1"} {translate}login_required{/translate}<br>
<br>
{ $block->display("account:login_small")}
{else}
<br>
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr valign="top">
<td width="65%" class="row1">
{ $method->exe("htaccess","check_smarty") }
{if $htaccess_auth == "1" }
{translate module=htaccess}
success_login
{/translate}
<a href="{$htaccess_url}"><br>
<br>
{$htaccess_url}
</a>
<script language="JavaScript">
var module= "";
var delay = 5;
var url = '{$htaccess_url}';
refresh(delay,url);
</script>
<br>
{else}
{translate module=htaccess}
failed_login
{/translate}
{/if}
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
{/if}