Projet

Général

Profil

Révision eefc2ac0

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/bootstrap/templates/system/tablesort-indicator.func.php
1 1
<?php
2

  
2 3
/**
3 4
 * @file
4 5
 * Stub file for bootstrap_tablesort_indicator().
......
7 8
/**
8 9
 * Returns HTML for a tablesort indicator.
9 10
 *
10
 * @param $variables
11
 * @param array $variables
11 12
 *   An associative array containing:
12 13
 *   - style: Set to either 'asc' or 'desc', this determines which icon to
13 14
 *     show.
......
19 20
 *
20 21
 * @ingroup theme_functions
21 22
 */
22
function bootstrap_tablesort_indicator($variables) {
23
function bootstrap_tablesort_indicator(array $variables) {
23 24
  if ($variables['style'] === 'asc') {
24 25
    return _bootstrap_icon('chevron-down', t('(asc)'), array(
25 26
      'class' => array('icon-after'),

Formats disponibles : Unified diff