Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/sky_high/layout/report.php
Go to the documentation of this file.
00001 <?php
00002 
00003 $hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
00004 $hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
00005 $showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
00006 
00007 $custommenu = $OUTPUT->custom_menu();
00008 $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
00009 
00010 $bodyclasses = array();
00011 if (!$showsidepre) {
00012     $bodyclasses[] = 'content-only';
00013 }
00014 if ($hassidepre) {
00015     $bodyclasses[] = 'background';
00016 }
00017 
00018 if (!empty($PAGE->theme->settings->logo)) {
00019     $logourl = $PAGE->theme->settings->logo;
00020 } else {
00021     $logourl = NULL;
00022 }
00023 
00024 if (!empty($PAGE->theme->settings->footnote)) {
00025     $footnote = $PAGE->theme->settings->footnote;
00026 } else {
00027     $footnote = '<!-- There was no custom footnote set -->';
00028 }
00029 
00030 echo $OUTPUT->doctype() ?>
00031 <html <?php echo $OUTPUT->htmlattributes() ?>>
00032 <head>
00033     <title><?php echo $PAGE->title ?></title>
00034     <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
00035     <meta name="description" content="<?php p(strip_tags(format_text($SITE->summary, FORMAT_HTML))) ?>" />
00036     <?php echo $OUTPUT->standard_head_html() ?>
00037 </head>
00038 <body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
00039 <?php echo $OUTPUT->standard_top_of_body_html() ?>
00040 
00041 <div id="page">
00042     <div id="wrapper" class="clearfix">
00043 
00044 <!-- START OF HEADER -->
00045 
00046     <div id="page-header" class="clearfix">
00047         <div id="page-header-wrapper">
00048             <?php if($logourl == NULL) { ?>
00049              <h1 class="headermain">
00050                 <?php echo $PAGE->heading ?>
00051             </h1>
00052             <?php } else { ?>
00053            <img class="logo" src="<?php echo $logourl;?>" alt="Custom logo here" /><h1 class="headerwlogo">- <?php echo $PAGE->heading ?></h1>
00054             <?php } ?>
00055 
00056 
00057             <div class="headermenu">
00058                 <?php
00059                         echo $OUTPUT->login_info();
00060                            if (!empty($PAGE->layout_options['langmenu'])) {
00061                                echo $OUTPUT->lang_menu();
00062                         }
00063                            echo $PAGE->headingmenu
00064                     ?>
00065             </div>
00066         </div>
00067     </div>
00068 
00069 <!-- END OF HEADER -->
00070 
00071 <!-- START OF CONTENT -->
00072 <?php if ($hascustommenu) { ?>
00073       <div id="custommenu"><?php echo $custommenu; ?></div>
00074 <?php } ?>
00075 <div class="navbar clearfix">
00076             <?php if ($hasnavbar) { ?>
00077             <div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
00078             <div class="navbutton"> <?php echo $PAGE->button; ?></div>
00079             <?php } ?>
00080       </div>
00081 
00082 
00083 
00084 
00085 <div id="page-content-wrapper">
00086     <div id="page-content">
00087         <div id="region-main-box">
00088             <div id="region-post-box">
00089 
00090                 <div id="region-main-wrap">
00091                     <div id="region-main">
00092                         <div class="region-content">
00093                             <?php echo $OUTPUT->main_content() ?>
00094                         </div>
00095                     </div>
00096                 </div>
00097 
00098                 <?php if ($hassidepre) { ?>
00099                 <div id="region-pre" class="block-region">
00100                     <div class="region-content">
00101                         <?php echo $OUTPUT->blocks_for_region('side-pre') ?>
00102                     </div>
00103                 </div>
00104                 <?php } ?>
00105 
00106             </div>
00107         </div>
00108     </div>
00109 </div>
00110 
00111 <!-- END OF CONTENT -->
00112 
00113 
00114 
00115 <!-- START OF FOOTER -->
00116 
00117     <div id="page-footer">
00118         <div class="footnote"><?php echo $footnote; ?></div>
00119         <?php
00120         echo $OUTPUT->login_info();
00121         echo $OUTPUT->standard_footer_html();
00122         ?>
00123     </div>
00124 
00125 <!-- END OF FOOTER -->
00126 </div>
00127 </div>
00128     <p class="helplink">
00129         <?php echo page_doc_link(get_string('moodledocslink')) ?>
00130     </p><center>
00131         <?php
00132     echo $OUTPUT->home_link();
00133     echo $OUTPUT->standard_end_of_body_html() ?>
00134 </center>
00135 </body>
00136 </html>
 All Data Structures Namespaces Files Functions Variables Enumerations