templates/de/html/guest/guest_register.tpl svneol=native#text/plain
templates/de/html/guest/guest_register_refid.tpl svneol=native#text/plain
templates/de/html/guest/guest_register_refid_hide.tpl svneol=native#text/plain
+templates/de/html/guest/guest_registration_provider.tpl svneol=native#text/plain
+templates/de/html/guest/guest_registration_provider_row.tpl svneol=native#text/plain
templates/de/html/guest/guest_registration_select.tpl svneol=native#text/plain
templates/de/html/guest/guest_show_rallye.tpl svneol=native#text/plain
templates/de/html/guest/guest_sponsor_act_row.tpl svneol=native#text/plain
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if ((isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'register')) {
+ if ((isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'register')) {
// Run it
$filterData['status'] = doGenericUserRegistration();
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is the registration provider set?
- if ((isFormSent()) && (isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'register')) {
+ if ((isFormSent()) && (isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'register')) {
// Check form
$isFormSent = isRegistrationDataComplete();
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if ((isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'register')) {
+ if ((isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'register')) {
// Run it
displayMessage('{--REGISTRATION_DONE--}');
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if ((isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'register')) {
+ if ((isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'register')) {
// This should not be reached
reportBug(__FUNCTION__, __LINE__, 'This filter should not handle it.');
} // END - if
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if (((isGetRequestElementSet('registration_provider')) && (getRequestElement('registration_provider') == 'register')) || (getDefaultRegistrationProvider() == 'register')) {
+ if (((isGetRequestElementSet('provider')) && (getRequestElement('provider') == 'register')) || ((!isGetRequestElementSet('provider')) && (getDefaultRegistrationProvider() == 'register'))) {
// Display generic form
doDisplayGenericUserRegistrationForm();
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if ((isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'wernis')) {
+ if ((isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'wernis')) {
// Run it
$filterData['status'] = doWernisUserRegistration();
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if ((isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'wernis')) {
+ if ((isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'wernis')) {
// Run it
// Interrupt filter chain
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
// Is generic user registration selected?
- if ((isPostRequestElementSet('registration_provider')) && (postRequestElement('registration_provider') == 'wernis')) {
+ if ((isPostRequestElementSet('provider')) && (postRequestElement('provider') == 'wernis')) {
// Run it
// Interrupt filter chain
function FILTER_WERNIS_USER_REGISTRATION_FORM () {
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
- // Is generic user registration selected?
- if (((isGetRequestElementSet('registration_provider')) && (gettRequestElement('registration_provider') == 'wernis')) || (getDefaultRegistrationProvider() == 'wernis')) {
+ // Is WDS66 user registration selected?
+ if (((isGetRequestElementSet('provider')) && (getRequestElement('provider') == 'wernis')) || ((!isGetRequestElementSet('provider')) && (getDefaultRegistrationProvider() == 'wernis'))) {
// Run it
// Interrupt filter chain
'POINTS_SUBJECT_REFERRAL_BONUS' => "Einmalige Werbeprämie",
'POINTS_SUBJECT_REFERRAL_BONUS_REF' => "Anteilige einml. Werbeprämie",
- // Guest - others
+ // Guest - registration provider
+ 'GUEST_REGISTRATION_PROVIDER_TITLE' => "Wählen Sie einen anderen Anmeldedienst aus:",
'GUEST_SELECT_OTHER_REGISTRATION_FORM_TITLE' => "Mit anderen Diensten bei {?MAIN_TITLE?} anmelden.",
'GUEST_SELECT_OTHER_REGISTRATION_FORM_NOTICE' => "Beim Anmelden mit einen anderen Dienst "verbinden" Sie diesen mit diesem {?mt_word?}. Dadurch werden Daten vom Anmeldedienst an diesen übertragen. Mehr dazu steht beim Anmeldeformular des jweiligen Anbieters.",
'GUEST_EXTRA_REGISTRATION_PROVIDER_404' => "Es wurden noch keine weiteren Anmeldedienste freigegeben oder eingerichtet. Bitte verwenden Sie das nachfolgende Formular zur lokalen Anmeldung.",
// Points accounts - subject
'POINTS_SUBJECT_WERNIS_WITHDRAW' => "Einzahlung vom WDS66-Account",
+
+ // Registration provider
+ 'REGISTRATION_PROVIDER_WERNIS_USER_REGISTRATION' => "Mit WDS66-Portal anmelden ...",
));
// [EOF]
return $content;
}
+// ----------------------------------------------------------------------------
+// "Translator" functions
+// ----------------------------------------------------------------------------
+
+function translateRegistrationProviderName ($providerName) {
+ // "Translate it"
+ return '{--REGISTRATION_PROVIDER_' . strtoupper($providerName) . '--}';
+}
+
// [EOF]
?>
}
} else {
// Is a registration provider selected?
- if (!isGetRequestElementSet('registration_provider')) {
+ if (!isGetRequestElementSet('provider')) {
// Display selector form
loadTemplate('guest_registration_select');
} // END - if
--- /dev/null
+<div align="left">
+ {--GUEST_REGISTRATION_PROVIDER_TITLE--}
+ <ul>
+ $content
+ </ul>
+</div>
--- /dev/null
+<li><a href="{%url=modules.php?module=index&what=register&provider=$content[provider_extension]%}">{%pipe,translateRegistrationProviderName=$content[provider_name]%}</a></li>
border: 1px solid #000000;
border-top: 0px;
background-color: #ffffff;
- height: 22px;
text-align: left;
}
border: 1px solid #00aa44;
border-top: 0px;
background-color: #eeffbc;
- height: 22px;
text-align: left;
}
border: 1px solid #880000;
border-top: 0px;
background-color: #ffffcc;
- height: 22px;
text-align: left;
}
border : 1px solid #000000;
border-top : 0px;
background-color : #FFFFFF;
- height : 22px;
}
.guest_menu_separator, .member_menu_separator {