2 // check the default settings
3 // $forcereset is set in calling routine
4 if (!isset($forcereset)) {
7 if (!isset($CFG->filter_censor_badwords
) or $forcereset) {
8 set_config( 'filter_censor_badwords','' );
13 $txt->badwordslist
= get_string( 'badwordslist','admin' );
14 $txt->badwordsconfig
= get_string( 'badwordsconfig','admin' );
15 $txt->badwordsdefault
= get_string( 'badwordsdefault','admin' );
18 <table cellpadding=
"9" cellspacing=
"0">
20 <td align=
"right"><?php echo $txt->badwordslist
; ?></td>
21 <td><textarea name=
"filter_censor_badwords" cols=
"60" rows=
"10"><?php echo "$CFG->filter_censor_badwords"; ?></textarea></td>
25 <td align=
"center"><?php echo $txt->badwordsconfig
; ?><br />
26 <i><?php echo $txt->badwordsdefault
; ?></i></td>