]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mediadata.php
www is out-dated
[mailer.git] / inc / modules / admin / what-config_mediadata.php
index 7b87200ab3ff10f6865a60958167f13715bc68e3..132897acc43b233d222a9d836e817abcab28fa98 100644 (file)
  * $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, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 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()) {
        // Test timestamp
-       $STAMP = mktime(0, 0, 0, bigintval(postRequestParameter('month')), bigintval(postRequestParameter('day')), bigintval(postRequestParameter('year')));
+       $STAMP = mktime(0, 0, 0, bigintval(postRequestElement('month')), bigintval(postRequestElement('day')), bigintval(postRequestElement('year')));
        if ($STAMP > time()) {
                // Date is in the future!
-               unsetPostRequestParameter('ok');
+               unsetPostRequestElement('ok');
        } else {
                // Remove entries
-               unsetPostRequestParameter('day');
-               unsetPostRequestParameter('month');
-               unsetPostRequestParameter('year');
+               unsetPostRequestElement('day');
+               unsetPostRequestElement('month');
+               unsetPostRequestElement('year');
 
                // Remember timestamp
-               setPostRequestParameter('mt_start', $STAMP);
+               setPostRequestElement('mt_start', $STAMP);
        }
 
        // Convert some data
-       setPostRequestParameter('mt_stage', bigintval(postRequestParameter('mt_stage')));
-       if (postRequestParameter('mt_stage') <= getTotalConfirmedUser()) {
+       setPostRequestElement('mt_stage', bigintval(postRequestElement('mt_stage')));
+       if (postRequestElement('mt_stage') <= getTotalConfirmedUser()) {
                // Not enougth!
-               unsetPostRequestParameter('ok');
-       }
-}
+               unsetPostRequestElement('ok');
+       } // END - if
+} // END - if
 
 if (isFormSent()) {
        // Save data