Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/themes/bootstrap/templates/bootstrap/bootstrap-carousel.vars.php | ||
---|---|---|
66 | 66 |
); |
67 | 67 |
|
68 | 68 |
if (!empty($variables['items'][$delta]['title'])) { |
69 |
$variables['items'][$delta]['title'] = _bootstrap_filter_xss(render($item['title']));
|
|
69 |
$variables['items'][$delta]['title'] = is_scalar($item['title']) ? filter_xss_admin($item['title']) : render($item['title']);
|
|
70 | 70 |
} |
71 | 71 |
|
72 | 72 |
if (!empty($variables['items'][$delta]['description'])) { |
73 |
$variables['items'][$delta]['description'] = _bootstrap_filter_xss(render($item['description']));
|
|
73 |
$variables['items'][$delta]['description'] = is_scalar($item['description']) ? filter_xss_admin($item['description']) : render($item['description']);
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules