Révision 5a7e6170
Ajouté par Florent Torregrosa il y a environ 10 ans
drupal7/sites/all/modules/panels/panels_mini/plugins/export_ui/panels_mini_ui.class.php | ||
---|---|---|
118 | 118 |
// Get the basic edit form |
119 | 119 |
parent::edit_form($form, $form_state); |
120 | 120 |
|
121 |
// Set the admin title machine name length. |
|
122 |
// We need to do this because the system block name length is |
|
123 |
// limited to 32 chars. |
|
124 |
$form['info']['name']['#maxlength'] = 32; |
|
125 |
$form['info']['name']['#size'] = 34; |
|
126 |
$form['info']['name']['#description'] .= ' ' . t('The machine name length is limited to 32 characters, due to a limitation in the core block system.'); |
|
127 |
|
|
121 | 128 |
$form['category'] = array( |
122 | 129 |
'#type' => 'textfield', |
123 | 130 |
'#size' => 24, |
Formats disponibles : Unified diff
Update :