% $screenTitle="Add User"; if ($record) { &main::checkPermissions("_global","EDIT_USERS"); $screenTitle="Edit User"; if (defined $record->{'id'}) { $_edit = 1; } } else { &main::checkPermissions("_global","ADD_USER"); $record = {}; $_edit = 0; } $db = new DBFile($main::users_db); %>