X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_mediadata.php;h=45ff327457a7fb03bb9e765f686c575faf0c1cd2;hb=d1637dad0b2ca0e5fb411ee0843f01bfb4cc94e0;hp=aa1d9a94a2b9c000f7309936059d97eb497fed7e;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0;p=mailer.git diff --git a/inc/modules/admin/what-config_mediadata.php b/inc/modules/admin/what-config_mediadata.php index aa1d9a94a2..45ff327457 100644 --- a/inc/modules/admin/what-config_mediadata.php +++ b/inc/modules/admin/what-config_mediadata.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $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 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -33,14 +38,14 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!IS_ADMIN())) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } // Add description as navigation point -ADD_DESCR("admin", __FILE__); +ADD_DESCR('admin', __FILE__); -if (IS_FORM_SENT()) { +if (isFormSent()) { // Test timestamp $STAMP = mktime(0, 0, 0, bigintval(REQUEST_POST('month')), bigintval(REQUEST_POST('day')), bigintval(REQUEST_POST('year'))); if ($STAMP > time()) { @@ -48,9 +53,9 @@ if (IS_FORM_SENT()) { REQUEST_UNSET_POST('ok'); } else { // Remove entries - REQUEST_UNSET_POST(('day')); - REQUEST_UNSET_POST(('month')); - REQUEST_UNSET_POST(('year')); + REQUEST_UNSET_POST('day'); + REQUEST_UNSET_POST('month'); + REQUEST_UNSET_POST('year'); // Remember timestamp REQUEST_SET_POST('mt_start', $STAMP); @@ -58,26 +63,26 @@ if (IS_FORM_SENT()) { // Convert some data REQUEST_SET_POST('mt_stage', bigintval(REQUEST_POST('mt_stage'))); - if (REQUEST_POST('mt_stage') <= GET_TOTAL_DATA("CONFIRMED", "user_data", "userid", "status", true)) { + if (REQUEST_POST('mt_stage') <= GET_TOTAL_DATA('CONFIRMED', 'user_data', 'userid', 'status', true)) { // Not enougth! REQUEST_UNSET_POST('ok'); } } -if (IS_FORM_SENT()) { +if (isFormSent()) { // Save data ADMIN_SAVE_SETTINGS_POST(); } else { // Start of this exchange if (getConfig('mt_start') > 0) { // Only show start - define('__MT_START', "".MAKE_DATETIME(getConfig('mt_start'), "3").""); + define('__MT_START', '' . generateDateTime(getConfig('mt_start'), '3') . ''); } else { // Make start editable define('__MT_START', - ADD_SELECTION("day" , date("d", time())). - ADD_SELECTION("month", date("m", time())). - ADD_SELECTION("year", -1) + ADD_SELECTION('day' , date('d', time())). + ADD_SELECTION('month', date('m', time())). + ADD_SELECTION('year', -1) ); } @@ -85,7 +90,7 @@ if (IS_FORM_SENT()) { define('__MT_STAGE', getConfig('mt_stage')); // Load template - LOAD_TEMPLATE("admin_config_mediadata"); + LOAD_TEMPLATE('admin_config_mediadata'); } //