X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_mediadata.php;h=4a897027ca5cc61a48dd31273aee7d55b698bc0e;hb=fd0bc034f4e10c4b0feb28e85dc302ddce919339;hp=c4675ab630382d9ca25f9d9f1352b5e69b21cfee;hpb=0fe94791af05018868398d3c6c87d2b16f9557a2;p=mailer.git diff --git a/inc/modules/admin/what-config_mediadata.php b/inc/modules/admin/what-config_mediadata.php index c4675ab630..4a897027ca 100644 --- a/inc/modules/admin/what-config_mediadata.php +++ b/inc/modules/admin/what-config_mediadata.php @@ -14,10 +14,9 @@ * $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 * * * * This program is free software; you can redistribute it and/or modify * @@ -39,10 +38,10 @@ // 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 @@ -62,11 +61,11 @@ if (isFormSent()) { // Convert some data setPostRequestParameter('mt_stage', bigintval(postRequestParameter('mt_stage'))); - if (postRequestParameter('mt_stage') <= countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true)) { + if (postRequestParameter('mt_stage') <= getTotalConfirmedUser()) { // Not enougth! unsetPostRequestParameter('ok'); - } -} + } // END - if +} // END - if if (isFormSent()) { // Save data @@ -79,8 +78,8 @@ if (isFormSent()) { } else { // Make start editable $content['mt_start'] = - addSelectionBox('day' , date('d', time())). - addSelectionBox('month', date('m', time())). + addSelectionBox('day' , getDay()). + addSelectionBox('month', getMonth()). addSelectionBox('year', -1) ; }