X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_sponsor.php;h=d7ee7717c2ec88010ca9007eacf98ebdb3dcc615;hb=2e394cb5b8a6225a39a6942b1fcc17c37a17a175;hp=bc1fc7e25a4cddd520513590675fb34f86c01692;hpb=27272fdaa3ad8895e6b55ec77658ad5c1f80e89c;p=mailer.git diff --git a/inc/modules/admin/what-add_sponsor.php b/inc/modules/admin/what-add_sponsor.php index bc1fc7e25a..d7ee7717c2 100644 --- a/inc/modules/admin/what-add_sponsor.php +++ b/inc/modules/admin/what-add_sponsor.php @@ -14,11 +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 * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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 - handleSponsorRequest(postRequestArray()); + displayMessage(doProcessSponsorFormRequest($messageArray)); } else { // Output form loadTemplate('admin_add_sponsor');