', $txt[97], ' - ', $txt[517], '
'; if ($context['visual_verification']) { echo ' '; } // If flags is set for registration show it. if (!empty($modSettings['country_flag_ask']) && $modSettings['country_flag_ask'] == 2 || $modSettings['country_flag_ask'] == 3) { // Call the function that has all the flag info $flags = CountryFlag(); echo ' '; } // Are there age restrictions in place? if (!empty($modSettings['coppaAge'])) echo ' '; global $sourcedir; require_once($sourcedir . '/CustomProfile.php'); RegistrationFields(); echo '
', $txt[98], ':
', $txt[520], '
', $txt[69], ':
', $txt[679], '
'; // Are they allowed to hide their email? if ($context['allow_hide_email']) echo ' '; echo '
', $txt[81], ':
', $txt[82], ':





', $txt['visual_verification_label'], ':
', $txt['visual_verification_description'], '
',sprintf($txt['verificationReadChars'], (!empty($modSettings['verificationCodeChars']) ? $modSettings['verificationCodeChars'] : 5)),'
', $txt['visual_verification_description'], '

', $txt['country_flag_label'], ':
'; // Require them to agree here? if ($context['require_agreement']) echo '
', $context['agreement'], '
'; echo '
'; // Uncheck the agreement thing.... if ($context['require_agreement']) echo ' '; } // After registration... all done ;). function template_after() { global $context, $settings, $options, $txt, $scripturl; // Not much to see here, just a quick... "you're now registered!" or what have you. echo '
', $context['page_title'], '
', $context['description'], '


'; } // Template for giving instructions about COPPA activation. function template_coppa() { global $context, $settings, $options, $txt, $scripturl; // Formulate a nice complicated message! echo '
'; // Can they send by post? if (!empty($context['coppa']['post'])) { echo ' '; } // Can they send by fax?? if (!empty($context['coppa']['fax'])) { echo ' '; } // Offer an alternative Phone Number? if ($context['coppa']['phone']) { echo ' '; } echo '
', $context['page_title'], '
', $context['coppa']['body'], '
', $txt['coppa_form_link_popup'], '   |   ', $txt['coppa_form_link_download'], '

', $context['coppa']['many_options'] ? $txt['coppa_send_to_two_options'] : $txt['coppa_send_to_one_option'], '
1) ', $txt['coppa_send_by_post'], '
', $context['coppa']['post'], '
', !empty($context['coppa']['post']) ? '2' : '1', ') ', $txt['coppa_send_by_fax'], '
', $context['coppa']['fax'], '
', $context['coppa']['phone'], '

'; } // An easily printable form for giving permission to access the forum for a minor. function template_coppa_form() { global $context, $settings, $options, $txt, $scripturl; // Show the form (As best we can) echo '
', $context['forum_contacts'], '
', $txt['coppa_form_address'], ': ', $context['ul'], '
', $context['ul'], '
', $context['ul'], '
', $context['ul'], '
', $txt['coppa_form_date'], ': ', $context['ul'], '

', $context['coppa_body'], '

'; } // Show a window containing the spoken verification code. function template_verification_sound() { global $context, $settings, $options, $txt, $scripturl; echo ' ', $context['page_title'], '
'; if ($context['browser']['is_ie']) echo ' '; else echo ' ', $context['verificiation_sound_href'], ';format=.wav '; echo '
', $txt['visual_verification_sound_again'], '
', $txt['visual_verification_sound_close'], '
', $txt['visual_verification_sound_direct'], '
'; } function template_admin_register() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
'; if (!empty($context['registration_done'])) echo ' '; echo '
', $txt['admin_browse_register_new'], '

', $context['registration_done'], '

', $txt['admin_register_username_desc'], '
', $txt['admin_register_email_desc'], '
', $txt['admin_register_password_desc'], '

', $txt['admin_register_group_desc'], '

', $txt['admin_register_email_detail_desc'], '


'; } // Form for editing the agreement shown for people registering to the forum. function template_edit_agreement() { global $context, $settings, $options, $scripturl, $txt; // Just a big box to edit the text file ;). echo '
'; // Warning for if the file isn't writable. if (!empty($context['warning'])) echo ' '; echo '
', $txt['smf11'], '
', $context['warning'], '
'; // Show the actual agreement in an oversized text box. echo '


'; } function template_edit_reserved_words() { global $context, $settings, $options, $scripturl, $txt; echo '
', $txt[341], '
', $txt[342], '





'; } function template_admin_settings() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
', $txt['settings'], '
'; // Functions to do some nice box disabling dependant on age restrictions. echo ' '; echo ' ',/*'',*/'
(?):
:
(?):
(?):
:

(?):
', $txt['admin_setting_coppaAge_desc'], '
(?):
(?):
', $txt['admin_setting_coppaPost_desc'], '
(?):
', $txt['admin_setting_coppaPost_desc'], '
(?):
', $txt['admin_setting_coppaPost_desc'], '

:
:
', $txt['pm_register_id_desc'], '
:
', $txt['pm_register_from_desc'], '
:
:
', $txt['pm_register_body_desc'], '
'; // Handle disabling of some of the input boxes. echo '
'; } // Modify advanced visual verification settings function template_verification_settings() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '
', $txt['settings'], '
'; // If you don't have GD, you don't have a chance to select the image size. if($context['use_graphic_library']) echo ' '; echo ' '; echo ' '; echo '
:
:
:

:
:
:
:
', $txt['verificationPMvalidDesc'], '
:
:
:
', $txt['verificationSearchValidDesc'], '

:
', !$context['use_graphic_library'] ? '
'. $txt['verificationGDnotsupported']. '' : '','
',$txt['verificationBGnoise'],'
',$txt['verificationBGnoiseDesc'],'

',$txt['verificationBGlines'],'
',$txt['verificationBGlinesDesc'],'

',$context['use_graphic_library'] ? $txt['verificationBGcolored'] : $txt['verificationBGcircles'],'
',$context['use_graphic_library'] ? $txt['verificationBGcoloredDesc'] : $txt['verificationBGcirclesDesc'] ,'


:
:


',$txt['verificationPreviewDesc'],'

', $txt['visual_verification_description'], '
'; } ?>