|
|
|
Note: This page may only be viewed (or edited) by members of the WebAdminGroup.
I [Ian] have modified the TigerSkinPlugin.pm so that rather than having a fancy custom language for defining menus in the WebMenu
topic, it simply copies the topic verbatim. This has the disadvantage that menus no longer collapse and un-collapse, but the advantage that it is more flexible, and that where the old mechanism was a browser-compatability nightmare, the new mechanism can stick to nice 100% certified HTML.
Additionally, I have added Developer and Actions sections to the menu, which are only displayed for logged in users. This basically makes the website look like "Just Another Website" to non-logged in users.
There are two components to the multi-language support. Firstly, a separate "web" has been created for each language, named according to the language's two-letter language code, for example, French is "FR", and Italian is "IT". The only exception is English which remains in the "Main" web. This affords much flexibility with permissions, and templates.
The second component is a simple PHP script in freenet/htdocs/index.php, which checks the HTTP_ACCEPT_LANGUAGE environment variable to see what language the user's browser is requesting, and automatically redirects the user to the appropriate page.
|
|
|