Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2342

Přidáno uživatelem David Raška před více než 10 roky(ů)

Upravy:
- refs #887: Oddeleni textu na exportu prihlasky a exportu prihlasky

Zobrazit rozdíly:

freenetis/branches/1.2/application/controllers/settings.php
->label('Enable additional member fee during the approval of membership')
->checked(Settings::get('self_registration_enable_additional_payment'));
}
$this->form->group('Registration form');
$this->form->html_textarea('registration_form_info')
->label('Info')
->rows(5)
->cols(100)
->value(Settings::get('registration_form_info'));
}
$this->form->group('Export of registration');
freenetis/branches/1.2/application/views/registration/index.php
<div id="content">
<h2><?php echo $title ?></h2>
<?php echo isset($message) ? '<div class="message">' . $message . '</div>' : '' ?>
<?php echo Settings::get('registration_license') ?>
<?php echo Settings::get('registration_form_info') ?>
<?php echo $form ?>
<p><?php echo html::anchor(url_lang::base() . 'login', '&laquo; ' . __('back to login')) ?></p>
</div>
freenetis/branches/1.2/db_upgrades/upgrade_1.2.0~alpha3.php
<?php defined('SYSPATH') or die('No direct script access.');
/*
* This file is part of open source system FreenetIS
* and it is released under GPLv3 licence.
*
* More info about licence can be found:
* http://www.gnu.org/licenses/gpl-3.0.html
*
* More info about project can be found:
* http://www.freenetis.org/
*
*/
/**
* Copies registration license text to registration form info
*
* @author David Raška <jeffraska@gmail.com>
*/
$upgrade_sql['1.2.0~alpha3'] = array
(
"INSERT INTO `config` (name, value)
SELECT 'registration_form_info', value
FROM `config`
WHERE name LIKE 'registration_license';",
); // end of $upgrade_sql['1.2.0~alpha3']
freenetis/branches/1.2/version.php
* The current version of FreenetIS.
* This value must be changed by developers in a new release of FreenetIS.
*/
define('FREENETIS_VERSION', '1.2.0~alpha2');
define('FREENETIS_VERSION', '1.2.0~alpha3');

Také k dispozici: Unified diff