Révision 0ef18d70
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/ds/ds.module | ||
---|---|---|
695 | 695 |
$vars[$region_name . '_classes'] = !empty($layout['settings']['classes'][$region_name]) ? ' ' . implode(' ', $layout['settings']['classes'][$region_name]) : ''; |
696 | 696 |
|
697 | 697 |
// Token support for region classes. |
698 |
if (module_exists('token') && isset($var[$object])) { |
|
698 |
if (module_exists('token') && isset($vars[$object])) {
|
|
699 | 699 |
$vars[$region_name . '_classes'] = token_replace($vars[$region_name . '_classes'], array($object => $vars[$object]), array('clear' => TRUE, 'sanitize' => TRUE)); |
700 | 700 |
} |
701 | 701 |
} |
... | ... | |
732 | 732 |
} |
733 | 733 |
|
734 | 734 |
// Token support for layout classes. |
735 |
if (module_exists('token') && isset($var[$object])) { |
|
735 |
if (module_exists('token') && isset($vars[$object])) {
|
|
736 | 736 |
foreach ($vars['classes_array'] as &$class) { |
737 | 737 |
$class = token_replace($class, array($object => $vars[$object]), array('clear' => TRUE, 'sanitize' => TRUE)); |
738 | 738 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules