Use upcoming functions loadPageHeader() and loadPageFooter() instead of include
[mailer.git] / inc / footer.php
index 37a86adf4b3523f64e2f0ebd4c07dcea9b3b00b9..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,63 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 08/25/2003 *
- * ===================                          Last change: 10/23/2004 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : footer.php                                       *
- * -------------------------------------------------------------------- *
- * Short description : Add the HTML code for the footer                 *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Den Fuss des HTML-Codes hinzufuegen              *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 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 *
- * the Free Software Foundation; either version 2 of the License, or    *
- * (at your option) any later version.                                  *
- *                                                                      *
- * This program is distributed in the hope that it will be useful,      *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
- * GNU General Public License for more details.                         *
- *                                                                      *
- * You should have received a copy of the GNU General Public License    *
- * along with this program; if not, write to the Free Software          *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
- * MA  02110-1301  USA                                                  *
- ************************************************************************/
-
-// Some security stuff...
-if (!defined('__SECURITY')) {
-       die();
-} // END - if
-
-// Init page footer
-$GLOBALS['__page_footer'] = '';
-
-// Footer disabled (e.g. CSS/AJAX/image output) or already sent?
-// 1234      5                         54    45                              5    5                              543    3                443    3                 443    3                  44321
-if ((((!isset($GLOBALS['__footer_sent'])) || (($GLOBALS['__footer_sent'] != 1) && ($GLOBALS['__footer_sent'] != 2))) && (!isCssOutputMode()) && (!isAjaxOutputMode()) && (!isImageOutputMode()))) {
-       // Run the filter, sweet huh?
-       runFilterChain('page_footer');
-
-       // Load page footer
-       $GLOBALS['__page_footer'] .= loadTemplate('page_footer', TRUE);
-} // END - if
-
-// Footer has been reached
-$GLOBALS['__footer_sent'] = 1;
-
-// Shutdown
-doShutdown();
-
-// [EOF]
+// @DEPRECATED
 ?>