Front Page

Explorers
- What is Freenet
- Donate!
- People
- Publicity
- Philosophy
- Translations

Users
- Download
- ScreenShots
- Documentation
- FAQ
- Third Party Tools
- Report Bug
- Mailing Lists

Authors
- Publishing

Developers
- Papers
- Architecture
- Browse CVS
- Public Area
- About This Site

Login & Edit

Hosted by
SourceForge


Guide for website Editors

Note: This page may only be viewed (or edited) by members of the WebAdminGroup.

Useful links

Notes

TigerSkinPlugin modifications

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.

Multi-lingual support

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.