Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19882/chat/lib
Modified Files:
swearing.lib.php3 index.lib.php3
Log Message:
Fix some bad translations ('bad words' to 'swear words')
***** Bogus filespec: -
***** Bogus filespec: 0.14/chat/lib
Index: swearing.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/swearing.lib.php3,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** swearing.lib.php3 2001/02/25 18:27:38 1.1.1.1
--- swearing.lib.php3 2001/04/10 17:39:34 1.2
***************
*** 1,4 ****
<?
! // This library allows to check for "bad words". Users cannot login or create a room with such words,
// in messages they are replaced by the "@#$*!" string or the one you choose.
// Credit for this lib goes to Gustavo Iwamoto <iw...@za...> and Fabiano R. Prestes <zo...@po...>
--- 1,4 ----
<?
! // This library allows to check for "swear words". Users cannot login or create a room with such words,
// in messages they are replaced by the "@#$*!" string or the one you choose.
// Credit for this lib goes to Gustavo Iwamoto <iw...@za...> and Fabiano R. Prestes <zo...@po...>
***************
*** 17,21 ****
);
! $ReplaceString = "@#$*!"; // String that will replace "bad words"
--- 17,21 ----
);
! $ReplaceString = "@#$*!"; // String that will replace "swear words"
Index: index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/index.lib.php3,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** index.lib.php3 2001/03/25 19:37:10 1.6
--- index.lib.php3 2001/04/10 17:39:34 1.7
***************
*** 167,171 ****
$Error = L_ERR_USR_16;
}
! // Check for bad words in the nick
elseif (C_BAD_WORDS == 1 && checkwords($U, true))
{
--- 167,171 ----
$Error = L_ERR_USR_16;
}
! // Check for swear words in the nick
elseif (C_BAD_WORDS == 1 && checkwords($U, true))
{
***************
*** 262,266 ****
$Error = L_ERR_ROM_1;
}
! // Check for bad words in room name
else if(C_BAD_WORDS == 1 && checkwords($R2, true))
{
--- 262,266 ----
$Error = L_ERR_ROM_1;
}
! // Check for swear words in room name
else if(C_BAD_WORDS == 1 && checkwords($R2, true))
{
***************
*** 614,619 ****
imgHelpOff = new Image(15,15); imgHelpOff.src = path2Chat + "images/helpOff.gif";
imgHelpOn = new Image(15,15); imgHelpOn.src = path2Chat + "images/helpOn.gif";
- imgWhoisOff = new Image(5,9); imgWhoisOff.src = path2Chat + "images/whoisOff.gif";
- imgWhoisOn = new Image(5,9); imgWhoisOn.src = path2Chat + "images/whoisOn.gif";
// Put the nick of the user who was clicked on in the messages or the users frames
--- 614,617 ----
|