]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_other.php
__CFG_MIN_AGE fixed
[mailer.git] / inc / modules / admin / what-config_other.php
index c356122bd37fa39a119ab446215991d45e90f979..ba171a2831a69db9dc4e41f75ff67211c19aa9c6 100644 (file)
@@ -42,7 +42,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 // Stop saving data if one input field is !isset
 if (isset($_POST['ok'])) {
@@ -79,6 +79,7 @@ if (isset($_POST['ok'])) {
        define('_CFG_ACT_SYSTEM'    , $_CONFIG['activate_xchange']);
        define('_CFG_MAX_SEND'      , $_CONFIG['max_send']);
        define('_CFG_REJECT_URL'    , $_CONFIG['reject_url']);
+       define('_CFG_MIN_AGE'       , $_CONFIG['min_age']);
 
        // Is there the pro-version function avaiable to create selection boxes instead of input boxes?
        if (function_exists('CREATE_TIME_SELECTIONS')) {
@@ -169,6 +170,14 @@ if (isset($_POST['ok'])) {
                define('_CFG_SHOW_TIMINGS_N', " checked=\"checked\"");
        }
 
+       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+               define('_CFG_SHOW_POINTS_UNCONFIRMED_Y', " checked=\"checked\"");
+               define('_CFG_SHOW_POINTS_UNCONFIRMED_N', "");
+       } else {
+               define('_CFG_SHOW_POINTS_UNCONFIRMED_Y', "");
+               define('_CFG_SHOW_POINTS_UNCONFIRMED_N', " checked=\"checked\"");
+       }
+
        if ($_CONFIG['mailid_error_redirect'] == 'INDEX') {
                define('_CFG_MAILID_REDIRECT_INDEX', " checked=\"checked\"");
                define('_CFG_MAILID_REDIRECT_REJECT', "");