[Xerte-dev] Re: XOT changes needed in 1.8

Pat Lockley patrick.lockley at googlemail.com
Sun May 27 11:29:37 BST 2012


I think there is an if file exists in config php for loading a file could add an else?

On 27 May 2012, at 10:33, Tom Reijnders <reijnders at tor.nl> wrote:

> The language variable in used XOT is not consistent. In config and index.php, the variable _SESSION['default_language'] is set, but in several places the variable _SESSION['toolkits_language'] is used (which is NOT set).
> 
> This means that several of the language string variables used in javascript are not set, and thus the javascript fails. This causes the problem of not being able to delete files any more.
> 
> Furthermore, if a language tree (like nl-NL) does NOT contain the definitions of all the variables there is NO fallback to English at the moment.
> 
> I'll fix that later today or tomorrow.
> 
> I will use _SESSION['toolkits_language'], and perhaps _SESSION['toolkits_default_language'], to be able to set the default language of the website at setup time.
> 
> Tom
> 
> -- 
> --
> 
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
> 
> 
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 



More information about the Xerte-dev mailing list