getPath( 'toolbar_html' ) ); require_once( $mainframe->getPath( 'toolbar_default' ) ); switch ($task) { case "new": menuakobook::NEW_MENU(); break; case "edit": menuakobook::EDIT_MENU(); break; case "config": menuakobook::CONFIG_MENU(); break; case "about": menuakobook::ABOUT_MENU(); break; case "language"; menuakobook::LANG_MENU(); break; default: MENU_Default::MENU_Default(); break; } /* my fatal error is in line 29, which is the static call in "default:". */ ?>