Rewritten to make usage of encapsulated API functions
authorRoland Häder <roland@mxchange.org>
Mon, 23 Aug 2010 13:33:47 +0000 (13:33 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Aug 2010 13:33:47 +0000 (13:33 +0000)
inc/functions.php
inc/language/de.php
inc/modules/admin/admin-inc.php
inc/modules/admin/what-list_beg.php
inc/modules/admin/what-list_bonus.php
inc/modules/admin/what-list_notifications.php

index ff063d75f75c854f946c209e55acaaada197f321..f44633a7c4d9fd55494914451b9a3dc5170007dc 100644 (file)
@@ -1480,7 +1480,7 @@ function getMessageFromErrorCode ($code) {
                        if (isExtensionActive('mailid', true)) {
                                $message = '{--ERROR_CONFIRMING_MAIL--}';
                        } else {
-                               $message = getMaskedMessage('EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'mailid');
+                               $message = generateExtensionInactiveNotInstalledMessage('mailid');
                        }
                        break;
 
index 5942f2decc9b1a6290d8ff195b5c1a8c03cdcd56..ffc111ab185dd6bf8841c22a8f30741cb5103736 100644 (file)
@@ -998,6 +998,7 @@ addMessages(array(
        'ADMIN_POINTS_SHREDDED' => "Es wurden <span class=\"data\">%s {?POINTS?}</span> geschrettert.",
        'ADMIN_EXTENSION_PROBLEM_EXTENSION_INACTIVE' => "Die Erweiterung <span class=\"data\">%s</span> ist derzeit deaktiviert. <a href=\"{%%url=modules.php?module=admin&amp;what=extensions%%}\">Hier</a> k&ouml;nnen Sie diese aktivieren.",
        'ADMIN_EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED' => "Die Erweiterung <span class=\"data\">%s</span> ist derzeit nicht installiert. <a href=\"{%%url=modules.php?module=admin&amp;what=extensions%%}\">Hier</a> k&ouml;nnen Sie diese aktivieren.",
+       'ADMIN_TASK_ROW_EXTENSION_NOT_INSTALLED' => "Erweiterung <span class=\"data\">%s</span> nicht installiert..",
        'EXTENSION_PROBLEM_EXTENSION_INACTIVE' => "Kann nicht fortfahren! Fehler: Erweiterung <span class=\"data\">%s</span> deaktiviert.",
        'EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED' => "Kann nicht fortfahren! Fehler: Erweiterung <span class=\"data\">%s</span> nicht installiert.",
        'EXTENSION_PROBLEM_UNSET_EXT' => "Skriptfehler: Parameter <strong>ext</strong> nicht gesetzt.",
index 3039bd9e0724128150e986d8c9c6bcf4d26ecd0b..04f16c2dc2871c586162112cf9b6ff0402dae683 100644 (file)
@@ -1271,7 +1271,7 @@ function generateAdminLink ($adminId) {
                                $adminLink = '<a href="' . generateEmailLink(getAdminEmail($adminId), 'admins') . '" title="{--ADMIN_CONTACT_LINK_TITLE--}">' . $login . '</a>';
                        } else {
                                // Extension not found
-                               $adminLink = getMaskedMessage('EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'admins');
+                               $adminLink = getMaskedMessage('ADMIN_TASK_ROW_EXTENSION_NOT_INSTALLED', 'admins');
                        }
                } else {
                        // Maybe deleted?
index 225bac8125caab0cb65f2abf39b2f56b2c6853a8..1a2b8fefa2a4c8d8fa3e37233a66cf954c17a51e 100644 (file)
@@ -122,7 +122,7 @@ ORDER BY
                if (isExtensionActive('autopurge')) {
                        $content['autopurge_timeout'] = generateDateTime(time() - getApInactiveSince(), 2);
                } else {
-                       $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, getMaskedMessage('EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'autopurge'));
+                       $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, generateExtensionInactiveNotInstalledMessage('autopurge'));
                }
 
                // Load final template
index 78eea1eb8008db923c9c011b3f7dfdbfd1b41a5f..029b357bf7805e3c95169da9e865a07ba1ee5ab2 100644 (file)
@@ -135,7 +135,7 @@ ORDER BY
                if (isExtensionActive('autopurge')) {
                        $content['autopurge_timeout'] = generateDateTime(time() - getApInactiveSince(), 2);
                } else {
-                       $content['autopurge_timeout'] = getMaskedMessage('EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'autopurge');
+                       $content['autopurge_timeout'] = generateExtensionInactiveNotInstalledMessage('autopurge');
                }
 
                // Load final template
index a5283734b975cc2ab929e1d0c863b3787e9ca9b9..8985288b32e4581358a6520bdaa74cfff87c3217 100644 (file)
@@ -69,7 +69,7 @@ ORDER BY
        $result_max = SQL_QUERY($SQL2, __FILE__, __LINE__);
 } else {
        // Bonus extension required!
-       loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'bonus'));
+       loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('bonus'));
 }
 
 // Create limitation line