array($points, bigintval(getRequestParameter('id'))), __FILE__, __LINE__);
// Remember points /reason for the template
array($points, bigintval(getRequestParameter('id'))), __FILE__, __LINE__);
// Remember points /reason for the template
$content['reason'] = secureString(postRequestParameter('reason'));
// Send email
$message = loadEmailTemplate('sponsor_add_points', $content);
$content['reason'] = secureString(postRequestParameter('reason'));
// Send email
$message = loadEmailTemplate('sponsor_add_points', $content);
array($points, bigintval(getRequestParameter('id'))), __FILE__, __LINE__);
// Remember points /reason for the template
array($points, bigintval(getRequestParameter('id'))), __FILE__, __LINE__);
// Remember points /reason for the template
$content['reason'] = secureString(postRequestParameter('reason'));
// Send email
$message = loadEmailTemplate('sponsor_sub_points', $content);
$content['reason'] = secureString(postRequestParameter('reason'));
// Send email
$message = loadEmailTemplate('sponsor_sub_points', $content);
postRequestParameter('gender' , translateGender(postRequestParameter('gender')));
postRequestParameter('warning_interval', createFancyTime(postRequestParameter('warning_interval')));
postRequestParameter('gender' , translateGender(postRequestParameter('gender')));
postRequestParameter('warning_interval', createFancyTime(postRequestParameter('warning_interval')));
// Load email template and send the mail away
$message = loadEmailTemplate('admin_sponsor_edit', postRequestArray(), false);
// Load email template and send the mail away
$message = loadEmailTemplate('admin_sponsor_edit', postRequestArray(), false);
- } elseif (isFileReadable(sprintf("%stemplates/%s/html/admin/%s.tpl", getConfig('PATH'), getLanguage(), $TPL))) {
+ } elseif (isFileReadable(sprintf("%stemplates/%s/html/admin/%s.tpl", getPath(), getLanguage(), $TPL))) {