]> git.mxchange.org Git - mailer.git/commitdiff
Renamed 'comma_def' to 'max_comma' to fit with configuration entry
authorRoland Häder <roland@mxchange.org>
Thu, 17 Jan 2013 01:49:45 +0000 (01:49 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 17 Jan 2013 01:49:45 +0000 (01:49 +0000)
inc/modules/admin/what-config_other.php
templates/de/html/admin/admin_config_other.tpl

index 7345a4eb6fa846d07abb65c242b0b37458c4c61d..8b27babbde07b2e8e57ff641e67b488cd5d2c680 100644 (file)
@@ -84,14 +84,14 @@ if (isFormSent('save_config')) {
        } // END - foreach
 
        for ($i = '0'; $i <= 5; $i++) {
-               $content['comma_def_' . $i] = '';
+               $content['max_comma_' . $i] = '';
        } // END - for
 
        // Set selections
-       $content = merge_array($content, getCheckedConfig(array('css_php','mailid_error_redirect')));
+       $content = merge_array($content, getCheckedConfig(array('css_php', 'mailid_error_redirect')));
 
        // Set selection
-       $content = merge_array($content, getSelectedConfig(array('comma_def_' . getConfig('max_comma'))));
+       $content = merge_array($content, getSelectedConfig(array('max_comma')));
 
        // Load template
        loadTemplate('admin_config_other', FALSE, $content);
index 129afd3e2fe2ef60a16d4349a7368d8a9c6bb484..d8c640bd938ec6caed64aa60cf8c9e1711fd4fae 100644 (file)
                <td>
                        <!-- @TODO Rewrite this selection to one of our functions //-->
                        <select name="max_comma" size="1" class="form_select">
-                               <option value="0"$content[comma_def_0]>0</option>
-                               <option value="1"$content[comma_def_1]>1</option>
-                               <option value="2"$content[comma_def_2]>2</option>
-                               <option value="3"$content[comma_def_3]>3</option>
-                               <option value="4"$content[comma_def_4]>4</option>
-                               <option value="5"$content[comma_def_5]>5</option>
+                               <option value="0"$content[max_comma_0]>0</option>
+                               <option value="1"$content[max_comma_1]>1</option>
+                               <option value="2"$content[max_comma_2]>2</option>
+                               <option value="3"$content[max_comma_3]>3</option>
+                               <option value="4"$content[max_comma_4]>4</option>
+                               <option value="5"$content[max_comma_5]>5</option>
                        </select>
                </td>
        </tr>