]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/.php
Rewrote some code, added templates/functions:
[mailer.git] / inc / modules / sponsor / .php
index 1b7ed8c2cef988fe183c1eb32ee6ec12cf0c522d..e020648dcb1d7e0e9b6af0e34c222e0a2c251d2d 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                           *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
 if (!defined('__SECURITY')) {
        die();
 } elseif ((!isExtensionActive('sponsor'))) {
-       addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('sponsor'));
+       addFatalMessage(__FILE__, __LINE__, '{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}');
        return;
 } elseif (!isSponsor()) {
        // No sponsor!
-       addFatalMessage(__FILE__, __LINE__, getMessage('SPONSOR_ONLY_AREA_ENTERED'));
+       addFatalMessage(__FILE__, __LINE__, '{--SPONSOR_ONLY_AREA_ENTERED--}');
        return;
 }
 
-// Put all HTML code into $OUT!
-// E.g.: $OUT = loadTemplate('sponsor_template', true);
+// Put all HTML code into $GLOBALS['sponsor_output']!
+// E.g.: $GLOBALS['sponsor_output'] = loadTemplate('sponsor_template', TRUE);
 
 // [EOF]
 ?>