* $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 *
+ * 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 *
}
// Add description as navigation point
-addMenuDescription('member', __FILE__);
+addYouAreHereLink('member', __FILE__);
if ((!isExtensionActive('wernis')) && (!isAdmin())) {
loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('wernis'));
// Is the mode set (withdraw or payout)
if ((!isGetRequestParameterSet('mode')) || (getRequestParameter('mode') == 'choose')) {
// Let the user choose what he wants to do
- $content['refid'] = getConfig(('wernis_refid'));
$content['wernis_userid'] = '0';
// Is there an id?
// Is this enougth for a payout?
if ($points < getConfig('wernis_min_payout')) {
// No, then abort here
- loadTemplate('admin_settings_saved', false, sprintf(
- getMessage('MEMBER_WERNIS_MIN_PAYOUT'),
- translateComma(getConfig('wernis_min_payout')),
- translateComma($points)
- ));
+ loadTemplate('admin_settings_saved', false, '{%message,MEMBER_WERNIS_MIN_PAYOUT=' . $points . '%}');
return;
} // END - if
// Add points to content array
$content['points'] = $points;
-
- // Get WDS66 username
- $content['wernis_userid'] = getUserData('wernis_userid');
} elseif ((getRequestParameter('mode') == 'withdraw') && (getConfig('wernis_withdraw_active') == 'Y')) {
// Prepare data for the template
$content['points'] = getTotalPoints(getMemberId());