]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_rallyes.php
Changed all admin getter, closed internal TODOs:
[mailer.git] / inc / modules / admin / what-list_rallyes.php
index 205d3c2139a6aaad6a355e25f2d37723be094e78..509f6d23f62360976630a5bff4b1f128fbf8a3d3 100644 (file)
@@ -123,10 +123,10 @@ if (isGetRequestParameterSet('rallye')) {
                runFilterChain('run_sqls');
 
                // Output message
-               $message = getMessage('RALLYE_DELETED');
+               $message = '{--RALLYE_DELETED--}';
        } else {
                // No rallye selected to delete!
-               $message = getMessage('RALLYE_DELETE_NOTHING_SELECTED');
+               $message = '{--RALLYE_DELETE_NOTHING_SELECTED--}';
        }
 } elseif (isFormSent('change')) {
        // Change rallye
@@ -173,7 +173,7 @@ LIMIT 1",
                runFilterChain('run_sqls');
 
                // Output message
-               $message = getMessage('RALLYE_CHANGED');
+               $message = '{--RALLYE_CHANGED--}';
        }
 }
 
@@ -319,8 +319,6 @@ ORDER BY
 
                        // Alter some variables
                        if (empty($data['login']))    $data['login']     = '???';
-                       if (empty($data['template'])) $data['template']  = '---';
-                       if (empty($data['descr']))    $data['descr']     = '---';
 
                        // Transfer data into array for the template
                        $row = array(
@@ -349,12 +347,12 @@ ORDER BY
                                case 'Y':
                                        // Rallye is active so do not edit it!
                                        $row['select']       = '<div class="big">' . $row['id'] . '</div>';
-                                       $row['active_title'] = getMessage('RALLYE_DEACTIVATE_NOW');
+                                       $row['active_title'] = '{--RALLYE_DEACTIVATE_NOW--}';
                                        $row['active']       = '0';
                                        break;
 
                                case 'N':
-                                       $row['active_title'] = getMessage('RALLYE_ACTIVATE_NOW');
+                                       $row['active_title'] = '{--RALLYE_ACTIVATE_NOW--}';
                                        $row['active']       = 1;
                                        break;
                        } // END - switch
@@ -362,12 +360,12 @@ ORDER BY
                        // Notification to members?
                        switch ($data['send_notify']) {
                                case 'Y':
-                                       $row['notify_title'] = getMessage('RALLYE_STOP_NOTIFY_NOW');
+                                       $row['notify_title'] = '{--RALLYE_STOP_NOTIFY_NOW--}';
                                        $row['notify']       = '0';
                                        break;
 
                                case 'N':
-                                       $row['notify_title'] = getMessage('RALLYE_START_NOTIFY_NOW');
+                                       $row['notify_title'] = '{--RALLYE_START_NOTIFY_NOW--}';
                                        $row['notify']       = 1;
                                        break;
                        } // END - switch
@@ -375,12 +373,12 @@ ORDER BY
                        // Auto-add of new joined members?
                        switch ($data['auto_add_new_user']) {
                                case 'Y':
-                                       $row['auto_title'] = getMessage('RALLYE_STOP_AUTO_ADD_NOW');
+                                       $row['auto_title'] = '{--RALLYE_STOP_AUTO_ADD_NOW--}';
                                        $row['auto']       = '0';
                                        break;
 
                                case 'N':
-                                       $row['auto_title'] = getMessage('RALLYE_START_AUTO_ADD_NOW');
+                                       $row['auto_title'] = '{--RALLYE_START_AUTO_ADD_NOW--}';
                                        $row['auto']       = 1;
                                        break;
                        } // END - switch