Home « Server software «
Documentation: skins/digital/template.php
skins/digital/template.php - A liquid 3-column XHTML tabbed interface
This skin features:- fixed and dynamic tabs
- a fixed left column
- an optional 3rd column on the right
- size of the 3rd column may adjusted through CSS depending on the URL
The layout is made of following components:
- div#header_panel
- p#header_title
- p#header_slogan
- ul#tabs
- div#wrapper
- div#extra_panel
- 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#footer_panel
- div#side_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
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