예제 #1
0
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
/**
 * Layout - header.
 * This layout is baed on a moodle site index.php file but has been adapted to show news items in a different
 * way.
 *
 * @package   theme_snap
 * @copyright Copyright (c) 2015 Moodlerooms Inc. (http://www.moodlerooms.com)
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
$PAGE->set_popup_notification_allowed(false);
// Require standard page js.
snap_shared::page_requires_js();
echo $OUTPUT->doctype();
?>

<html <?php 
echo $OUTPUT->htmlattributes();
?>
>
<head>
    <?php 
if (stripos($PAGE->bodyclasses, 'path-blocks-reports') !== false) {
    // Fix IE charting bug (flash stuff does not work correctly in IE).
    echo "\n" . '<meta http-equiv="X-UA-Compatible" content="IE=8,9,10">' . "\n";
}
?>
<title><?php