X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_sponsor.php;h=ea2b44939817f4494e7d4524451866ca7f33419b;hb=4f7df133f736da124e6f7bd02008b9093f736451;hp=4cb26dd0bbf4de9aee11fd6195310a2e74dbd853;hpb=b47f7363125a751ecd04146fc82b11bb7b050d00;p=mailer.git diff --git a/inc/modules/admin/what-add_sponsor.php b/inc/modules/admin/what-add_sponsor.php index 4cb26dd0bb..ea2b449398 100644 --- a/inc/modules/admin/what-add_sponsor.php +++ b/inc/modules/admin/what-add_sponsor.php @@ -14,12 +14,10 @@ * $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 - 2012 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 * @@ -43,11 +41,17 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { + // Generate message array + $messageArray = array( + 'failed' => '{--SPONSOR_REGISTRATION_FAILED--}', + 'added' => '{--SPONSOR_REGISTRATION_COMPLETED--}', + ); + // Save sponsor in database - loadTemplate('admin_settings_saved', false, doProcessSponsorFormRequest()); + displayMessage(doProcessSponsorFormRequest($messageArray)); } else { // Output form loadTemplate('admin_add_sponsor');