[9.1.04] aperçu header in progress

This commit is contained in:
fredtempez 2019-05-10 22:48:04 +02:00
parent cf9f2213c9
commit d30618fe65

View File

@ -41,11 +41,11 @@
<h4>Image</h4> <h4>Image</h4>
<?php <?php
$sizes = getimagesize('site/file/source/'.$this->getData(['theme','header','image'])); $sizes = getimagesize('site/file/source/'.$this->getData(['theme','header','image']));
echo template::hidden('themeHeaderImageWidth', [ echo template::text('themeHeaderImageWidth', [
'value' => $sizes [0], 'value' => $sizes [0],
'noDirty' => true 'noDirty' => true
]); ]);
echo template::hidden('themeHeaderImageHeight', [ echo template::text('themeHeaderImageHeight', [
'value' => $sizes [1], 'value' => $sizes [1],
'noDirty' => true 'noDirty' => true
]); ]);