Révision 9525582e
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/themes/bootstrap/templates/system/page.vars.php | ||
---|---|---|
38 | 38 |
$variables['primary_nav'] = FALSE; |
39 | 39 |
if ($variables['main_menu']) { |
40 | 40 |
// Load the tree |
41 |
$tree = menu_tree_all_data(variable_get('menu_main_links_source', 'main-menu'));
|
|
41 |
$tree = menu_tree_page_data(variable_get('menu_main_links_source', 'main-menu'));
|
|
42 | 42 |
|
43 | 43 |
// Localize the tree. |
44 | 44 |
if ($i18n) { |
... | ... | |
56 | 56 |
$variables['secondary_nav'] = FALSE; |
57 | 57 |
if ($variables['secondary_menu']) { |
58 | 58 |
// Load the tree |
59 |
$tree = menu_tree_all_data(variable_get('menu_secondary_links_source', 'user-menu'));
|
|
59 |
$tree = menu_tree_page_data(variable_get('menu_secondary_links_source', 'user-menu'));
|
|
60 | 60 |
|
61 | 61 |
// Localize the tree. |
62 | 62 |
if ($i18n) { |
Formats disponibles : Unified diff
Weekly update of contrib modules