Renamed templates, more usage of EL
[mailer.git] / inc / modules / admin / what-config_autopurge.php
index b2e2b721e6d003ea8eef7a9abbaaabbfcd2c62e9..93e24239cdece47bb4e35beb80b8c81519a6f274 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 06/25/2004 *
- * ================                             Last change: 05/05/2005 *
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2004 *
+ * ===================                          Last change: 05/05/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-autopurge.php                               *
  * $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                           *
+ * 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 *
@@ -42,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 if (isFormSent()) {
        // Data was submitted so we store it
@@ -61,14 +60,14 @@ if (isFormSent()) {
        $content['ap_notify_del_mails']   = addSelectionBox('yn', getConfig('ap_dm_notify')   , 'ap_dm_notify');
 
        // Output time selection boxes
-       $content['ap_in_since']       = createTimeSelections(getConfig('ap_inactive_since')  , 'ap_inactive_since'  , 'MWDh');
-       $content['ap_in_time']        = createTimeSelections(getConfig('ap_inactive_time')   , 'ap_inactive_time'   , 'MWDh');
-       $content['ap_un_time']        = createTimeSelections(getConfig('ap_unconfirmed_time'), 'ap_unconfirmed_time', 'MWDh');
-       $content['ap_task_time']      = createTimeSelections(getConfig('ap_tasks_time')      , 'ap_tasks_time'      , 'MWDh');
-       $content['ap_del_mails_time'] = createTimeSelections(getConfig('ap_dm_timeout')      , 'ap_dm_timeout'      , 'MWDh');
+       $content['ap_in_since']       = createConfigurationTimeSelections('ap_inactive_since'  , 'MWDh');
+       $content['ap_in_time']        = createConfigurationTimeSelections('ap_inactive_time'   , 'MWDh');
+       $content['ap_un_time']        = createConfigurationTimeSelections('ap_unconfirmed_time', 'MWDh');
+       $content['ap_task_time']      = createConfigurationTimeSelections('ap_tasks_time'      , 'MWDh');
+       $content['ap_del_mails_time'] = createConfigurationTimeSelections('ap_dm_timeout'      , 'MWDh');
 
        // Mail confirmation links
-       $content['auto_purge'] = createTimeSelections(getConfig('auto_purge'), 'auto_purge', 'MWD');
+       $content['auto_purge'] = createConfigurationTimeSelections('auto_purge', 'MWD');
 
        // Prepare more Y/N selections
        foreach (array('auto_purge_active') as $entry) {