# HG changeset patch # User Dan # Date 1200720761 18000 # Node ID 9f8fca26ddb991c16b2b8ea37e230c712531c21f # Parent d15e4411ef652092f92ea26bb1d671222923ccaf Localized Admin:COPPA diff -r d15e4411ef65 -r 9f8fca26ddb9 language/english/admin.json --- a/language/english/admin.json Fri Jan 18 22:27:29 2008 -0500 +++ b/language/english/admin.json Sat Jan 19 00:32:41 2008 -0500 @@ -18,7 +18,7 @@ var enano_lang = { categories: [ 'adm', 'acl', 'adminusers', - 'acphome', 'acpgc', 'acpup', 'acpft', 'acppl', 'acppm', 'acped', 'acpdb', 'acppg', 'acpum', 'acpug', + 'acphome', 'acpgc', 'acpup', 'acpft', 'acppl', 'acppm', 'acped', 'acpdb', 'acppg', 'acpum', 'acpug', 'acpcp', ], strings: { meta: { @@ -35,6 +35,7 @@ acppg: 'ACP: Page groups', acpum: 'ACP: User management', acpug: 'ACP: User group management', + acpcp: 'ACP: COPPA support', }, adm: { cat_general: 'General', @@ -670,6 +671,18 @@ msg_name_update_success: 'The group name has been updated.', msg_user_added: 'The user "%username%" has been added to this usergroup.', err_username_not_exist: 'The user "%username%" could not be added.
This username does not exist.', + }, + acpcp: { + heading_main: 'Background information', + intro: 'The United States Childrens\' Online Privacy Protection Act (COPPA) was a law passed in 2001 that requires sites oriented towards children under 13 years old or with a significant amount of under-13 children clearly state what information is being collected in a privacy policy and obtain authorization from a parent or legal guardian before allowing children to use the site. Enano provides an easy way to allow you, as the website administrator, to obtain this authorization.', + msg_save_success: 'Your changes have been saved.', + th_form: 'COPPA support', + field_enable_title: 'Enable COPPA support:', + field_enable: 'COPPA enabled', + field_enable_hint: 'If this is checked, users will be asked if they are under 13 years of age before registering', + field_address: 'Your mailing address:', + field_address_hint: 'This is the address to which parents will send authorization forms.', + } } }; diff -r d15e4411ef65 -r 9f8fca26ddb9 plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Fri Jan 18 22:27:29 2008 -0500 +++ b/plugins/SpecialAdmin.php Sat Jan 19 00:32:41 2008 -0500 @@ -1668,12 +1668,9 @@ return; } - echo '

Background information

'; + echo '

' . $lang->get('acpcp_heading_main') . '

'; echo '

- The United States Childrens\' Online Privacy Protection Act (COPPA) was a law passed in 2001 that requires sites oriented towards - children under 13 years old or with a significant amount of under-13 children clearly state what information is being collected - in a privacy policy and obtain authorization from a parent or legal guardian before allowing children to use the site. Enano - provides an easy way to allow you, as the website administrator, to obtain this authorization. + ' . $lang->get('acpcp_intro') . '

'; // Start form @@ -1687,7 +1684,7 @@ $address = $_POST['coppa_address']; // RenderMan::preprocess_text($_POST['coppa_address'], true, false); setConfig('coppa_address', $address); - echo '
Your changes have been saved.
'; + echo '
' . $lang->get('acpcp_msg_save_success') . '
'; } echo '
'; @@ -1696,24 +1693,24 @@ echo ''; echo ''; echo ''; echo '';
- COPPA support + ' . $lang->get('acpcp_th_form') . '
- Enable COPPA support: + ' . $lang->get('acpcp_field_enable_title') . ' -
- If this is checked, users will be asked if they are under 13 years of age before registering +
+ ' . $lang->get('acpcp_field_enable_hint') . '
- Your mailing address:
- This is the address to which parents will send authorization forms. + ' . $lang->get('acpcp_field_address') . '
+ ' . $lang->get('acpcp_field_address_hint') . '
@@ -1722,7 +1719,7 @@ echo '
- +