MDL-44213 theme_standardold: unified @package use and improved coding style
[moodle.git] / theme / standardold / layout / embedded.php
CommitLineData
4048f825
SH
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
18 * The embedded layout.
19 *
20 * @package theme_standardold
21 * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com)
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23 */
24
25echo $OUTPUT->doctype() ?>
ea878456 26<html <?php echo $OUTPUT->htmlattributes() ?>>
27<head>
28 <title><?php echo $PAGE->title ?></title>
b5d0cafc 29 <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
ea878456 30 <?php echo $OUTPUT->standard_head_html() ?>
31</head>
0ae36f66 32<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses) ?>">
ea878456 33<?php echo $OUTPUT->standard_top_of_body_html() ?>
34
35<div id="page">
36
ea878456 37<!-- END OF HEADER -->
38
39 <div id="content" class="clearfix">
3b3f3028 40 <?php echo $OUTPUT->main_content() ?>
ea878456 41 </div>
42
43<!-- START OF FOOTER -->
ea878456 44</div>
45<?php echo $OUTPUT->standard_end_of_body_html() ?>
46</body>
47</html>