From: Isabelle V. <ver...@fr...> - 2011-08-28 12:49:17
|
Hello Peter, In datetimepicker_css.js, I forgot to comment lines 20 to 22: lines for the first creation of the 3 global variables MonthName, WeekDayName1 and WeekDayName2. I don't know if this can help you... Before to choose to move these 3 variables in the file include/language/datetimepicker_lang.inc, I tried many solutions "to set the values" using PHP and the JText::_ directly in the datetimepicker_css.js without success... like this: var variable1=<?php echo $var1; ?>; It is probably due to a problem for the kind of quotes for javascript array. In the language files, it is not possible to use strings containing '"'. (see include/jclasses/language.php) I continue to search if there is a solution to keep the 3 variables in datetimepicker_css.js and using values defined in the language files. Isabelle. |