]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-beg.php
Updated copyright year.
[mailer.git] / inc / modules / guest / what-beg.php
index 408b0fead1ae23352ddd8754d30fd81d5a57f0c7..2cb589bcf64c4b788a94ff808a00399d2e065b7c 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Mit uns Punkte erbetteln!                        *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $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, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
  * it under the terms of the GNU General Public License as published by *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('guest', __FILE__);
+addYouAreHereLink('guest', __FILE__);
 
 if ((!isExtensionActive('beg')) && (!isAdmin())) {
-       loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('beg'));
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=beg%}');
        return;
 } // END - if
 
-// Prepare constants
-$content['points']     = translateComma(getConfig('beg_points'));
-$content['points_max'] = translateComma(getConfig('beg_points_max'));
-$content['userid']     = determineReferalId();
-
-// Selection boxes are now the default
-$content['timeout'] = createFancyTime(getConfig('beg_timeout'));
-// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout')));
+// @TODO No more needed? define('__BEG_USERID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
 
 // Load final template
-loadTemplate('guest_beg', false, $content);
+loadTemplate('guest_beg');
 
 // [EOF]
 ?>