Revize 1438209a
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/controllers/settings.php | ||
---|---|---|
$this->form->input('members_age_min_limit')
|
||
->label('Minimum age of main user')
|
||
->rules('valid_digit')
|
||
->class('increase_decrease_buttons')
|
||
->style('width:30px')
|
||
->value(Settings::get('members_age_min_limit'));
|
||
|
||
$this->form->group('Security');
|
||
... | ... | |
$this->form->input('membership_interrupt_minimum')
|
||
->label('Minimum membership interrupt period (months)')
|
||
->rules('valid_digit')
|
||
->class('increase_decrease_buttons')
|
||
->style('width:35px')
|
||
->value(Settings::get('membership_interrupt_minimum'));
|
||
|
||
$this->form->input('membership_interrupt_maximum')
|
||
->label('Maximum membership interrupt period (months)')
|
||
->rules('valid_digit')
|
||
->class('increase_decrease_buttons')
|
||
->style('width:35px')
|
||
->value(Settings::get('membership_interrupt_maximum'));
|
||
}
|
||
|
Také k dispozici: Unified diff
refs #957: Application of increase_decrease_buttons for settings fields in users tab