Révision f76f30e1
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/ds/modules/ds_extras/ds_extras.module | ||
---|---|---|
1027 | 1027 |
$variables['theme_hook_suggestions'][] = $suggestion . '__' . $field_name . '__' . $variables['element']['#bundle']; |
1028 | 1028 |
} |
1029 | 1029 |
} |
1030 |
|
|
1031 |
// Sanitize the output of field templates |
|
1032 |
$fields = array( |
|
1033 |
'prefix', |
|
1034 |
'suffix', |
|
1035 |
); |
|
1036 |
|
|
1037 |
foreach ($fields as $field) { |
|
1038 |
if (isset($variables['ds-config'][$field])) { |
|
1039 |
$variables['ds-config'][$field] = filter_xss($variables['ds-config'][$field]); |
|
1040 |
} |
|
1041 |
} |
|
1030 | 1042 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules