isGuest()) { UI::exitError(getMLText("my_account"),getMLText("access_denied")); } if (!$settings->_enableUsersView) { UI::exitError(getMLText("my_account"),getMLText("access_denied")); } $allUsers = $dms->getAllUsers(); if (is_bool($allUsers)) { UI::exitError(getMLText("my_account"),getMLText("internal_error")); } $allGroups = $dms->getAllGroups(); if (is_bool($allGroups)) { UI::exitError(getMLText("admin_tools"),getMLText("internal_error")); } $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); $view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'allusers'=>$allUsers, 'allgroups'=>$allGroups)); if($view) { $view->show(); exit; } ?>