Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1960

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

Novinky:
- closes #581: U formulare pro pridani pozadavku o pripojeni zobrazovat volitelny text

Upravy:
- nastaveni financi rozdeleni aut. strzeni do sam. skupiny

Zobrazit rozdíly:

freenetis/branches/1.1/application/i18n/cs_CZ/texts.php
'add details to interface' => 'Přidat detaily k rozhraní',
'add details to link' => 'Přidat detaily k lince',
'add fee' => 'Přidat poplatek',
'add form information' => 'Informace k formuláři pro přidání',
'add iface' => 'Přidat rozhraní',
'add items' => 'Přidat položky',
'add link' => 'Přidat linku',
......
'author' => 'Autor',
'author fee' => 'Autorský poplatek',
'autocomplete of gps coords' => 'Automatické doplnění GPS souřadnic',
'automatic actions' => 'Automatické akce',
'automatically deduction is enabled, this operation should be use only if automatical deduction has failed' => 'Automatické strhávání je aktivní, tato operace by měla být použita pouze v případě selhání automatického strhávání.',
'automatically fill in gps coordinates' => 'Automaticky doplnit GPS souřadnice',
'automatically import admins' => 'Automaticky přidat správce oblastí',
freenetis/branches/1.1/application/i18n/cs_CZ/help.php
'bank_accounts_of_association' => 'Sdružení může mít více bankovních účtů, jeden je vždy založen po instalaci, nicméně je časem možné přidávat další. Na příslušném bankovním účtu pak lze provádět import výpisů.',
'connection_request_device_type' => 'Obvykle zařízení, se kterým se snažíte přistoupit na internet (PC, notebook, mobil).',
'connection_request_info' => 'Pro připojení neregistrované přípojky/zařízení vyplňte prosím tento formulář.<br/>Rozhodnutí o vyhovění/zamítnutí Vaší žádosti Vám bude zasláno na Vaši e-mailovou adresu.',
'connection_request_info_form' => 'Informace je zobrazena ve formuláři pro přidání požadavku o připojení',
'connection_request_info_short' => 'Pro připojení neregistrované přípojky/zařízení vyplňte prosím tento formulář.',
'connection_request_user_pre_info' => 'V naší síti není přípojka (zařízení), kterou aktuálně používáte, zaregistrována a tudíž z ní nebude povolen přístup na internet, přejete si %s?',
'connection_request_mac_address' => 'Fyzická adresa zařízení, se kterým se snažíte přistoupit na internet (PC, notebook, mobil).',
freenetis/branches/1.1/application/i18n/en_US/help.php
'bank_accounts_of_association' => 'The Association may have multiple bank accounts, one is always based upon the installation, however, it is possible to add more time. The relevant bank account can then perform the import statements.',
'connection_request_device_type' => 'Typically the device that you are trying to access the internet (PC, laptop, mobile, ...).',
'connection_request_info' => 'To connect unregistered connections/device please fill out this form.<br/>Decision on the pass/rejection of your request will be sent to your e-mail address.',
'connection_request_info_form' => 'Information that is displayed to connection request add form',
'connection_request_info_short' => 'To connect unregistered connections/device please fill out this form.',
'connection_request_user_pre_info' => 'In our network the connection (device) that you are currently using is not registered and therefore it is not allowed to access the internet with it. Would you like to %s?',
'connection_request_mac_address' => 'The physical address of the device that you are trying to access the internet (PC, laptop, mobile, ...).',
freenetis/branches/1.1/application/controllers/settings.php
public function finance()
{
// access control
if (!Settings::get('finance_enabled') || !$this->acl_check_edit('Settings_Controller', 'system'))
if (!Settings::get('finance_enabled') ||
!$this->acl_check_edit('Settings_Controller', 'system'))
Controller::error(ACCESS);
// creating of new forge
......
->rules('length[3,40]|required')
->value(Settings::get('currency'));
$this->form->group('Automatic actions');
$deduct_day = Settings::get('deduct_day');
$this->form->checkbox('deduct_fees_automatically_enabled')
......
->value(Settings::get('dhcp_server_reload_timeout'))
->style('width:50px')
->help('dhcp_server_reload_timeout');
$this->form->group('Connection requests');
$this->form->html_textarea('connection_request_info')
->label('Add form information')
->help(help::hint('connection_request_info_form'))
->rows(5)
->cols(100)
->value(Settings::get('connection_request_info'));
$this->form->submit('Save');
freenetis/branches/1.1/application/controllers/connection_requests.php
// do not inform engeneer
if ($this->acl_check_view('Connection_Requests_Controller', 'request'))
{
$info = url_lang::lang('help.connection_request_info_short');
// default info
if (trim(Settings::get('connection_request_info')) == '')
{
$info = url_lang::lang('help.connection_request_info_short');
}
// set uped info
else
{
$info = Settings::get('connection_request_info');
}
}
// view

Také k dispozici: Unified diff