Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1953

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

freenetis_1.1.0~alpha33

Opravy:
- chyba v import controlleru (2 construktory)

Upravy:
- vzhled chybove hlasky v prihlasovacim okne

Zobrazit rozdíly:

freenetis/branches/1.1/media/css/installation.css
color: red;
}
div#login_div {
float: right;
div#login_div input[type="text"], div#login_div input[type="password"] {
width: 170px;
}
div#login_div table {
width: 100%;
}
p.registration_link {
float: right;
margin-top: 5px;
......
}
div#error {
background: url(../images/icons/status/warning.png) left top no-repeat;
background: url(../images/icons/status/error.png) 8px 6px no-repeat;
padding:5px 5px 5px 40px;
margin:5px 0 5px 0;
margin:0;
min-height: 25px;
background-color: #fec2b9;
border-color: #CC0000;
color: #CC0000;
}
div#error strong {
freenetis/branches/1.1/application/controllers/messages.php
$message_id,
$user_id,
$redirection,
$form_data['email'],
@$form_data['email'],
@$form_data['sms']
);
freenetis/branches/1.1/application/controllers/import.php
*/
class Import_Controller extends Controller
{
/**
* Constructor, only test if finance is enabled
*/
public function __construct()
{
parent::__construct();
if (!Settings::get('finance_enabled'))
Controller::error (ACCESS);
}
// static constants of supported bank listing types
const HTML_RAIFFEISENBANK = 1;
......
private static $types = array();
/**
* Contruct - check if upload dir is writable
* Contruct - check if finance is enabled and upload dir is writable
*/
public function __construct()
{
parent::__construct();
if (!Settings::get('finance_enabled'))
Controller::error (ACCESS);
// supported bank listings
self::$types = array();
freenetis/branches/1.1/application/views/login/index.php
<?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', array('class' => 'login_form')) ?>
<table cellspacing="0" cellpadding="0" class="form" style="width: auto;">
<?php if (!empty($error)): ?><div id="error"><strong><?php echo $error ?></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>
......
</div>
<div class="clear"></div>
</div>
<?php if (!empty($error)): ?><div id="error"><strong><?php echo $error ?></strong></div><?php endif; ?>
</div>
</body>
freenetis/branches/1.1/version.php
* The current version of FreenetIS.
* This value must be changed by developers in a new release of FreenetIS.
*/
define('FREENETIS_VERSION', '1.1.0~alpha32');
define('FREENETIS_VERSION', '1.1.0~alpha33');

Také k dispozici: Unified diff