// 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]