2 // check the default settings
3 if (!isset($CFG->filter_censor_badwords
)) {
4 set_config( 'filter_censor_badwords','' );
9 $txt->badwordslist
= get_string( 'badwordslist','admin' );
10 $txt->badwordsconfig
= get_string( 'badwordsconfig','admin' );
11 $txt->badwordsdefault
= get_string( 'badwordsdefault','admin' );
14 <table cellpadding=
"9" cellspacing=
"0">
16 <td align=
"right"><?php echo $txt->badwordslist
; ?></td>
17 <td><textarea type=
"text" name=
"filter_censor_badwords" cols=
"60" rows=
"10"><?php echo "$CFG->filter_censor_badwords"; ?></textarea></td>
21 <td align=
"center"><?php echo $txt->badwordsconfig
; ?><br />
22 <i><?php echo $txt->badwordsdefault
; ?></i></td>