charge les fontes avant tout + fontedit readonly
This commit is contained in:
parent
0d42ca0740
commit
f0bec949bb
@ -12,13 +12,13 @@
|
|||||||
<?php $layout->showVendor(); ?>
|
<?php $layout->showVendor(); ?>
|
||||||
<?php $layout->showStyle(); ?>
|
<?php $layout->showStyle(); ?>
|
||||||
<?php $layout->showFonts(); ?>
|
<?php $layout->showFonts(); ?>
|
||||||
|
<?php if (file_exists(self::DATA_DIR . 'font/font.css')): ?>
|
||||||
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>font/font.css?<?php echo md5_file(self::DATA_DIR . 'font/font.css'); ?>">
|
||||||
|
<?php endif; ?>
|
||||||
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
|
||||||
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/blank.css">
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/blank.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; ?>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'); ?>">
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR.'custom.css'); ?>">
|
||||||
<?php if (file_exists(self::DATA_DIR . 'font/font.css')): ?>
|
|
||||||
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>font/font.css?<?php echo md5_file(self::DATA_DIR . 'font/font.css'); ?>">
|
|
||||||
<?php endif; ?>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php $layout->showContent(); ?>
|
<?php $layout->showContent(); ?>
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
<?php $layout->showVendor(); ?>
|
<?php $layout->showVendor(); ?>
|
||||||
<?php $layout->showStyle(); ?>
|
<?php $layout->showStyle(); ?>
|
||||||
<?php $layout->showFonts(); ?>
|
<?php $layout->showFonts(); ?>
|
||||||
|
<?php if (file_exists(self::DATA_DIR . 'font/font.css')): ?>
|
||||||
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>font/font.css?<?php echo md5_file(self::DATA_DIR . 'font/font.css'); ?>">
|
||||||
|
<?php endif; ?>
|
||||||
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
|
<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); ?>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; ?>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'); ?>">
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR.'custom.css'); ?>">
|
||||||
<?php if (file_exists(self::DATA_DIR . 'font/font.css')): ?>
|
|
||||||
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>font/font.css?<?php echo md5_file(self::DATA_DIR . 'font/font.css'); ?>">
|
|
||||||
<?php endif; ?>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php $layout->showNotification(); ?>
|
<?php $layout->showNotification(); ?>
|
||||||
|
@ -14,15 +14,15 @@
|
|||||||
<?php $layout->showFavicon(); ?>
|
<?php $layout->showFavicon(); ?>
|
||||||
<?php $layout->showVendor(); ?>
|
<?php $layout->showVendor(); ?>
|
||||||
<?php $layout->showFonts(); ?>
|
<?php $layout->showFonts(); ?>
|
||||||
|
<?php if (file_exists(self::DATA_DIR . 'font/font.css')): ?>
|
||||||
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>font/font.css?<?php echo md5_file(self::DATA_DIR . 'font/font.css'); ?>">
|
||||||
|
<?php endif; ?>
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="<?php echo helper::baseUrl(false); ?>core/layout/common.css?<?php echo md5_file('core/layout/common.css'); ?>">
|
href="<?php echo helper::baseUrl(false); ?>core/layout/common.css?<?php echo md5_file('core/layout/common.css'); ?>">
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>theme.css?<?php echo md5_file(self::DATA_DIR . 'theme.css'); ?>">
|
href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>theme.css?<?php echo md5_file(self::DATA_DIR . 'theme.css'); ?>">
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR . 'custom.css'); ?>">
|
href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR . 'custom.css'); ?>">
|
||||||
<?php if (file_exists(self::DATA_DIR . 'font/font.css')): ?>
|
|
||||||
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>font/font.css?<?php echo md5_file(self::DATA_DIR . 'font/font.css'); ?>">
|
|
||||||
<?php endif; ?>
|
|
||||||
<!-- Détection RSS -->
|
<!-- Détection RSS -->
|
||||||
<?php if (
|
<?php if (
|
||||||
($this->getData(['page', $this->getUrl(0), 'moduleId']) === 'blog'
|
($this->getData(['page', $this->getUrl(0), 'moduleId']) === 'blog'
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
'autocomplete' => 'off',
|
'autocomplete' => 'off',
|
||||||
'label' => 'Identifiant (sans espace ni majuscule)',
|
'label' => 'Identifiant (sans espace ni majuscule)',
|
||||||
'value' => $this->getUrl(3),
|
'value' => $this->getUrl(3),
|
||||||
'disabled' => true
|
'readonly' => true
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
@ -70,7 +70,7 @@
|
|||||||
<?php echo template::text('fontEditFile', [
|
<?php echo template::text('fontEditFile', [
|
||||||
'label' => 'Fichier de fonte (Format WOFF)',
|
'label' => 'Fichier de fonte (Format WOFF)',
|
||||||
'value' => $this->getUrl(2) === 'files' ? $this->getData(['font', $this->getUrl(2), $this->getUrl(3), 'resource']) : '',
|
'value' => $this->getUrl(2) === 'files' ? $this->getData(['font', $this->getUrl(2), $this->getUrl(3), 'resource']) : '',
|
||||||
'disabled' => true
|
'readonly' => true
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user