Code: Select all
Parse error: syntax error, unexpected ''legend3'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /home/warsro/public_html/forum/includes/acp/acp_board.php on line 69
Code: Select all
'legend3' => 'ACP_SUBMIT_CHANGES',
Moderators: Moderatori ajutatori, Moderatori
Code: Select all
Parse error: syntax error, unexpected ''legend3'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /home/warsro/public_html/forum/includes/acp/acp_board.php on line 69
Code: Select all
'legend3' => 'ACP_SUBMIT_CHANGES',
Code: Select all
'warnings_expire_days'
Code: Select all
'warnings_ban' => array('lang' => 'WARNINGS_BAN', 'validate' => 'int', 'type' => 'text:3:4', 'explain' => true, 'append' => ' ' . $user->lang['WARNINGS']),
'warnings_ban_expire' => array('lang' => 'WARNINGS_BAN_EXPIRE', 'validate' => 'int', 'type' => 'text:3:4', 'explain' => true, 'append' => ' ' . $user->lang['MINUTES']),
Code: Select all
add_log('mod', $row['forum_id'], $row['topic_id'], 'LOG_USER_WARNING', $user_row['username']);
Code: Select all
$user_row['user_warnings']++;
if ($user_row['user_warnings'] >= $config['warnings_ban'])
{
//User has reached maximum number of warnings, and will be banned.
if(!function_exists('user_ban'))
{
include("{$phpbb_root_path}includes/functions_user.$phpEx");
}
user_ban('user', array($user_row['username']), $config['warnings_ban_expire'], false, 0, $user->lang['AUTO_WARN_BAN']);
}
Code: Select all
'APPROVE_POSTS_CONFIRM' => '
Code: Select all
'AUTO_WARN_BAN' => 'User has reached maximum warnings, and has been automaticly banned.',
Code: Select all
'WARNINGS_EXPIRE_EXPLAIN' => '
Code: Select all
'WARNINGS_BAN' => 'Numbers of warnings before users will be banned',
'WARNINGS_BAN_EXPLAIN' => 'Numbers of warnings before users will be automatically banned.',
'WARNINGS_BAN_EXPIRE' => 'Expire time for automatic bans',
'WARNINGS_BAN_EXPIRE_EXPLAIN' => 'The time (In minutes) that the automatic ban by x warnings expires.',