diff -r bbdd428926b9 -r 6edb31919f0e YubikeyManagement.php --- a/YubikeyManagement.php Sat Aug 01 01:05:45 2009 -0400 +++ b/YubikeyManagement.php Sat Aug 01 01:42:21 2009 -0400 @@ -33,6 +33,7 @@ require(ENANO_ROOT . '/plugins/yms/backend.php'); require(ENANO_ROOT . '/plugins/yms/validate.php'); require(ENANO_ROOT . '/plugins/yms/validate-functions.php'); +require(ENANO_ROOT . '/plugins/yms/admincp.php'); /**!language** @@ -162,7 +163,31 @@ btn_delete_key: 'Delete key', btn_show_aes: 'Show AES secret', btn_show_converter: 'Binary encoding converter', - btn_show_client_info: 'View client info' + btn_show_client_info: 'View client info', + + // ADMIN + acp_title: 'Yubikey Management Server', + acp_heading_main: 'YMS configuration', + acp_th_main: 'Yubikey Management Server options', + acp_field_require_reauth_title: 'Require re-authentication to access YMS interface:', + acp_field_require_reauth_hint: 'This can be redundant and unnecessary if the sole purpose of your Enano installation is for YMS purposes.', + acp_field_require_reauth: 'YMS pages require re-authentication', + acp_field_claimauth_enable_title: 'Use external authentication when claiming Yubikeys:', + acp_field_claimauth_enable_hint: 'This allows you to require an additional value - for example, the receipt number from the user\'s Yubikey order - when Yubikeys are claimed.', + acp_field_claimauth_enable: 'Require additional field to claim a Yubikey', + acp_field_claimauth_url_title: 'URL to claim authentication server:', + acp_field_claimauth_url_hint: 'The following variables will be applied: + + This authentication uses the same protocol as other Yubikey authentication servers. See the YMS plugin page on enanocms.org for information on how to write an authentication server.
+ Example URL: http://10.4.27.3/wsapi/validateclaim?id=1&tid=%c&otp=%o&h=%h', + acp_field_claimauth_key_title: 'API key for authentication server:', + acp_field_claimauth_key_hint: 'If provided, YMS will sign the requests it makes to your authentication server. Leave blank to disable signature support.', + + acp_msg_saved: 'Your changes to the YMS configuration have been saved.', } } }