Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/splash/layout/general.php File Reference

Go to the source code of this file.

Variables

 $hasheading = ($PAGE->heading)
 $hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar())
 $hasfooter = (empty($PAGE->layout_options['nofooter']))
 $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT)
 $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT)
 $custommenu = $OUTPUT->custom_menu()
 $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu))
 $bodyclasses = array()
 $bodyclasses [] = 'splash-'.splash_get_colour()
if($hassidepre &&!$hassidepost)
else if($hassidepost
&&!$hassidepre) else if(!$hassidepost
&&!$hassidepre) 
$haslogo = (!empty($PAGE->theme->settings->logo))
 $hasfootnote = (!empty($PAGE->theme->settings->footnote))
 $hidetagline = (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1)

Variable Documentation

$bodyclasses = array()

Definition at line 15 of file general.php.

$bodyclasses[] = 'splash-'.splash_get_colour()

Definition at line 16 of file general.php.

$custommenu = $OUTPUT->custom_menu()

Definition at line 9 of file general.php.

$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu))

Definition at line 10 of file general.php.

$hasfooter = (empty($PAGE->layout_options['nofooter']))

Definition at line 5 of file general.php.

$hasfootnote = (!empty($PAGE->theme->settings->footnote))

Definition at line 26 of file general.php.

$hasheading = ($PAGE->heading)

Definition at line 3 of file general.php.

if ($hassidepre &&!$hassidepost) else if ($hassidepost &&!$hassidepre) else if (!$hassidepost &&!$hassidepre) $haslogo = (!empty($PAGE->theme->settings->logo))

Definition at line 25 of file general.php.

$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar())

Definition at line 4 of file general.php.

$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT)

Definition at line 7 of file general.php.

$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT)

Definition at line 6 of file general.php.

$hidetagline = (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1)

Definition at line 27 of file general.php.

 All Data Structures Namespaces Files Functions Variables Enumerations