http://svnweb.tuxfamily.org/filedetails.php?repname=sitetf+%28sitetf%29&path=%2Ftrunk%2Fdoc%2FBASICS&rev=0&sc=0
Basics for this website
You have a index.php page. In fact, you can give two arguments :
page : the page displayed in the center
lang : the language of the page
For example : index.php?lang=fr&page=help
If the page does not exists, it display the main page
All the page are in documents/$lang/ (where $lang is the correct language).
The english language (en) is the default.
The left.php, menu.php and fortunes.php are used to display the menu, the fortunes and the left part of the page.
Use XML and curl, to fetch rss informations from panel.
add
- that the english page has to be created first, then french and perhaps spanish (german welcome...)
evolutions
- manage the browser's language (by default) to display the website
- use a cookie to remember which language was last chosen for http://tuxfamily.org
- add articles to store old news : perhaps article20060328.php with the content (requires a link from news)
- add the header of the panel for fast access (and homogeneity of websites)
- add faq in the header
translations
misc
svn co svn+
ssh://baud123@svn.tuxfamily.org/svnroot/sitetf/sitetf sitetf # check-out
svn ci --message "commentaire" # ou alors configurer SVN_EDITOR=vi
http://fr.selfhtml.org/html/reference/signes.htm [fr] pour conversion vers entités HTML