[9.2.06] autres petites corrections

This commit is contained in:
fredtempez 2019-09-18 18:31:40 +02:00
parent 8becd89e18
commit 8de6e2af0a
2 changed files with 7 additions and 8 deletions

View File

@ -618,11 +618,7 @@ class common {
PHP_EOL . PHP_EOL .
'# ZWII CONFIG ---------' . PHP_EOL . '# ZWII CONFIG ---------' . PHP_EOL .
'User-agent: *' . PHP_EOL . 'User-agent: *' . PHP_EOL .
// 'Disallow: /core/' . PHP_EOL . 'Disallow: /site/' .PHP_EOL .
// 'Disallow: /module/' .PHP_EOL .
'Disallow: /site/data/' .PHP_EOL .
'Disallow: /site/tmp/' .PHP_EOL .
'Disallow: /site/backup/' .PHP_EOL .
'Allow: /site/file/' .PHP_EOL . 'Allow: /site/file/' .PHP_EOL .
'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml' . PHP_EOL . 'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml' . PHP_EOL .
'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml.gz' . PHP_EOL . 'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml.gz' . PHP_EOL .
@ -904,7 +900,7 @@ class common {
// Version 9.0.09 // Version 9.0.09
if($this->getData(['core', 'dataVersion']) < 9009) { if($this->getData(['core', 'dataVersion']) < 9009) {
$this->setData(['core', 'dataVersion', 9009]); $this->setData(['core', 'dataVersion', 9009]);
$this->SaveData(); $this->saveData();
} }
// Version 9.0.10 // Version 9.0.10
if($this->getData(['core', 'dataVersion']) < 9010) { if($this->getData(['core', 'dataVersion']) < 9010) {

View File

@ -190,7 +190,7 @@
) )
) { $position = 'site'; } else { ) { $position = 'site'; } else {
$position = 'body'; $position = 'body';
//echo '</div>'; echo '</div>';
} }
?> ?>
<!-- Pied de page --> <!-- Pied de page -->
@ -245,7 +245,10 @@
</div> </div>
</div> </div>
</footer> </footer>
</div> <?php
if ($this->getData(['theme', 'footer', 'position']) === 'site') {
echo '</div>';
} ?>
<!-- Lien remonter en haut --> <!-- Lien remonter en haut -->
<div id="backToTop"><?php echo template::ico('up'); ?></div> <div id="backToTop"><?php echo template::ico('up'); ?></div>
<?php $layout->showScript();?> <?php $layout->showScript();?>