
08-02-2004, 01:49 AM
|
 |
|
|
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
- Add the following phrase to phrasegroup Control Panel Stop Messages:
varname=no_reason_given
text=You must enter a reason why you are going to ban this user
(Or any other text you would like to have as an error message if no reason is given)
- In modcp/banning.php FIND
PHP Code:
// check that the target usergroup is valid
ABOVE that ADD
PHP Code:
if (!$banreason) {
print_stop_message('no_reason_given');
}
|