]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-beg.php
Our convention says if(-else) blocks should not be put in one line
[mailer.git] / inc / modules / guest / what-beg.php
index 557f9ae292da1a85922f0c219466ea3ba04d9b13..07a7d8b6cf257198c35a5182d48e2e64cccb81f8 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 01/09/2005 *
- * ================                             Last change: 01/09/2005 *
+ * Mailer v0.2.1-FINAL                                Start: 01/09/2005 *
+ * ===================                          Last change: 01/09/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-beg.php                                     *
@@ -18,6 +18,7 @@
  * 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                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -49,17 +50,10 @@ if ((!isExtensionActive('beg')) && (!isAdmin())) {
        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')));
 
 // Load final template
-loadTemplate('guest_beg', false, $content);
+loadTemplate('guest_beg');
 
 // [EOF]
 ?>