X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=ajax.php;h=7ebbaae429ac3f78588e44685f8b2279afec684b;hb=2c46da5e9d74e87def9ce4db377f26920eb30b28;hp=e267e9f9b92a8540625deae9b1a9aafee09fa8ab;hpb=2a852c2894711c1818ec7246d71c2a2d7c81fbcf;p=mailer.git diff --git a/ajax.php b/ajax.php index e267e9f9b9..7ebbaae429 100644 --- a/ajax.php +++ b/ajax.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : AJAX-Abfragescript * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -63,12 +58,12 @@ loadIncludeOnce('inc/ajax-functions.php'); initAjax(); // Load header here -loadIncludeOnce('inc/header.php'); +loadPageHeader(); // Process only POST requests and that at least 'level' is set if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) { // Okay, that is valid, now check that the requested level right is valid - if (isAjaxRequestLevelValid()) { + if (isValidAjaxRequestLevel()) { // Process the request processAjaxRequest(); @@ -84,7 +79,7 @@ if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) { } // END - if // Footer -loadIncludeOnce('inc/footer.php'); +loadPageFooter(); // [EOF] ?>