- // Minimum mails / order
- define('__MIN_VALUE', $CONFIG['order_min']);
-
- // Sorting mode (ascending / descending)
- switch ($CONFIG['order_mode'])
- {
- case "ASC":
- define('__ASC_DEFAULT' , " selected=\"selected\"");
- define('__DESC_DEFAULT', "");
- break;
-
- case "DESC":
- define('__ASC_DEFAULT' , "");
- define('__DESC_DEFAULT', " selected=\"selected\"");
- break;
- }
+ // Set all default selections
+ foreach (array('repay_deleted_mails') as $entry) {
+ $content[$entry . '_' . strtolower(getConfig($entry))] = ' selected="selected"';
+ } // END - foreach