aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/layout.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-08-08 23:02:03 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-08-08 23:02:03 +0200
commitef18c5f848a5e4d1239bdc1d89e0cc9f75a10512 (patch)
tree23b154c9d71e15c75a201822318eaa66dcefc99e /app/view/templates/layout.php
parente75e54d23d262940acd4c7df2a8cc7b7ab1751d5 (diff)
downloadwcms-ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512.tar.gz
wcms-ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512.zip
feature : terminal style option
+ bug fix : externallinkblank missing underscore
Diffstat (limited to 'app/view/templates/layout.php')
-rw-r--r--app/view/templates/layout.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/app/view/templates/layout.php b/app/view/templates/layout.php
index b054791..3c38be4 100644
--- a/app/view/templates/layout.php
+++ b/app/view/templates/layout.php
@@ -1,17 +1,23 @@
<!DOCTYPE html>
<html>
+
<head>
<meta charset="utf8" />
-
+
<meta name="viewport" content="width=device-width" />
- <?php if(!empty($favicon)) {
+ <?php if (!empty($favicon)) {
?>
<link rel="shortcut icon" href="<?= Model::faviconpath() . $favicon ?>" type="image/x-icon">
- <?php } elseif(!empty(Config::defaultfavicon())) { ?>
+ <?php } elseif (!empty(Config::defaultfavicon())) { ?>
<link rel="shortcut icon" href="<?= Model::faviconpath() . Config::defaultfavicon() ?>" type="image/x-icon">
<?php } ?>
<title><?= $title ?></title>
<link rel="stylesheet" href="<?= $css ?>">
+ <?php
+ if (!empty(Config::interfacecss())) {
+ echo '<link rel="stylesheet" href="' . Model::csspath() . Config::interfacecss() . '">';
+ }
+ ?>
<script>
// global js vars
const basepath = '/<?= Config::basepath() ?>/';
@@ -21,7 +27,7 @@
-<?=$this->section('page')?>
+<?= $this->section('page') ?>
</html> \ No newline at end of file