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