X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fguest%2Fwhat-beg.php;h=dd19354687d8a29b0393891dde57d7bb3ca9da7f;hb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;hp=c7c826461a6fe7713850757562b968f14bdadb80;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/modules/guest/what-beg.php b/inc/modules/guest/what-beg.php index c7c826461a..dd19354687 100644 --- a/inc/modules/guest/what-beg.php +++ b/inc/modules/guest/what-beg.php @@ -14,11 +14,10 @@ * $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 * + * 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 * @@ -38,28 +37,21 @@ // 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] ?>