* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
return;
} // END - if
// Was the form submitted?
if ((isFormSent('edit')) && (isPostRequestParameterSet('id'))) {
// Okay, has the user entered some values?
return;
} // END - if
// Was the form submitted?
if ((isFormSent('edit')) && (isPostRequestParameterSet('id'))) {
// Okay, has the user entered some values?
// Validate percents
if ((($percents >= getConfig('refback_min_perc')) || (round($percents) == 0)) && ($percents <= getConfig('refback_max_perc'))) {
// Change ref-back for this direct id
// Validate percents
if ((($percents >= getConfig('refback_min_perc')) || (round($percents) == 0)) && ($percents <= getConfig('refback_max_perc'))) {
// Change ref-back for this direct id
- loadTemplate('admin_settings_saved', false, getMaskedMessage('MEMBER_REFBACK_ERROR_MESSAGE', $status['message']));
+ displayMessage('{%message,MEMBER_REFBACK_ERROR_MESSAGE=' . getMessage($status['message']) . '%}');
r.level ASC', __FILE__, __LINE__);
// Are there some entries? (Shall be!)
r.level ASC', __FILE__, __LINE__);
// Are there some entries? (Shall be!)
// Check for users ref in this level
foreach (getArrayFromRefbackUserRefs(getMemberId(), $content['level']) as $refRow) {
// Not-deleted account is default
$deleted = false;
// Check for users ref in this level
foreach (getArrayFromRefbackUserRefs(getMemberId(), $content['level']) as $refRow) {
// Not-deleted account is default
$deleted = false;