<?php
/************************************************************************
- * MXChange v0.2.1 Start: 08/03/2004 *
+ * Mailer v0.2.1-FINAL Start: 08/03/2004 *
* ================ Last change: 11/19/2005 *
* *
* -------------------------------------------------------------------- *
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-}
+} // END - if
//
// The advanced overview shows detailed informations to your exchange script:
'purged_mails','purged_bonus_mails'
) as $entry) {
// Set it to zero
- $content[$entry] = 0;
+ $content[$entry] = '0';
} // END - foreach
// Extension updates found
$TITLEs[] = getMessage('ADMIN_TASK_INACTIVE_AUTOPURGE_TITLE');
}
- if (getExtensionVersion('sql_patches') >= '0.3.4') {
+ if (isExtensionInstalledAndNewer('sql_patches', '0.3.4')) {
// Check for accounts without referal
addSql("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `refid`=0 ORDER BY `userid` ASC");
$DESCRs[] = getMessage('ADMIN_TASK_LIST_ACCOUNT_NOREF');
);
// Rewrite CSS class if not last entry is reached
- if ($key < (count($sqls) - 1)) $content['bottom'] = 'bottom2';
+ if ($key < (count($sqls) - 1)) $content['bottom'] = 'bottom';
if (($value > 0) && (!empty($WHATs[$key]))) {
if (empty($TITLEs[$key])) $TITLEs[$key] = getMessage('ADMIN_TASK_UNKNOWN_LIST_TITLE');
$content['row_link'] = "<a href=\"{?URL?}/modules.php?module=admin&what=".$WHATs[$key]."\" title=\"".$TITLEs[$key]."\">".$value."</a>";
} else {
- $content['row_link'] = 0;
+ $content['row_link'] = '0';
}
// And insert the final string into extras template