switch ($task) { case "add": case "edit": case "apply": menuChronoContact::edit_menu(); break; case "form_wizard": menuChronoContact::form_wizard_menu(); break; case "create_table": menuChronoContact::create_table_menu(); break; case "list_data": menuChronoContact::list_data_menu(); break; case "show_data": menuChronoContact::show_data_menu(); break; case "validatelicense": menuChronoContact::validatelicense_menu(); break; case "restore_forms": menuChronoContact::cancel_menu(); break; case "admin_form": menuChronoContact::admin_form_menu(); break; default: menuChronoContact::index_menu(); break; }
break; case 'config': MENUChronoContact::CONFIG_MENU(); break; case 'menu_creator': case 'menu_save': MENUChronoContact::CREATE_MENU(); break; case 'menu_remover': case 'menu_delete': MENUChronoContact::DELETE_MENU(); break; case 'wizard_elements': case 'deleteelement': case 'cancelelement': case 'saveelement': MENUChronoContact::MENU_WizardElements(); break; case 'newelement': case 'editelement': case 'applyelement': MENUChronoContact::MENU_EditElements(); break; default: if (strpos("x" . $task, "plugin_")) { menuChronoContact::MENU_Plugins_2(); } else { menuChronoContact::MENU_Default(); } break; }