Naming convention applied to language strings, new API function added:
authorRoland Häder <roland@mxchange.org>
Sun, 29 Aug 2010 22:14:01 +0000 (22:14 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Aug 2010 22:14:01 +0000 (22:14 +0000)
- Naming convention applied on many language strings (guest/admin)
- New API function getConfirmationMessageFromUserStatus() introduced
- TODOs.txt updated

18 files changed:
DOCS/TODOs.txt
inc/language/de.php
inc/libs/user_functions.php
inc/libs/wernis_functions.php
inc/modules/admin/admin-inc.php
inc/modules/admin/what-admin_add.php
inc/modules/admin/what-guest_add.php
inc/modules/admin/what-mem_add.php
templates/de/html/admin/admin_add_admin_menu.tpl
templates/de/html/admin/admin_add_guest_menu.tpl
templates/de/html/admin/admin_add_member_menu.tpl
templates/de/html/admin/admin_config_point_settings.tpl
templates/de/html/admin/admin_edit_admin_menu.tpl
templates/de/html/admin/admin_edit_guest_menu.tpl
templates/de/html/admin/admin_expert_settings_form.tpl
templates/de/html/admin/admin_member_menu_overview.tpl
templates/de/html/admin/admin_user_details.tpl
templates/de/html/guest/guest_confirm_link.tpl

index ecde42a..1ae53b9 100644 (file)
 ./inc/functions.php:2261:      // @TODO This is still very static, rewrite it somehow
 ./inc/gen_sql_patches.php:96:// @TODO Rewrite this to a filter
 ./inc/install-functions.php:59:        // @TODO DEACTIVATED: changeDataInFile(getCachePath() . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
-./inc/language/de.php:1099:// @TODO Rewrite these two constants
-./inc/language/de.php:1114:// @TODO Rewrite these three constants
+./inc/language/de.php:1101:// @TODO Rewrite these two constants
+./inc/language/de.php:1116:// @TODO Rewrite these three constants
 ./inc/language/de.php:300:     // @TODO Following two are unused?
-./inc/language/de.php:799:// @TODO Are these constants longer used?
+./inc/language/de.php:801:// @TODO Are these constants longer used?
 ./inc/language-functions.php:234:      // @TODO These are all valid languages, again hard-coded
 ./inc/language-functions.php:46:// @TODO Rewrite all language constants to this function.
 ./inc/language/newsletter_de.php:13: * @TODO This language file is completely out-dated, please do no       *
index 96f5900..21f6321 100644 (file)
@@ -127,9 +127,9 @@ addMessages(array(
        'YOU_ARE_HERE' => "Sie sind hier:",
        'ID_SELECT' => "ID:",
        'KEY_SELECT' => "Eintrag:",
-       'DISPLAY_ACTION' => "Aktion",
-       'DISPLAY_WHAT' => "Unteraktion",
-       'DISPLAY_TITLE' => "Titel",
+       'ADMIN_DISPLAY_ACTION' => "Aktion",
+       'ADMIN_DISPLAY_WHAT' => "Unteraktion",
+       'ADMIN_DISPLAY_TITLE' => "Titel",
        'UNDO_SELECTIONS' => "Auswahl zur&uuml;cknehmen",
        'ADMIN_EDIT_MENUS' => "Men&uuml;s bearbeiten",
        'ADMIN_DELETE_MENUS' => "Men&uuml;s l&ouml;schen",
@@ -149,16 +149,16 @@ addMessages(array(
        'ADMIN_ADD_MENU' => "Men&uuml; hinzuf&uuml;gen",
        'ADMIN_ENTER_TITLE' => "Geben Sie den Linktitel zum neuen Men&uuml;punkt ein",
        'ADMIN_SELECT_PARENT_MENU' => "W&auml;hlen Sie das &uuml;bergeordnete Hauptmen&uuml; aus",
-       'IS_TOP_MENU' => "Ist ein Hauptmen&uuml;",
+       'ADMIN_IS_TOP_MENU' => "Ist ein Hauptmen&uuml;",
        'ADMIN_SELECT_WHAT_NAME' => "W&auml;hlen Sie den passenden Suffix aus der Liste aus",
-       'ENTER_DESCR' => "Geben Sie eine kurze aussagekr&auml;ftige Beschreibung des Men&uuml;punktes ein",
+       'ADMIN_ENTER_MENU_DESCRIPTION' => "Geben Sie eine kurze aussagekr&auml;ftige Beschreibung des Men&uuml;punktes ein",
        'ADMIN_SELECT_BELOW_MENU' => "W&auml;hlen Sie den Men&uuml;punkt aus, unterhalb dem der neue Punkt erscheinen soll",
        'ADMIN_EDIT_DESCRIPTION' => "Beschreibung &auml;ndern",
-       'CREATE_WHAT_FIRST' => "Bitte erstellen Sie zuerst die what-xxxxx.php Datei. Dann k&ouml;nnen Sie sie hier ausw&auml;hlen.",
-       'MENU_IS_VISIBLE' => "Men&uuml;punkt ist sichtbar",
-       'MENU_IS_ACTIVE' => "Men&uuml;punkt ist aktiviert",
-       'CREATE_ACTION_FIRST' => "Bitte erstellen Sie zuerst die action-xxxxx.php Datei. Dann k&ouml;nnen Sie sie hier ausw&auml;hlen.",
-       'IS_FIRST_MENU' => "Ist das erste Hauptmen&uuml;",
+       'ADMIN_CREATE_WHAT_FIRST' => "Bitte erstellen Sie zuerst die what-xxxxx.php Datei. Dann k&ouml;nnen Sie sie hier ausw&auml;hlen.",
+       'ADMIN_MENU_IS_VISIBLE' => "Men&uuml;punkt ist sichtbar",
+       'ADMIN_MENU_IS_ACTIVE' => "Men&uuml;punkt ist aktiviert",
+       'ADMIN_CREATE_ACTION_FIRST' => "Bitte erstellen Sie zuerst die action-xxxxx.php Datei. Dann k&ouml;nnen Sie sie hier ausw&auml;hlen.",
+       'ADMIN_IS_FIRST_MENU' => "Ist das erste Hauptmen&uuml;",
        'NO_DB_LINK' => "Keine Verbindung zur Datenbank.",
        'NO_DB_LINK_SHUTDOWN' => "Keine Verbindung zur Datenbank beim Schliessen der Verbindung.",
        'MYSQL_DATA_MISSING' => "Die Konfiguration Ihrer Datenbankverbindung ist unnvollst&auml;ndig. Bitte in <strong>{?CACHE_PATH?}/config-local.php</strong> mindestens den Hostnamen, Datenbanknamen und Login zur Datenbank eingeben.",
@@ -710,12 +710,14 @@ addMessages(array(
        'GUEST_STATS_MODULES' => "Klicks in allen Modulen (TOP-10)",
        'GUEST_STATS_MEMBERS' => "Statistiken &uuml;ber unsere Mitglieder",
        'ADMIN_EDIT_REFERAL_BANNER_TITLE' => "Werbebanner editieren",
-       'REQUEST_CONFIRM_LINK_TITLE' => "Best&auml;tigungslink erneut anfordern",
+       'GUEST_LOGIN_ID_UNKNOWN_STATUS' => "Ihr Account weist einen unbekannten Status <span class=\"data\">%s</span> auf. Bitte melden Sie sich beim Support.",
+       'GUEST_REQUEST_CONFIRM_LINK_TITLE' => "Best&auml;tigungslink erneut anfordern",
        'GUEST_CONFIRM_LINK_NOTE' => "Sie haben Ihren Best&auml;tigungslink verlegt? Kein Problem, hier k&ouml;nnen Sie ihn erneut anfordern. Geben Sie einfach Ihre angemeldete eMail-Adresse an. Der Link wird Ihnen dann per Mail zugesandt.",
-       'REQUEST_CONFIRM_LINK' => "Erneut anfordern",
-       'LOGIN_ID_CONFIRMED' => "Sie haben bereits Ihre E-Mail Adresse best&auml;tigt.",
-       'CONFIRM_LINK_SENT' => "Der Best&auml;tigungslink wurde an Ihre E-Mail Adresse ausgesandt.",
-       'REQUEST_CONFIRM_LINK_SUBJECT' => "Anforderung Ihres Best&auml;tigunglinkes",
+       'GUEST_REQUEST_CONFIRM_LINK' => "Erneut anfordern",
+       'GUEST_LOGIN_ID_CONFIRMED' => "Sie haben bereits Ihre E-Mail Adresse best&auml;tigt.",
+       'GUEST_LOGIN_ID_LOCKED' => "Ihr Account ist gesperrt. Bitte melden Sie sich beim Support.",
+       'GUEST_CONFIRM_LINK_SENT' => "Der Best&auml;tigungslink wurde an Ihre E-Mail Adresse ausgesandt.",
+       'GUEST_REQUEST_CONFIRM_LINK_SUBJECT' => "Anforderung Ihres Best&auml;tigunglinkes",
        'EMAIL_404' => "Unter der angegebenen E-Mail Adresse konnten wir keinen Account finden! Bitte versuchen Sie es erneut.",
        'SELECT_NONE' => "Keine/s/r",
        'ADMIN_CONFIG_STATS_TITLE' => "Einstellungen an den Gast-Statistiken",
@@ -726,7 +728,7 @@ addMessages(array(
        'ADMIN_GSTATS_MODULES_NOTE' => "Zeigt Klicks in den 10 am h&auml;ufigsten angeklickten Gast- und Mitgliedsmodulen an.",
        'ADMIN_GSTATS_INACTIVE_NOTE' => "Deaktiviert die Gast-Statistiken komplett.",
        'ADMIN_DELETE_PAYMENT_TITLE' => "Mailverg&uuml;tungen l&ouml;schen",
-       'REFERAL_PAYOUT' => "Wie viele Mails m&uuml;ssen die Mitglieder mindestens best&auml;tigen, um den Willkommensbonus, einmaliger Referal-Bonus usw. gutgeschrieben zu bekommen?",
+       'ADMIN_CONFIG_REFERAL_PAYOUT' => "Wie viele Mails m&uuml;ssen die Mitglieder mindestens best&auml;tigen, um den Willkommensbonus, einmaliger Referal-Bonus usw. gutgeschrieben zu bekommen?",
        'ADMIN_EXTENSION_UPDATED' => "Erweiterung aktualisiert.",
        'ADMIN_UPDATE_EXTENSION_SUBJECT' => "Erweiterung-Update installiert",
        'MEMBER_ORDER_PAGE1_INTRO' => "Mailbuchung - Schritt 1 von 4: PLZ eingeben",
@@ -739,9 +741,9 @@ addMessages(array(
        'LOCKED_POINTS' => "Nicht verg&uuml;tete {?POINTS?}",
        'LAST_UPDATE' => "Letzte Profil&auml;nderung",
        'LAST_PROFILE_SENT' => "Erinnerung gesendet",
-       'USER_REFERAL_PAYOUT' => "Noch zu best. Mails",
+       'ADMIN_USER_REFERAL_PAYOUT' => "Noch zu best. Mails",
        'DISPLAY_REFID' => "Ref-Id anzeigen",
-       'SORT_NAVIGATION' => "Sortieren",
+       'ADMIN_SORT_NAVIGATION' => "Sortieren",
        'HIGHER' => "H&ouml;her",
        'LOWER' => "Niedriger",
        'MEMBER_SETTINGS_SAVED' => "Einstellungen gespeichert.",
index 4a24b2d..c3304a7 100644 (file)
@@ -651,36 +651,59 @@ LIMIT 1",
 
 // Does resend the user's confirmation link for given email address
 function doResendUserConfirmationLink ($email) {
+       // Email address not registered is default message
+       $message = '{--EMAIL_404--}';
+
        // Confirmation link requested
        if (fetchUserData($email, 'email')) {
                // Email address found
                $content = getUserDataArray();
 
-               // Detect status
-               switch ($content['status']) {
-                       case 'UNCONFIRMED': // Account not confirmed
-                               // Load email template
-                               $message = loadEmailTemplate('guest_request_confirm', array('hash' => $content['user_hash']), $content['userid']);
+               // Is the account unconfirmed?
+               if ($content['status'] == 'UNCONFIRMED') {
+                       // Load email template
+                       $message = loadEmailTemplate('guest_request_confirm', array('hash' => $content['user_hash']), $content['userid']);
 
-                               // Send email
-                               sendEmail($email, '{--REQUEST_CONFIRM_LINK_SUBJECT--}', $message);
+                       // Send email
+                       sendEmail($email, '{--GUEST_REQUEST_CONFIRM_LINK_SUBJECT--}', $message);
+               } // END - if
 
-                               // And set message
-                               $content['message'] = '{--CONFIRM_LINK_SENT--}';
-                               break;
+               // Create message based on the status
+               $message = getConfirmationMessageFromUserStatus($content['status']);
+       } // END - if
 
-                       case 'CONFIRMED': // Account already confirmed
-                               $content['message'] = '{--LOGIN_ID_CONFIRMED--}';
-                               break;
+       // Output message
+       loadTemplate('admin_settings_saved', false, $message);
+}
 
-                       case 'LOCKED': // Account is locked
-                               $content['message'] = '{--LOGIN_ID_LOCKED--}';
-                               break;
-               } // END - switch
-       } else {
-               // Email address not registered
-               $content['message'] = '{--EMAIL_404--}';
-       }
+// Get a message (somewhat translation) from user status for confirmation link.
+// This is different to translateUserStatus() in text messages.
+function getConfirmationMessageFromUserStatus ($status) {
+       // Default is 'UNKNOWN'
+       $message = getMaskedMessage('GUEST_LOGIN_ID_UNKNOWN_STATUS', $status);
+
+       // Which status is it?
+       switch ($status) {
+               case 'UNCONFIRMED': // Account is unconfirmed
+                       // And set message
+                       $message = '{--GUEST_CONFIRM_LINK_SENT--}';
+                       break;
+
+               case 'CONFIRMED': // Account already confirmed
+                       $message = '{--GUEST_LOGIN_ID_CONFIRMED--}';
+                       break;
+
+               case 'LOCKED': // Account is locked
+                       $message = '{--GUEST_LOGIN_ID_LOCKED--}';
+                       break;
+
+               default: // This should not happen
+                       debug_report_bug(__FUNCTION__, __LINE__, 'Unknown user status ' . $status . ' detected.');
+                       break;
+       } // END - switch
+
+       // Return message
+       return $message;
 }
 
 // Expression call-back function for fetching user data
index df3a61d..d22f14c 100644 (file)
@@ -320,6 +320,8 @@ function WERNIS_EXECUTE_PAYOUT ($wdsId, $amount) {
 function translateWernisTransferStatus ($status) {
        // Default status
        $return = getMaskedMessage('WERNIS_STATUS_UNKNWOWN', $status);
+
+       // Which status?
        switch ($status) {
                case 'IN': // Withdraw
                        $return = '{--WERNIS_STATUS_WITHDRAW--}';
@@ -332,7 +334,7 @@ function translateWernisTransferStatus ($status) {
                case 'FAILED': // Payout
                        $return = '{--WERNIS_STATUS_FAILED--}';
                        break;
-       }
+       } // END - switch
 
        // Return the status
        return $return;
index 9a3c519..7638b2f 100644 (file)
@@ -589,7 +589,7 @@ function adminAddMenuSelectionBox ($menu, $type, $name, $default = '') {
        $menuArray = getArrayFromDirectory(sprintf("inc/modules/%s/", $menu), '', false, false);
 
        // Init the selection box
-       $OUT = '<select name="' . $name . '" class="form_select" size="1"><option value="">{--IS_TOP_MENU--}</option>';
+       $OUT = '<select name="' . $name . '" class="form_select" size="1"><option value="">{--ADMIN_IS_TOP_MENU--}</option>';
 
        // Walk through all files
        foreach ($menuArray as $file) {
index a661994..c5ae169 100644 (file)
@@ -136,7 +136,7 @@ if (!isFormSent()) {
        }
 
        $OUT = '    <select class="form_select" name="sort" size="1">
-      <option value="0">{--IS_FIRST_MENU--}</option>';
+      <option value="0">{--ADMIN_IS_FIRST_MENU--}</option>';
        foreach ($below as $key => $m) {
                if (is_array($m)) {
                        foreach ($m as $key2 => $m2) {
index 7ddbce1..14383f6 100644 (file)
@@ -155,7 +155,7 @@ ORDER BY `sort` ASC",
        SQL_FREERESULT($result_menu);
 
        $OUT = '<select class="form_select" name="sort" size="1">
-      <option value="0">{--IS_FIRST_MENU--}</option>';
+      <option value="0">{--ADMIN_IS_FIRST_MENU--}</option>';
        foreach ($below as $key => $m) {
                if (is_array($m)) {
                        foreach ($m as $key2 => $m2) {
index 78e06a6..6986b68 100644 (file)
@@ -144,7 +144,7 @@ if (!isFormSent()) {
        } // END - if
 
        $OUT = '<select class="form_select" name="sort" size="1">
-      <option value="">{--IS_FIRST_MENU--}</option>';
+      <option value="">{--ADMIN_IS_FIRST_MENU--}</option>';
        foreach ($below as $key => $m) {
                if (is_array($m)) {
                        foreach ($m as $key2 => $m2) {
index e037652..5900055 100644 (file)
@@ -2,33 +2,33 @@
 <form accept-charset="utf-8" action="{%url=modules.php?module=admin&amp;what=admin_add%}" method="post">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td align="right" width="245">{--ENTER_TITLE--}:</td>
+               <td align="right" width="245">{--ADMIN_ENTER_TITLE--}:</td>
                <td width="245" align="center">
                        <input type="text" name="title" class="form_field" size="30" maxlength="50" />
                </td>
        </tr>
        <tr>
-               <td align="right">{--SELECT_WHAT_NAME--}:</td>
+               <td align="right">{--ADMIN_SELECT_WHAT_NAME--}:</td>
                <td align="center">
                        $content[what_selection]<br />
-                       <span class="notice">({--CREATE_WHAT_FIRST--})</span>
+                       <span class="notice">({--ADMIN_CREATE_WHAT_FIRST--})</span>
                </td>
        </tr>
        <tr>
-               <td align="right">{--SELECT_PARENT_MENU--}:</td>
+               <td align="right">{--ADMIN_SELECT_PARENT_MENU--}:</td>
                <td align="center">
                        $content[action_selection]<br />
-                       <span class="notice">({--CREATE_ACTION_FIRST--})</span>
+                       <span class="notice">({--ADMIN_CREATE_ACTION_FIRST--})</span>
                </td>
        </tr>
        <tr>
-               <td align="right">{--ENTER_DESCR--}:</td>
+               <td align="right">{--ADMIN_ENTER_MENU_DESCRIPTION--}:</td>
                <td align="center">
                        <textarea name="descr" rows="6" cols="45" class="form_field"></textarea>
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--SELECT_BELOW_MENU--}:</td>
+               <td class="bottom" align="right">{--ADMIN_SELECT_BELOW_MENU--}:</td>
                <td class="bottom" align="center">$content[below_selection]</td>
        </tr>
        <tr>
index cddf51f..22fac02 100644 (file)
                <td align="right">{--ADMIN_SELECT_WHAT_NAME--}:</td>
                <td align="center">
                        $content[what_selection]<br />
-                       <span class="notice">({--CREATE_WHAT_FIRST--})</span>
+                       <span class="notice">({--ADMIN_CREATE_WHAT_FIRST--})</span>
                </td>
        </tr>
        <tr>
                <td align="right">{--ADMIN_SELECT_PARENT_MENU--}:</td>
                <td align="center">
                        $content[action_selection]<br />
-                       <span class="notice">({--CREATE_ACTION_FIRST--})</span>
+                       <span class="notice">({--ADMIN_CREATE_ACTION_FIRST--})</span>
                </td>
        </tr>
        <tr>
@@ -26,7 +26,7 @@
                <td align="center">$content[below_selection]</td>
        </tr>
        <tr>
-               <td align="right">{--MENU_IS_VISIBLE--}:</td>
+               <td align="right">{--ADMIN_MENU_IS_VISIBLE--}:</td>
                <td align="center">
                        <select class="form_select" name="visible" size="1">
                                <option value="Y">{--YES--}</option>
@@ -35,7 +35,7 @@
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--MENU_IS_ACTIVE--}:</td>
+               <td class="bottom" align="right">{--ADMIN_MENU_IS_ACTIVE--}:</td>
                <td class="bottom" align="center">
                        <select class="form_select" name="active" size="1">
                                <option value="N">{--YES--}</option>
index 26c80bf..337bf92 100644 (file)
                <td align="right">{--ADMIN_SELECT_WHAT_NAME--}:</td>
                <td align="center">
                        $content[what_selection]<br />
-                       <span class="notice">({--CREATE_WHAT_FIRST--})</span>
+                       <span class="notice">({--ADMIN_CREATE_WHAT_FIRST--})</span>
                </td>
        </tr>
        <tr>
                <td align="right">{--ADMIN_SELECT_PARENT_MENU--}:</td>
                <td align="center">
                        $content[action_selection]<br />
-                       <span class="notice">({--CREATE_ACTION_FIRST--})</span>
+                       <span class="notice">({--ADMIN_CREATE_ACTION_FIRST--})</span>
                </td>
        </tr>
        <tr>
@@ -26,7 +26,7 @@
                <td align="center">$content[below_selection]</td>
        </tr>
        <tr>
-               <td align="right">{--MENU_IS_VISIBLE--}:</td>
+               <td align="right">{--ADMIN_MENU_IS_VISIBLE--}:</td>
                <td align="center">
                        <select class="form_select" name="visible" size="1">
                                <option value="Y">{--YES--}</option>
@@ -35,7 +35,7 @@
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--MENU_IS_ACTIVE--}:</td>
+               <td class="bottom" align="right">{--ADMIN_MENU_IS_ACTIVE--}:</td>
                <td class="bottom" align="center">
                        <select class="form_select" name="active" size="1">
                                <option value="N">{--YES--}</option>
index b89749b..e30a64c 100644 (file)
@@ -29,7 +29,7 @@
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--REFERAL_PAYOUT--}</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_REFERAL_PAYOUT--}</td>
                <td class="bottom" align="center">
                        <input type="text" name="ref_payout" class="form_field" size="3" maxlength="3" value="{?ref_payout?}" />
                </td>
index 3752310..3cbc7a4 100644 (file)
@@ -4,10 +4,10 @@
 <!-- @TODO Shouldn't we add a title here? //-->
 <tr>
        <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
-       <td class="header_column bottom right" align="center"><strong>{--DISPLAY_ACTION--}</strong></td>
-       <td class="header_column bottom right" align="center"><strong>{--DISPLAY_WHAT--}</strong></td>
-       <td class="header_column bottom right" align="center"><strong>{--DISPLAY_TITLE--}</strong></td>
-       <td class="header_column bottom" align="center"><strong>{--SORT_NAVIGATION--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_DISPLAY_ACTION--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_DISPLAY_WHAT--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_DISPLAY_TITLE--}</strong></td>
+       <td class="header_column bottom" align="center"><strong>{--ADMIN_SORT_NAVIGATION--}</strong></td>
 </tr>
 $content[rows]
 <tr>
index ac820e0..4761f0b 100644 (file)
@@ -3,10 +3,10 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
-       <td class="header_column bottom right" align="center"><strong>{--DISPLAY_ACTION--}</strong></td>
-       <td class="header_column bottom right" align="center"><strong>{--DISPLAY_WHAT--}</strong></td>
-       <td class="header_column bottom right" align="center"><strong>{--DISPLAY_TITLE--}</strong></td>
-       <td class="header_column bottom" align="center"><strong>{--SORT_NAVIGATION--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_DISPLAY_ACTION--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_DISPLAY_WHAT--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_DISPLAY_TITLE--}</strong></td>
+       <td class="header_column bottom" align="center"><strong>{--ADMIN_SORT_NAVIGATION--}</strong></td>
 </tr>
 $content[rows]
 <tr>
index f01f9e5..189d344 100644 (file)
@@ -1,3 +1,4 @@
+<div align="center">
 <form accept-charset="utf-8" action="{%url=modules.php?dummy=1%}&amp;{%server,query_string%}" method="post">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
        <tr>
@@ -26,3 +27,4 @@
        </tr>
 </table>
 </form>
+</div>
index 3877dbd..9a18d40 100644 (file)
@@ -3,10 +3,10 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td class="header_column bottom right" align="center" width="5%"><strong>{--ID_SELECT--}</strong></td>
-       <td class="header_column bottom right" align="center" width="25%"><strong>{--DISPLAY_ACTION--}</strong></td>
-       <td class="header_column bottom right" align="center" width="25%"><strong>{--DISPLAY_WHAT--}</strong></td>
-       <td class="header_column bottom right" align="center" width="25%"><strong>{--DISPLAY_TITLE--}</strong></td>
-       <td class="header_column bottom" align="center" width="20%"><strong>{--SORT_NAVIGATION--}</strong></td>
+       <td class="header_column bottom right" align="center" width="25%"><strong>{--ADMIN_DISPLAY_ACTION--}</strong></td>
+       <td class="header_column bottom right" align="center" width="25%"><strong>{--ADMIN_DISPLAY_WHAT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="25%"><strong>{--ADMIN_DISPLAY_TITLE--}</strong></td>
+       <td class="header_column bottom" align="center" width="20%"><strong>{--ADMIN_SORT_NAVIGATION--}</strong></td>
 </tr>
 $content[rows]
 <tr>
index c8ee134..4082e56 100644 (file)
        </tr>
        <tr>
                <td align="center" class="top right">
-                       {--USER_REFERAL_PAYOUT--}:<br />
+                       {--ADMIN_USER_REFERAL_PAYOUT--}:<br />
                        <strong>$content[ref_payout]</strong>
                </td>
                <td align="center" class="top right">
index 9364485..dd98e4f 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td align="center" colspan="2" class="table_header bottom">
-                       <div class="big">{--REQUEST_CONFIRM_LINK_TITLE--}</div>
+                       <div class="big">{--GUEST_REQUEST_CONFIRM_LINK_TITLE--}</div>
                </td>
        </tr>
        <tr>
@@ -20,7 +20,7 @@
        <tr>
                <td align="center" colspan="2" class="table_footer">
                        <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" name="ok" class="form_submit" value="{--REQUEST_CONFIRM_LINK--}" />
+                       <input type="submit" name="ok" class="form_submit" value="{--GUEST_REQUEST_CONFIRM_LINK--}" />
                </td>
        </tr>
 </table>