Indefero

Indefero Commit Details


Date:2008-08-11 14:29:17 (16 years 4 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3, svn
Commit:b2356bd157b9ec12b8a0a5830edc2736f5ac736a
Parents: 32fb0cb12148de47fd61c4181e95dd57b5f6c966
Message:Fixed 17, check the constraints on the login.

Changes:

File differences

src/IDF/Form/Register.php
3636
3737
3838
39
39
4040
4141
42
42
4343
44
44
4545
4646
4747
$this->fields['login'] = new Pluf_Form_Field_Varchar(
array('required' => true,
'label' => __('Your login'),
'max_length' => 8,
'max_length' => 15,
'min_length' => 3,
'initial' => $login,
'help_text' => __('The login must be between 3 and 8 characters long and contains only letters and digits.'),
'help_text' => __('The login must be between 3 and 15 characters long and contains only letters and digits.'),
'widget_attrs' => array(
'maxlength' => 8,
'maxlength' => 15,
'size' => 10,
),
));

Archive Download the corresponding diff file

Page rendered in 0.08601s using 13 queries.