} // 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);
<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>