Révision 4eeb3b46
Ajouté par Assos Assos il y a presque 8 ans
drupal7/sites/all/themes/bootstrap/includes/alter.inc | ||
---|---|---|
68 | 68 |
} |
69 | 69 |
} |
70 | 70 |
if (!empty($excludes)) { |
71 |
$excludes = array_merge($excludes, str_replace('.css', '-rtl.css', $excludes)); |
|
71 | 72 |
$css = array_diff_key($css, drupal_map_assoc($excludes)); |
72 | 73 |
} |
73 | 74 |
} |
... | ... | |
91 | 92 |
foreach (array_keys($info) as $type) { |
92 | 93 |
$element = array(); |
93 | 94 |
|
94 |
// Ensure elements that have a base type with the #input set match. |
|
95 |
if (isset($info[$type]['#base_type']) && isset($info[$type][$info[$type]['#base_type']]['#input'])) { |
|
96 |
$element['#input'] = $info[$info[$type]['#base_type']]['#input']; |
|
97 |
} |
|
98 |
|
|
99 | 95 |
// Replace fieldset theme implementations with bootstrap_panel. |
100 | 96 |
if (!empty($info[$type]['#theme']) && $info[$type]['#theme'] === 'fieldset') { |
101 | 97 |
$element['#bootstrap_replace']['#theme'] = 'bootstrap_panel'; |
Formats disponibles : Unified diff
Weekly update of contrib modules