FALSE)); foreach ($files as $file) { module_load_include('inc', 'beautytips', 'includes/'.$file->name); $list[$file->filename] = $file->name; } return $list; } /** * Implementation of hook_form_alter. * Adds beautytips for textareas and textfields */ function beautytips_ui_form_alter(&$form, $form_state, $form_id) { beautytips_ui_include_invoke('beautytips', 'form_change', array( 'form' => &$form, 'form_state' => $form_state, 'form_id' => $form_id, ) ); } /** * Implementation of hook_menu_alter(). */ function beautytips_ui_menu_alter(&$items) { beautytips_ui_include_invoke('beautytips', 'menu_change', array('items' => &$items)); } /** * Implementation of hook_theme_registry_alter(). */ function beautytips_ui_theme_registry_alter(&$theme_registry) { beautytips_ui_include_invoke('beautytips', 'theme_change', array('theme_registry' => &$theme_registry)); }