]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_register.php
Added more config wrappers
[mailer.git] / inc / modules / admin / what-config_register.php
index 103f12db8ee1f93299bc63e68216c266ad2565ce..eec09e7723e895ae0c34eb6c7ac6b2967ad33f91 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Do we want to save changes?
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Begin counting
        $count = 0;
 
@@ -73,14 +73,14 @@ while ($content = SQL_FETCHARRAY($result)) {
        $content['selection'] = addSelectionBox('yn', $content['field_required'], 'sel[' . $content['id'] . ']');
 
        // @TODO Move this HTML code into a template
-       $OUT .= loadTemplate('admin_config_register_row', true, $content);
+       $OUT .= loadTemplate('admin_config_register_row', TRUE, $content);
 } // END - while
 
 // Free memory
 SQL_FREERESULT($result);
 
 // Load template
-loadTemplate('admin_config_register', false, $OUT);
+loadTemplate('admin_config_register', FALSE, $OUT);
 
 // [EOF]
 ?>