Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1841

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

Upravy:
- informace na prihlasovaci strance k pridani pozadavku pred prihlasenim

Zobrazit rozdíly:

freenetis/branches/1.1/application/i18n/cs_CZ/texts.php
'fixed line number' => 'Číslo v pevné lince',
'for smtp settings only' => 'Pouze pro nastavení SMTP.',
'for successful installation, you have to change some file/directory permissions' => 'Pro úspěšnou instalaci musíte změnit některá práva souborů/složek.',
'for the connection request creation you must login to your account' => 'Pro vytvoření požadavku k připojení se musíte přihlásit do vašeho účtu.',
'for this month and year is not set default fee' => 'Pro tento měsíc a rok není nastaven výchozí poplatek.',
'foreign download' => 'Zahraniční download',
'foreign upload' => 'Zahraniční upload',
freenetis/branches/1.1/application/controllers/login.php
url::redirect('users/show/'.$_SESSION['user_id']);
}
}
// view
$login = new View('login/index');
$login->title = __('Login to');
$login->error = (!$error) ? $this->session->get_once('err_message') : $error;
$login->render(TRUE);
// connnection request
if (mb_strpos($this->session->get('referer'), 'connection_request/add') !== FALSE &&
!$error)
{
$login->error = __('For the connection request creation you must login to your account.');
}
$login->render(TRUE);
}
/**
freenetis/branches/1.1/application/libraries/MY_Controller.php
$this->session->set_flash('err_message', __('Must be logged in'));
// Do not logout after login
if (url_lang::current() != 'login/logout' &&
if (url_lang::current(1) != 'login' &&
url_lang::current(1) != 'js')
{
$this->session->set('referer', url_lang::current());
freenetis/branches/1.1/application/views/login/index.php
</div>
<div class="clear"></div>
</div>
<?php if ($err_message = $error): ?> <div id="error"><strong><?php echo $err_message ?></strong></div><?php endif; ?>
<?php if (!empty($error)): ?><div id="error"><strong><?php echo $error ?></strong></div><?php endif; ?>
</div>
</body>

Také k dispozici: Unified diff