* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
if (!isExtensionActive('order')) {
- loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('order'));
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=order%}');
return;
} // END - if
-// Set empty mode to "select"
-if (!isGetRequestParameterSet('mode')) setGetRequestParameter('mode', 'select');
+// 'mode' is not set by default
+if (!isGetRequestParameterSet('mode')) {
+ // Set empty mode to "select"
+ setGetRequestParameter('mode', 'select');
+} // END - if
if (isFormSent()) {
// Deliver bonus mail
addNewBonusMail(postRequestArray(), getRequestParameter('mode'));
} else {
- // Get all available users
- $content['all'] = getRequestParameter('mode');
-
- // Prepare option lines
- $content['options_lines'] = getRequestParameter('mode');
-
// Store send mode
$content['mode'] = getRequestParameter('mode');