| 1 |
<?php |
<?php |
| 2 |
// $Id: nice_menus.module,v 1.58 2009/02/06 14:40:37 add1sun Exp $ |
// $Id: nice_menus.module,v 1.59 2009/03/24 16:22:28 add1sun Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 341 |
unset($page_menu); |
unset($page_menu); |
| 342 |
} |
} |
| 343 |
|
|
| 344 |
|
// Allow i18n module to translate strings where available |
| 345 |
|
if(module_exists('i18nmenu')) { |
| 346 |
|
i18nmenu_localize_tree($menu); |
| 347 |
|
} |
| 348 |
|
|
| 349 |
// For custom $menus and menus built all the way from the top-level we |
// For custom $menus and menus built all the way from the top-level we |
| 350 |
// don't need to "create" the specific sub-menu and we need to get the title |
// don't need to "create" the specific sub-menu and we need to get the title |
| 351 |
// from the $menu_name since there is no "parent item" array. |
// from the $menu_name since there is no "parent item" array. |