aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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']);