Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c1bdc1c4

Přidáno uživatelem Michal Kliment před více než 9 roky(ů)

Release 1.1.0

Zobrazit rozdíly:

application/views/login/index.php
<body onload="document.getElementById('username').focus();">
<div id="main" style="width: 579px;">
<h1><span>Free<em>net</em>IS</span></h1>
<div id="main" style="width: 390px;">
<h1><span>Free<em>net</em>IS</span><i><?php echo Version::get_version() ?></i></h1>
<div class="flags">
<?php echo special::create_language_flags(array('cs' => 'Česky', 'en' => 'English')) ?>
</div>
<div id="main-padd">
<div id="lock">&nbsp;</div>
<div id="content" style="width: auto;">
<div id="login_div">
<h2 style="margin-bottom: 0.8em"><?php echo __('login to') ?></h2>
<?php echo form::open(url_lang::base().'login', array('class' => 'login_form')) ?>
<table cellspacing="0" cellpadding="0" class="form" style="width: auto;">
<?php if (Settings::get('self_registration')) echo '<p class="registration_link">'.html::anchor('registration', __('Applicant for membership')).'</p>' ?>
<h2 style="margin-bottom: 0.8em"><?php echo __('Login to') ?></h2>
<?php echo form::open(url_lang::base().'login'.(isset($_GET['cookies_failed']) ? '?cookies_failed=true' : ''), array('class' => 'login_form')) ?>
<?php if (!empty($error)): ?><div id="error"><strong><?php echo $error ?></strong></div><?php endif; ?>
<?php if (!empty($success)): ?><div id="success"><strong><?php echo $success ?></strong></div><?php endif; ?>
<table cellspacing="0" cellpadding="0" class="form">
<tr>
<th><?php echo form::label('username', __('Login name').':') ?></th>
<td><?php echo form::input('username',@$_POST['username'],' maxlength="50"') ?></td>
<td><?php echo form::input('username', html::specialchars(@$_POST['username']), ' maxlength="50"') ?></td>
</tr>
<tr>
<th><?php echo form::label('password', __('Password').':') ?></th>
<td><?php echo form::password('password', '', ' maxlength="50"') ?></td>
</tr>
</table>
<?php echo form::submit('submit', __('login'), ' class="submit" style="float: left; margin: 15px 0px 0px 0px;"') ?>
<?php if (Settings::get('self_registration')) echo '<p class="registration">'.html::anchor('registration', __('Applicant for membership')).'</p>' ?>
<?php if (Settings::get('forgotten_password')) echo '<p class="registration">'.html::anchor('forgotten_password', __('Forgotten password')).'</p>' ?>
<?php echo form::submit('submit', __('Login'), ' class="submit" style="float: left; margin: 15px 0px 0px 0px;"') ?>
<?php if (Settings::get('forgotten_password')) echo '<p class="forgotten_password_link">'.html::anchor('forgotten_password', __('Forgotten password')).'?</p>' ?>
<?php echo form::close() ?>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<?php if ($err_message = $error): ?> <div id="error"><strong><?php echo $err_message ?></strong></div><?php endif; ?>
</div>
</body>

Také k dispozici: Unified diff