Projet

Général

Profil

Révision 136a805a

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/ctools.module
23 23
 *   ; Requires CTools v7.x-1.4 or newer.
24 24
 *   dependencies[] = ctools (>=1.4)
25 25
 */
26
define('CTOOLS_MODULE_VERSION', '7.x-1.9');
26
define('CTOOLS_MODULE_VERSION', '7.x-1.10');
27 27

  
28 28
/**
29 29
 * Test the CTools API version.
......
758 758
    $variables['classes_array'] = array_diff($variables['classes_array'], $remove_classes);
759 759
  }
760 760

  
761
  // Update the classes within the attributes array to match the classes array
762
  if (isset($variables['attributes_array']['class'])) {
763
    $variables['attributes_array']['class'] = $variables['classes_array'];
764
    $variables['attributes'] = $variables['attributes_array'] ? drupal_attributes($variables['attributes_array']) : '';
765
  }
766

  
761 767
  // Since this runs after template_process(), we need to re-implode the
762 768
  // classes array.
763 769
  $variables['classes'] = implode(' ', $variables['classes_array']);

Formats disponibles : Unified diff