Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: skins/page.php

Class Page - Help to build final web pages

This is a library of function to be used from within skin templates.

This template implements following access keys at all pages:

This script is a reference file of this system.

Licence: GNU Lesser General Public License

Auteurs:

Testeurs:

body() - Start page body

function body()

This function generates a <body> tag with id and class. The id is the skin variant, as found in $context['skin_variant']. The class is set to 'extra' if $context['extra'] is not empty.

bread_crumbs() - Show bread crumbs

function bread_crumbs($start_level=1, $with_slogan=FALSE)

Show the content of $content['path_bar'] as a list of links.

The length of the list depends of the value of the first parameter:

content() - Send the main content of the page

function content($with_page_menu=TRUE)

extra_panel() - Show the extra panel of the page

function extra_panel()

footer() - Echo the standard footer

function footer($prefix='')

side() - Show the side panel of the page

function side($with_extra=FALSE)

tabs() - Show site tabs

function tabs($with_home=TRUE, $with_reverse=FALSE)

Tabs are derivated by top-level sections of the server.

top_focus() - Identify top level of focus

function top_focus($prefix='tab_')

Tools
Browse the source of this script
Server software