* -------------------------------------------------------------------- *
* 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:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
- * Needs to be in all Files and every File needs "svn propset *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * 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 *
// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
-if (isFormSent()) {
+if (isFormSent('save_config')) {
// Save data
adminSaveSettingsFromPostData();
} else {
// Prepare member selection
- $content['member_selection'] = addMemberSelectionBox(getConfig('def_refid'), 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]