Home « Server software «
Documentation: skins/skeleton/template.php
skins/skeleton/template.php - A liquid 2-column XHTML tabbed interface
The layout makes things natural if styles are disactivated. It is made of following components:- div#header_panel
- p#header_title
- p#header_slogan
- ul#tabs
- div#wrapper
- div#wrapper_prefix - top background decoration
- div#main_panel
- p#crumbs - path to this page
- img.icon - the main image for this page
- h1 - page title
- p#page_menu - commands for this page
- div.error - to report on errors, if any
- (page main content)
- div#side_panel
- div#wrapper_suffix - bottom background decoration
- div#footer_panel
Also, the main
body has an id, which is the skin variant, and a class, which is "extra" when $context['extra'] is not empty.These can be combined in the style sheet to match particular situations. Some examples:
- body#home -- at the front page
- body#sections -- section page, or section index
- body#articles -- regular page, or index of articles
- body.extra -- when some extra content has been inserted in the page
Background images have been submitted gracefully by Dave Child, who is really a gentleman.
This has been validated as XHTML 1.0 Transitional
This template implements following access keys at all pages:
- 1 to go to the front page of the site
- 2 to skip the header and jump to the main area of the page
- 9 to go to the control panel
- 0 to go to the help page
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
- Dave Child http://www.ilovejackdaniels.com/