'; $checked = ' checked="checked"'; $records=get_records('openid_servers'); foreach ($records as $record) { printf( $str, format_string($record->server), $record->id, (($record->listtype==OPENID_GREYLIST)?$checked:''), $record->id, (($record->listtype==OPENID_BLACKLIST)?$checked:''), $record->id, (($record->listtype==OPENID_WHITELIST)?$checked:'') ); } ?>
Server Confirm Deny Allow
%s