* -------------------------------------------------------------------- *
* File : what-config_refid.php *
* -------------------------------------------------------------------- *
- * Short description : Setup default referal id *
+ * Short description : Setup default referral id *
* -------------------------------------------------------------------- *
- * Kurzbeschreibung : Standart Referal-Id einstellen *
+ * Kurzbeschreibung : Standard Referral-Id einstellen *
* -------------------------------------------------------------------- *
* $Revision:: $ *
* $Date:: $ *
* $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 *
// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
-if (isFormSent()) {
+if (isFormSent('save_config')) {
// Save data
adminSaveSettingsFromPostData();
} else {
// Prepare member selection
- $content['form_selection'] = addMemberSelectionBox(getDefRefid(), false, true, true, 'def_refid');
+ $content['def_refid'] = addMemberSelectionBox(getDefRefid(), FALSE, TRUE, TRUE, 'def_refid');
// Prepare contants for the template
foreach (array('refid_target_index','refid_target_register','select_user_zero_refid_y','select_user_zero_refid_n') as $entry) {
} // END - foreach
// Load template
- loadTemplate('admin_config_refid', false, $content);
+ loadTemplate('admin_config_refid', FALSE, $content);
}
// [EOF]