PEAK XOOPS - emlh: not work in xcgal in englishin japanese

emlh: not work in xcgal

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/9/22 16:57
irmtfan  »°Åù·³Áâ   Posts: 96
it just show the default language( english) and refuse to change:
http://www.jadoogaran.org/modules/xcgal
Votes:12 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/9/30 4:19
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I don't know xcgal well.

Possibilities:

xcgal interprets a pair of brackets.
Votes:12 Average:8.33
Previous post - Next post | Parent - Children.1 | Posted on 2006/9/30 18:11
irmtfan  »°Åù·³Áâ   Posts: 96
xoops language change fine.
but content language dosent change as you can see and it always choose the default lang ( english)
anyway i want to change my gallery module so its not important.
Votes:15 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2008/1/14 3:09
jagi  °ìÅùʼ From: Poland  Posts: 15
identical problem ... I like xcgal (based on Coppermine Photo Gallery) and can't use EMLH.

I try debug code ...
- switching to default language by easiestml.php:
----------------------------------------
// protection against some injection
if( ! in_array( $easiestml_lang , $easiestml_langs ) ) {
$easiestml_lang = $easiestml_langs[0] ;
}
-----------------------------------------
$easiestml_lang in this step looks NULL , but after and before
ob_start( 'easiestml' ) ; - is OK ...

In my opinion this problem with reading cookies (xcgal use cookies, too)

My lines added to test before
protection against some injection:

if (empty($easiestml_lang) || empty($_GET['easiestml_lang']) ){
$easiestml_lang = $_COOKIE['easiestml_lang']; }

- works, but need second reload page ;(

------
All other modules on this some site works fine (news, liaise, content, smartpartner)
Votes:8 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!