- Patch #112556 by webchick: term/vocab maxlength should match db.
parent
89c8b3feaf
commit
db7dcfd444
|
@ -214,7 +214,7 @@ function taxonomy_form_vocabulary($edit = array()) {
|
||||||
$form['name'] = array('#type' => 'textfield',
|
$form['name'] = array('#type' => 'textfield',
|
||||||
'#title' => t('Vocabulary name'),
|
'#title' => t('Vocabulary name'),
|
||||||
'#default_value' => $edit['name'],
|
'#default_value' => $edit['name'],
|
||||||
'#maxlength' => 64,
|
'#maxlength' => 255,
|
||||||
'#description' => t('The name for this vocabulary. Example: "Topic".'),
|
'#description' => t('The name for this vocabulary. Example: "Topic".'),
|
||||||
'#required' => TRUE,
|
'#required' => TRUE,
|
||||||
);
|
);
|
||||||
|
@ -374,7 +374,7 @@ function taxonomy_form_term($vocabulary, $edit = array()) {
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Term name'),
|
'#title' => t('Term name'),
|
||||||
'#default_value' => $edit['name'],
|
'#default_value' => $edit['name'],
|
||||||
'#maxlength' => 64,
|
'#maxlength' => 255,
|
||||||
'#description' => t('The name of this term.'),
|
'#description' => t('The name of this term.'),
|
||||||
'#required' => TRUE);
|
'#required' => TRUE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue