]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_coupon.php
Bad things are now 'classified' as bad (CSS class 'bad' is being used instead of...
[mailer.git] / inc / modules / admin / what-config_coupon.php
index fb9a11a90e7557ff8d9cf401ac36303b5fd7829e..1637fbe46ec6996d5da3ba8cfa53d8b6a7d6cbe1 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
@@ -50,8 +50,12 @@ if (isFormSent()) {
        // Save data
        adminSaveSettingsFromPostData();
 } else {
+       // Add userid selection
+       $content['coupon_userid'] = addMemberSelectionBox(getCouponUserid(), false, true, true, 'coupon_userid');
+
        // Prepare some template data
-       $content['coupon_default_time_selection'] = createConfigurationTimeSelections('coupon_default_time', 'WDh');
+       $content['coupon_default_time_selection']   = createConfigurationTimeSelections('coupon_default_time'  , 'WDh');
+       $content['coupon_autopurge_time_selection'] = createConfigurationTimeSelections('coupon_autopurge_time', 'WDh');
 
        // Load template
        loadTemplate('admin_config_coupon', false, $content);