]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
Re-added height, but smaller to make most menus appear shorter
[mailer.git] / inc / modules / admin / what-config_secure.php
index de299e1acee60ef7a690010726c7bc1cb4295975..dd009a0eeedde04b3e3f880cea87f711e2c58466 100644 (file)
@@ -59,8 +59,20 @@ if (isFormSent('save_config')) {
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
+       // Prepare content
+       $content = array();
+
+       // Loop all scores
+       for ($idx = 0; $idx <= 5; $idx++) {
+               // Init value
+               $content['min_password_score_' . $idx] = '';
+       } // END - for
+
+       // Set default
+       $content['min_password_score_' . strtolower(getMinPasswordScore())] = ' selected="selected"';
+
        // Load template
-       loadTemplate('admin_config_secure');
+       loadTemplate('admin_config_secure', FALSE, $content);
 }
 
 // [EOF]