search plugin
- DocChicago
-
- Offline
- KISS Programmer-in-Chief
-
Stripslashes can affect Javascript code as there are some text strings in Javascript which are translated as well. If stripshlashed, it may affect the javascript function because the whole function will not work if there is some error in a string.
Try to disable stripslashes and test again. If Javascript then works, the reason is found.
Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
Please Log in or Create an account to join the conversation.
Hi,
yes it works
but
javascript is down on the advertiser pages :\'(
Please Log in or Create an account to join the conversation.
- DocChicago
-
- Offline
- KISS Programmer-in-Chief
-
Thank you for the language file.
In the meantime we tested the stripslashes function and we found out that it is not always useful due to some server configurations.
You can help yourself by modifying the Joomla language file.
Edit the file <joomla-root>/libraries/joomla/language/language.php
Find the
if ($jsSafe) {
$string = addslashes($string);
}
After that, add the
if(function_exists(\"get_magic_quotes_gpc\") && get_magic_quotes_gpc())
{
$string = stripslashes($string);
}
That should resolve your stripslashes problem.
Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
Please Log in or Create an account to join the conversation.
yep, cool. I still have some minor things to fix & you\'ll received it today
edit : here is the french package. I think it fit well, but I\'ll in a near future reread it
Attachment lang_french.zip not found
Please Log in or Create an account to join the conversation.
- DocChicago
-
- Offline
- KISS Programmer-in-Chief
-
The stripslashes function is independent from the language file. You can upload the language file and we will try to modify the ksadvertiser.html file in the meantime.
Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
Please Log in or Create an account to join the conversation.
Fraop wrote:
I\'m actually on a french translation update for the last version - new texts, minor languages correction (orthography, some words are only used in Switzerland ...), but I have an issue with the apostrophes and the lastest release of kiss advertiser - we need to add a stripslashes function before each part of text and save the php files in UTF-8, but ksavertiser.html.php is not modifiable
edit : I\'ve just see a new version of KA - looking for it
Please Log in or Create an account to join the conversation.