setPageTitle(WT_I18N::translate('Batch update')) ->requireAdminLogin() ->pageHeader(); // TODO: these files should be methods in this class require WT_ROOT.WT_MODULES_DIR.$this->getName().'/'.$mod_action.'.php'; $mod=new batch_update; echo $mod->main(); break; default: header('HTTP/1.0 404 Not Found'); } } // Implement WT_Module_Config public function getConfigLink() { return 'module.php?mod='.$this->getName().'&mod_action=admin_batch_update'; } }