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/item-list.func.php
1 1
<?php
2

  
2 3
/**
3 4
 * @file
4 5
 * Stub file for bootstrap_item_list().
......
33 34
 *
34 35
 * @ingroup theme_functions
35 36
 */
36
function bootstrap_item_list($variables) {
37
function bootstrap_item_list(array $variables) {
37 38
  $items = $variables['items'];
38 39
  $title = $variables['title'];
39 40
  $type = $variables['type'];
......
94 95
              unset($item['children'][$child_key]);
95 96
            }
96 97
          }
97
          $value .= theme('item_list', array(
98
            'items' => $item['children'],
99
            'type' => $type,
100
            'attributes' => $child_list_attributes,
101
          ));
98
          $build = array(
99
            '#theme' => 'item_list',
100
            '#items' => $item['children'],
101
            '#type' => $type,
102
            '#attributes' => $child_list_attributes,
103
          );
104
          $value .= drupal_render($build);
102 105
        }
103 106
      }
104 107
      else {

Formats disponibles : Unified diff