define('__LIST_UNCON_SENDER' , $sender);
define('__LIST_UNCON_SUBJECT', COMPILE_CODE($subj));
define('__LIST_UNCON_TEXT' , COMPILE_CODE($text));
- define('__LIST_UNCON_URL' , urlencode(base64_encode($url)));
+ define('__LIST_UNCON_URL' , encodeString($url));
define('__LIST_UNCON_STAMP' , MAKE_DATETIME($stamp, "2"));
// Load unconfirmed mail links. Hmmm, this select query is pretty cool
array(bigintval($ID)), __FILE__, __LINE__);
if (SQL_NUMROWS($result1) == 1) {
// pool table
- LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_UNCONFIRMED_POOL_MISSING_1.$ID.ADMIN_UNCONFIRMED_POOL_MISSING_2);
+ LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('ADMIN_UNCONFIRMED_POOL_MISSING', $ID)));
} elseif (SQL_NUMROWS($result2) == 1) {
// user_stats table
- LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_UNCONFIRMED_STATS_MISSING_1.$ID.ADMIN_UNCONFIRMED_STATS_MISSING_2);
+ LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('ADMIN_UNCONFIRMED_STATS_MISSING', $ID)));
} else {
// both or link is invalid
LOAD_TEMPLATE("admin_settings_saved", false, getMessage('ADMIN_UNCONFIRMED_INVALID_LINK'));