X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_sponsor.php;h=ea2b44939817f4494e7d4524451866ca7f33419b;hb=4f7df133f736da124e6f7bd02008b9093f736451;hp=4254a691b94f38377d8781d971846b380ee7932d;hpb=3afdce4fe00b4af570122ce7b8158ced44aec7d3;p=mailer.git diff --git a/inc/modules/admin/what-add_sponsor.php b/inc/modules/admin/what-add_sponsor.php index 4254a691b9..ea2b449398 100644 --- a/inc/modules/admin/what-add_sponsor.php +++ b/inc/modules/admin/what-add_sponsor.php @@ -1,7 +1,7 @@ '{--SPONSOR_REGISTRATION_FAILED--}', + 'added' => '{--SPONSOR_REGISTRATION_COMPLETED--}', + ); + // Save sponsor in database - SPONSOR_HANDLE_SPONSOR(REQUEST_POST_ARRAY()); + displayMessage(doProcessSponsorFormRequest($messageArray)); } else { - // Prepare constants for the template - define('__SPONSOR_MIN_VALUE', getConfig('sponsor_min_points')); - // Output form - LOAD_TEMPLATE("admin_add_sponsor"); + loadTemplate('admin_add_sponsor'); } -// +// [EOF] ?>