]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_other.php
Bad things are now 'classified' as bad (CSS class 'bad' is being used instead of...
[mailer.git] / inc / modules / admin / what-config_other.php
index 4f79de60ffb8e395baa07c4daf432985f9dc99f1..2715e1fb2c8eb9d701b0e81686a0dcf598bef390 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 *
@@ -43,34 +43,28 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (!isExtensionActive('other')) {
-       // Missing extension!
-       displayMessage(generateExtensionInactiveNotInstalledMessage('other'));
-       return;
-} // END - if
-
 // Stop saving data if one input field is !isset
 if (isFormSent()) {
        // Calculate stamps and set calculated stamps
-       setPostRequestParameter('online_timeout'       , createEpocheTimeFromSelections('online_timeout'       , postRequestArray()));
-       setPostRequestParameter('url_tlock'            , createEpocheTimeFromSelections('url_tlock'            , postRequestArray()));
-       setPostRequestParameter('profile_lock'         , createEpocheTimeFromSelections('profile_lock'         , postRequestArray()));
-       setPostRequestParameter('profile_update'       , createEpocheTimeFromSelections('profile_update'       , postRequestArray()));
-       setPostRequestParameter('resend_profile_update', createEpocheTimeFromSelections('resend_profile_update', postRequestArray()));
+       setPostRequestElement('online_timeout'       , createEpocheTimeFromSelections('online_timeout'       , postRequestArray()));
+       setPostRequestElement('url_tlock'            , createEpocheTimeFromSelections('url_tlock'            , postRequestArray()));
+       setPostRequestElement('profile_lock'         , createEpocheTimeFromSelections('profile_lock'         , postRequestArray()));
+       setPostRequestElement('profile_update'       , createEpocheTimeFromSelections('profile_update'       , postRequestArray()));
+       setPostRequestElement('resend_profile_update', createEpocheTimeFromSelections('resend_profile_update', postRequestArray()));
 
        // Online-Timeout shall be > 0 or your database will crow and crow and crow...
-       if (!isPostRequestParameterSet('online_timeout'))        { unsetPostRequestParameter('ok'); }
+       if (!isPostRequestElementSet('online_timeout'))        { unsetPostRequestElement('ok'); }
 
        // Chedck other timestamps (which can be zero!)
-       if (!isPostRequestParameterSet('profile_lock'))          { unsetPostRequestParameter('ok'); }
-       if (!isPostRequestParameterSet('url_tlock'))             { unsetPostRequestParameter('ok'); }
-       if (!isPostRequestParameterSet('profile_update'))        { unsetPostRequestParameter('ok'); }
-       if (!isPostRequestParameterSet('resend_profile_update')) { unsetPostRequestParameter('ok'); }
+       if (!isPostRequestElementSet('profile_lock'))          { unsetPostRequestElement('ok'); }
+       if (!isPostRequestElementSet('url_tlock'))             { unsetPostRequestElement('ok'); }
+       if (!isPostRequestElementSet('profile_update'))        { unsetPostRequestElement('ok'); }
+       if (!isPostRequestElementSet('resend_profile_update')) { unsetPostRequestElement('ok'); }
 
        // Check other settings
-       if (!isPostRequestParameterSet('max_send'))              { unsetPostRequestParameter('ok'); }
-       if (!isPostRequestParameterSet('code_length'))           { unsetPostRequestParameter('ok'); }
-       if (!isPostRequestParameterSet('reject_url'))            { unsetPostRequestParameter('ok'); }
+       if (!isPostRequestElementSet('max_send'))              { unsetPostRequestElement('ok'); }
+       if (!isPostRequestElementSet('code_length'))           { unsetPostRequestElement('ok'); }
+       if (!isPostRequestElementSet('reject_url'))            { unsetPostRequestElement('ok'); }
 } // END - if
 
 if (isFormSent()) {