problem with usermgr.php using french.php revision 1.23 problem with usermgr.php using french.php revision 1.23
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

problem with usermgr.php using french.php revision 1.23

Started by lef, September 09, 2005, 10:57:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lef

Hi

I have just noticed that when using the new version 1.23 of french.php, the following functions of usermgr.php don't work:
- check/uncheck all
- the whole "with selected" menu: delete, activate,...

It works with other languages and with french.php v. 1.22

Can anyone confirm this?

Lef

Nibbler

Confirmed. This line should be properly escaped:

  'alert_no_selection' => 'vous devez d\'abord sélectionner un utilisateur!', //cpg1.4 //js-alert

Like so:

  'alert_no_selection' => 'vous devez d\\\'abord sélectionner un utilisateur!', //cpg1.4 //js-alert

François Keller

Hi,

I have found others "backslash errors" in the french.php file

change made in attached file
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

lef

Thank you. I wasn't aware of the "js-alert" problem yet.

Thanks Frantz for your changes. However, I think the file you gave us in not using UTF-8 (??).

François Keller

QuoteI think the file you gave us in not using UTF-8 (??).

Normally he is   ??? I have just make change in the JS allerts with ultraEdit
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

lef

You are right, sorry :-[
I guess I edited it wrongly before testing...

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller


François Keller

it seems,
the french.php  revision 1.24 who is in the cvs fixe this issue.
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

lef


Joachim Müller

thanks for your reply. Marked this thread accordingly.