ąźĘźął
ĄąŚĄż:źąę,ŻĘǷńŹÓĘąź,ąÓ,ĘĘóą//ظ
ĄĄż:żɺǫ́Źń,żłłążąĘ(Ҫćд)
=======================================
ĄąÓżąĘĄż:ąćдżąĘ,żłćҪĽą,Ąż
.*
ĆĄ: xxxxxxxxxxxxxxx (ĘĄ100) xxxxxxxxxxxxx
łҪó,òҪÓĆĄ
ÓĆͨĵĄĘ,ĘÓ(ąÓżąĘ),ÓĆĄҸŁŻ0
.?.?.?(ńĘôд,ccc)
(ĘôĘżąĘ? Ҳ֪ĄŃ...ą,дҪźĴĘÓż)
=================================================================================
ąÓ6ź:ǰąŻ.
1.UT_Language.pmĄźÓ:
$lng{'dirty_words'} ="ŻąęкŹÓążִĘ,뷵,к";
2.in cfg_general.cgi:
źÓ:(ҸĘĘĵطźÓ)
###---------------------------
### scud words filter
my $dirty_wordStr = "";
for (@{$cfg{'dirty_words'}}) { $dirty_wordStr .= ',' . $_ ;}
$dirty_wordStr =~ s/^\,//s;
###---------------------------------------
###---------------------------
### scud words filter
"
\n", "These words can't be posted (Separated by comma, eg: word1,word2,word3. Leave empty if none) | \n",
" " VALUE='$dirty_wordStr' class=subject> |
\n",
###----------------------------
3.in cfg_general_x.cgi
ĘĘĵطźÓ:
###---------------------------
### scud words filter
my @dirty_wordsArray = split(/\,/, $cgi->param('dirty_words'));
my $dirty_wordsStr = "";
for my $rn (@dirty_wordsArray) {
$dirty_wordsStr .= ",\'" . $rn . "\'" if length($rn);
}
$dirty_wordsStr =~ s/^,//;
$dirty_wordsStr = "[" . $dirty_wordsStr . "]";
$output .= "\$cfg\{\'dirty_words\'\} = " . $dirty_wordsStr . ";\n";
###---------------------------
4.post_edit_x.cgi,post_reply_x.cgi,topic_new_x.cgi:
śźąĄĄֵóźÓ:(Ąż $body or paramError($lng{'errBdyEmpty'}); óć)
##=============================================
## scud filter dirty words
for (@{$cfg{'dirty_words'}})
{
if($body =~/$_/i) { entryError($lng{'dirty_words'}) ; }
}
for (@{$cfg{'dirty_words'}})
{
if($subject =~/$_/i) { entryError($lng{'dirty_words'}) ; }
}
##=============================================
Wyszukiwarka
Podobne podstrony:
lL 1 (2)KoRn?lling Away From MeWL?4 L11 diag wircw06?ldy teoriaâáÓĘş ł ł (ĺ«źßÔ«ę, ĺţÔšąó, Ŭ«ó«Ó«Ąá, Ĺ«ź«óýąó)L2Porad 1 Llcyrk?lebrytowLF1 LNL3DML?LF1 L Nlwięcej podobnych podstron