* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
addYouAreHereLink('admin', __FILE__);
// Do we want to save changes?
-if (isFormSent()) {
+if (isFormSent('save_config')) {
// Begin counting
$count = 0;
} // END - if
// List all register values
-$result = SQL_QUERY("SELECT `id`,`field_name`,`field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT `id`, `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC", __FILE__, __LINE__);
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Get language string
$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]
?>