Révision 7fe061e8
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/sites/all/modules/ds/modules/ds_ui/includes/ds.classes.inc | ||
---|---|---|
32 | 32 |
); |
33 | 33 |
} |
34 | 34 |
|
35 |
$form['ds_classes_fields'] = array( |
|
36 |
'#type' => 'textarea', |
|
37 |
'#title' => t('CSS classes for fields'), |
|
38 |
'#default_value' => variable_get('ds_classes_fields', ''), |
|
39 |
'#description' => t('Configure CSS classes which you can add to fields on the "manage display" screens. Add multiple CSS classes line by line.<br />If you want to have a friendly name, separate class and friendly name by |, but this is not required. eg:<br /><em>class_name_1<br />class_name_2|Friendly name<br />class_name_3</em>') |
|
40 |
); |
|
35 |
// Only show field classes if DS extras module is enabled |
|
36 |
if (module_exists('ds_extras')) { |
|
37 |
$form['ds_classes_fields'] = array( |
|
38 |
'#type' => 'textarea', |
|
39 |
'#title' => t('CSS classes for fields'), |
|
40 |
'#default_value' => variable_get('ds_classes_fields', ''), |
|
41 |
'#description' => t('Configure CSS classes which you can add to fields on the "manage display" screens. Add multiple CSS classes line by line.<br />If you want to have a friendly name, separate class and friendly name by |, but this is not required. eg:<br /><em>class_name_1<br />class_name_2|Friendly name<br />class_name_3</em>') |
|
42 |
); |
|
43 |
} |
|
41 | 44 |
|
42 | 45 |
return system_settings_form($form); |
43 | 46 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules