Home « Server software «
Documentation: skins/alfresco/template.php
skins/alfresco/template.php - A nice centered 2-column layout
The layout makes things natural if styles are disactivated. It is made of following components:- div#wrapper - limit the horizontal size of everything, and center it in the page
- div#header_panel
- p#header_title
- ul#tabs
- div#content
- div#main_panel
- p#crumbs - path to this page, or slogan at front page
- h1 - page title
- p#page_menu - commands for this page
- div.error - to report on errors, if any
- img.icon - the main image for this page
- (page main content)
- div#side_panel
- div#footer_panel
This template implements following access keys at all pages:
- hit 1 to jump to the front page of the site
- hit 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
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 script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com