Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1357

Přidáno uživatelem Ondřej Fibich před více než 12 roky(ů)

Implementace #107.

Zobrazit rozdíly:

freenetis/branches/testing/media/css/installation.css
p.registration {
float: right;
margin-top: 15px;
margin-right: 15px;
margin-top: 25px;
margin-right: 5px;
font-size: 95%;
}
div#error {
freenetis/branches/testing/application/i18n/cs_CZ/texts.php
'answer to this message' => 'Odpovědet na tuto zprávu',
'any' => 'Jakékoliv',
'applicant' => 'Čekatel na členství',
'applicant for membership' => 'Zájemce o členství',
'application password' => 'Aplikační heslo',
'apply' => 'Použít',
'approval' => 'Hlasování',
freenetis/branches/testing/application/views/login/index.php
<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;">
<tr>
<th><?php echo form::label('username', __('Login name').':') ?></th>
<td><?php echo form::input('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 self-registration is allow, prints anchor
echo ($this->settings->get('self_registration')) ? '<p class="registration">'.$registration.'</p>' : ''
?>
<?php
// if self-registration is allow, prints anchor
echo ($this->settings->get('forgotten_password')) ? '<p class="registration">'.$forgotten_password.'</p>' : ''
?>
<?php echo form::close() ?>
<table cellspacing="0" cellpadding="0" class="form" style="width: auto;">
<tr>
<th><?php echo form::label('username', __('Login name').':') ?></th>
<td><?php echo form::input('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::close() ?>
</div>
<div class="clear"></div>
</div>

Také k dispozici: Unified diff