]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/register_functions.php
Continued with ext-wernis:
[mailer.git] / inc / libs / register_functions.php
index 2fc717896b9417610150ebc8bcdff62e8db708fd..0880221a1a256411cbc0b90fe9461517cabf695b 100644 (file)
@@ -130,7 +130,7 @@ ORDER BY
 }
 
 // Outputs a 'failed message'
-function registerOutputFailedMessage ($messageId, $extra='') {
+function registerOutputFailedMessage ($messageId, $extra = '') {
        if (empty($messageId)) {
                outputHtml('<div class="bad">' . $extra . '</div>');
        } else {
@@ -710,5 +710,14 @@ ORDER BY
        return $content;
 }
 
+// ----------------------------------------------------------------------------
+//                            "Translator" functions
+// ----------------------------------------------------------------------------
+
+function translateRegistrationProviderName ($providerName) {
+       // "Translate it"
+       return '{--REGISTRATION_PROVIDER_' . strtoupper($providerName) . '--}';
+}
+
 // [EOF]
 ?>