}
if ((isset($GLOBALS['registration_short_password'])) && ($GLOBALS['registration_short_password'] === true)) {
- registerOutputFailedMessage('SHORT_PASS', ': ' . getConfig('pass_len'));
+ registerOutputFailedMessage('GUEST_SHORT_PASS', ': ' . getPassLen());
} // END - if
if ((isset($GLOBALS['registration_ip_timeout'])) && ($GLOBALS['registration_ip_timeout'] === true)) {
registerOutputFailedMessage('REMOTE_ADDR_TIMEOUT');
} // END - if
- if ((!empty($GLOBALS['register_selected_cats'])) && ($GLOBALS['register_selected_cats'] < getConfig('least_cats'))) {
- registerOutputFailedMessage('', '{--CATS_LEAST--}');
+ if ((!empty($GLOBALS['registration_selected_cats'])) && ($GLOBALS['registration_selected_cats'] < getLeastCats())) {
+ registerOutputFailedMessage('', '{--CHOOSE_MORE_CATEGORIES--}');
} // END - if
} // END - if
$content['max_receive_list'] = addMaxReceiveList('guest', '', true);
// Shall I display the refid or shall I make it editable?
- if (getConfig('display_refid') == 'Y') {
+ if (isDisplayRefidEnabled()) {
// Load "hide" form template
$content['refid_content'] = loadTemplate('guest_register_refid_hide', true);
} else {