Adressage relatif des styles du cms

This commit is contained in:
LC 2023-02-03 17:37:59 +01:00
parent 72d64cc93b
commit 416a38a6ad
1 changed files with 9 additions and 7 deletions

View File

@ -12,12 +12,14 @@ else { echo '<html lang="'.$lang.'">'; }
$this->showMetaTitle();
if( $this->getData(['config', 'social', 'headFacebook' ]) === true) $this->showMetaPropertyFacebook();
?>
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/mediaqueries.css">
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>theme.css">
<?php $this->showStyle();
$this->showVendorCss(); echo PHP_EOL;?>
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css">
<link rel="stylesheet" href="core/layout/common.css">
<link rel="stylesheet" href="core/layout/mediaqueries.css">
<link rel="stylesheet" href="<?php echo self::DATA_DIR; ?>theme.css">
<?php
$this->showStyle();
$this->showVendorCss(); echo PHP_EOL;
?>
<link rel="stylesheet" href="<?php echo self::DATA_DIR; ?>custom.css">
<?php
$this->showFavicon();
$this->showVendor();
@ -34,7 +36,7 @@ else { echo '<html lang="'.$lang.'">'; }
<?php
if( isset ($_SESSION['screenshot'] )){
if( $_SESSION['screenshot'] === 'on'){?>
<script src="./core/vendor/screenshot/html2canvas.min.js"></script>
<script src="core/vendor/screenshot/html2canvas.min.js"></script>
<?php } }?>
</head>
<body>