aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2009-10-19 21:01:42 -0200
committerSilvio <s1lv10@uol.com.br>2009-10-19 21:01:42 -0200
commit3bc2c138a924ce96aa38beb2f4c16176f5120cc8 (patch)
tree57edb2d7da59060f1e70b95392128c8c6cfac278
parent1052b9e7036a93f75cfec4e912ee600e29852c6d (diff)
downloadfinder_menu-3bc2c138a924ce96aa38beb2f4c16176f5120cc8.tar.gz
finder_menu-3bc2c138a924ce96aa38beb2f4c16176f5120cc8.tar.bz2
Minor changes
-rw-r--r--finder_menu.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/finder_menu.module b/finder_menu.module
index 2b8e295..4a05f17 100644
--- a/finder_menu.module
+++ b/finder_menu.module
@@ -129,7 +129,7 @@ function theme_finder_menu($menu_name, $mlid) {
// Build the menus
$output = '<div id="finderparent">';
- $output .= finder_menu_list($menu, 'finder', 'hidden');
+ $output .= finder_menu_build($menu, 'finder', 'hidden');
$output .= '</div>';
return $output;
@@ -159,11 +159,11 @@ function theme_finder_menu_css() {
* @ingroup themeable
* @TODO: usage with hook_theme();
*/
-function finder_menu_list($menu, $id, $class, &$level = NULL) {
+function finder_menu_build($menu, $id, $class, &$level = NULL) {
if ($level == NULL) {
$output = '<ul id="' . $id .'" class="'. $class .'">';
- $output .= implode((array) module_invoke_all('finder_menu_list'));
+ $output .= implode((array) module_invoke_all('finder_menu_build'));
$level = 0;
}
else {
@@ -176,7 +176,7 @@ function finder_menu_list($menu, $id, $class, &$level = NULL) {
if ($menu_item['below'] !== FALSE && finder_menu_has_unhidden_submenu($menu_item['below'])) {
$level++;
$output .= $menu_item['link']['title'];
- $output .= finder_menu_list($menu_item['below'], $id, $class, $level);
+ $output .= finder_menu_build($menu_item['below'], $id, $class, $level);
}
else {
$output .= theme('menu_item_link', $menu_item['link']);