\web\lib\adminPageDecoration

Summary

Methods
Properties
Constants
__construct()
pageheader()
productheader()
defaultPagePrelude()
attributionEurope()
footer()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
sidebar()
headerDiv()
$validator
$ui
N/A

Properties

$validator

$validator : 

Type

$ui

$ui : 

Type

Methods

__construct()

__construct() 

pageheader()

pageheader(  pagetitle,   area,   authRequired = TRUE) 

This starts HTML in a default way. Most pages would call this.

Exception: if you need to add extra code in or modify the tag (e.g. onload) then you should call defaultPagePrelude, close head, open body, and then call productheader.

Parameters

pagetitle

Title of the page to display

area

the area in which this page is (displays some matching

s)

authRequired

productheader()

productheader(  area) 

the entire top of the page (<body> part)

Parameters

area

the area we are in

defaultPagePrelude()

defaultPagePrelude(  pagetitle,   authRequired = TRUE) 

Parameters

pagetitle

Title of the page to display

authRequired

does the user need to be autenticated to access this page?

attributionEurope()

attributionEurope() : 

HTML code for the EU attribution

Returns

HTML code with GEANT Org and EU attribution as required for FP7 / H2020 projects

footer()

footer() 

displays the admin area footer

sidebar()

sidebar(  advancedControls) 

Our (very modest and light) sidebar. authenticated admins get more options, like logout

Parameters

advancedControls

headerDiv()

headerDiv(  cap1,   language) 

constructs a <div> called 'header' for use on the top of the page

Parameters

cap1

caption to display in this div

language

current language (this one gets pre-set in the lang selector drop-down