]> git.mxchange.org Git - mailer.git/blobdiff - inc/footer.php
ext-coupon is still unfinished
[mailer.git] / inc / footer.php
index 72f500281c32ca384f1d1ecb01f50ab859eee467..98bcec107f2831c914eb12ae83d34a2ca7c0b42f 100644 (file)
  * $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 - 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 *
@@ -41,14 +40,17 @@ if (!defined('__SECURITY')) {
        die();
 } // END - if
 
+// Init page footer
+$GLOBALS['page_footer'] = '';
+
 // Footer disabled or already sent?
-// 1234      5                       54    45                              5    5                              543    3                              321
-if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($GLOBALS['footer_sent'] != 2))) && (getOutputMode() != 1))) {
+// 1234      5                       54    45                            5    5                            543    3                44321
+if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($GLOBALS['footer_sent'] != 2))) && (!isCssOutputMode()))) {
        // Run the filter, sweet huh?
        runFilterChain('page_footer');
 
        // Load page footer
-       loadTemplate('page_footer');
+       $GLOBALS['page_footer'] .= loadTemplate('page_footer', true);
 } // END - if
 
 // Footer has been reached