]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_sponsor.php
Some language strings rewritten to use getMessage()
[mailer.git] / inc / modules / admin / what-add_sponsor.php
index ce71cf8d18b55b2cc7ef80264254da1670ceb2cc..4254a691b94f38377d8781d971846b380ee7932d 100644 (file)
 
 // 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()) {
-       // Save sponsor in database
+if (isFormSent()) {
+       // Save sponsor in database
        SPONSOR_HANDLE_SPONSOR(REQUEST_POST_ARRAY());
 } else {
        // Prepare constants for the template