ZwiiCMS/core/layout/light.php

35 lines
1.6 KiB
PHP

<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="<?php echo self::$i18n;?>">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php $this->showMetaTitle(); ?>
<?php $this->showMetaDescription(); ?>
<?php $this->showMetaType(); ?>
<?php $this->showMetaImage(); ?>
<?php $this->showFavicon(); ?>
<?php $this->showVendor(); ?>
<?php $this->showStyle(); ?>
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/light.css">
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>theme.css?<?php echo md5_file(self::DATA_DIR.'theme.css'); ?>">
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR.'custom.css'); ?>">
<!-- Import des fontes en ligne -->
<?php
if ( file_exists(self::DATA_DIR.'fonts/fonts.html') ){
include_once(self::DATA_DIR . 'fonts/fonts.html');
} ?>
<!-- Import des fontes livrés dans des fichiers WOFF -->
<?php
if (file_exists(self::DATA_DIR.'fonts/fonts.css')): ?>
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR;?>fonts/fonts.css?<?php echo md5_file(helper::baseUrl(false) . self::DATA_DIR . 'fonts/fonts.css'); ?>">
<?php endif; ?>
</head>
<body>
<?php $this->showNotification(); ?>
<div id="site" class="container light">
<section><?php $this->showContent(); ?></section>
</div>
<?php $this->showScript(); ?>
</body>
</html>