APIs are disabled. To enable, please turn on OPT_USE_API in Options->System'; return; } ?>

'.translate('AllTokensRevoked').''; } function updateSelected() { # Turn them all off, then selectively turn the checked ones back on dbQuery('UPDATE `Users` SET `APIEnabled`=0'); if (isset($_REQUEST['tokenUids'])) { $minTime = time(); foreach ($_REQUEST['tokenUids'] as $markUid) { dbQuery('UPDATE `Users` SET `TokenMinExpiry`=? WHERE `Id`=?', array($minTime, $markUid)); } } if (isset($_REQUEST['apiUids'])) { foreach ($_REQUEST['apiUids'] as $markUid) { dbQuery('UPDATE `Users` SET `APIEnabled`=1 WHERE `Id`=?', array($markUid)); } } echo ''.translate('Updated').''; } if (array_key_exists('revokeAllTokens', $_POST)) { revokeAllTokens(); } if (array_key_exists('updateSelected', $_POST)) { updateSelected(); } ?>

'Username']) as $u) { ?>
Username()) ?> APIEnabled()?'checked':''?> />