= 0) { $sTemplates = MODULESROOT.'itop-oauth-client/templates'; } else { $sTemplates = MODULESROOT.'itop-oauth-client/templates/legacy'; } $oUpdateController = new AjaxOauthClientController($sTemplates, 'itop-oauth-client'); $oUpdateController->SetMenuId('OAuthClient'); $oUpdateController->HandleOperation();