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