Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/arialist/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 if ($hascustommenu) {
00019     $bodyclasses[] = 'has-custom-menu';
00020 }
00021 
00022 echo $OUTPUT->doctype() ?>
00023 <html <?php echo $OUTPUT->htmlattributes() ?>>
00024 <head>
00025     <title><?php echo $PAGE->title ?></title>
00026     <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
00027     <?php echo $OUTPUT->standard_head_html() ?>
00028 </head>
00029 
00030 <body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
00031 <?php echo $OUTPUT->standard_top_of_body_html() ?>
00032 
00033 <?php if ($hascustommenu) { ?>
00034 <div id="custommenu"><?php echo $custommenu; ?></div>
00035 <?php } ?>
00036 
00037 <div id="page">
00038 
00039     <?php if ($hasheading || $hasnavbar) { ?>
00040        <div id="wrapper" class="clearfix">
00041 
00042 <!-- START OF HEADER -->
00043 
00044             <div id="page-header" class="inside">
00045                 <div id="page-header-wrapper" class="wrapper clearfix">
00046                     <?php if ($hasheading) { ?>
00047                         <div id="header-left">
00048                             <h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
00049                         </div>
00050                         <div class="headermenu"><?php
00051                             echo $OUTPUT->login_info();
00052                                 if (!empty($PAGE->layout_options['langmenu'])) {
00053                                     echo $OUTPUT->lang_menu();
00054                                 }
00055                             echo $PAGE->headingmenu ?>
00056                         </div>
00057                     <?php } ?>
00058                 </div>
00059             </div>
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         </div>
00096 
00097 <!-- END OF CONTENT -->
00098 
00099     <?php if ($hasheading || $hasnavbar) { ?>
00100         </div>
00101     <?php } ?>
00102 
00103 <!-- START OF FOOTER -->
00104 
00105         <?php if ($hasfooter) { ?>
00106             <div id="page-footer" class="wrapper">
00107                 <p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
00108                 <?php
00109                     echo $OUTPUT->login_info();
00110                     echo $OUTPUT->home_link();
00111                     echo $OUTPUT->standard_footer_html();
00112                 ?>
00113             </div>
00114         <?php } ?>
00115 
00116 </div>
00117 <?php echo $OUTPUT->standard_end_of_body_html() ?>
00118 </body>
00119 </html>
 All Data Structures Namespaces Files Functions Variables Enumerations