Nettoyage csrf dans get

This commit is contained in:
Fred Tempez 2023-06-20 20:00:28 +02:00
parent bb49c88172
commit 9b4773e551
4 changed files with 5 additions and 5 deletions

View File

@ -21,14 +21,14 @@
<div class="col1 offset6">
<?php echo template::button('pageEditDelete', [
'class' => 'buttonRed',
'href' => helper::baseUrl() . 'page/delete/' . $this->getUrl(2) . '&csrf=' . $_SESSION['csrf'],
'href' => helper::baseUrl() . 'page/delete/' . $this->getUrl(2),
'value' => template::ico('trash'),
'help' => 'Effacer la page'
]); ?>
</div>
<div class="col1">
<?php echo template::button('pageEditDuplicate', [
'href' => helper::baseUrl() . 'page/duplicate/' . $this->getUrl(2) . '&csrf=' . $_SESSION['csrf'],
'href' => helper::baseUrl() . 'page/duplicate/' . $this->getUrl(2),
'value' => template::ico('clone'),
'help' => 'Dupliquer la page'
]); ?>

View File

@ -17,7 +17,7 @@
<div class="col1 offset8">
<?php echo template::button('configAdminReset', [
'class' => 'buttonRed',
'href' => helper::baseUrl() . 'theme/reset/admin' . '&csrf=' . $_SESSION['csrf'],
'href' => helper::baseUrl() . 'theme/reset/admin',
'value' => template::ico('cancel'),
'help' => 'Réinitialiser avec le thème par défaut'
]); ?>

View File

@ -9,7 +9,7 @@
</div>
<div class="col1 offset8">
<?php echo template::button('themeAdvancedReset', [
'href' => helper::baseUrl() . 'theme/reset/custom' . '&csrf=' . $_SESSION['csrf'],
'href' => helper::baseUrl() . 'theme/reset/custom',
'class' => 'buttonRed',
'value' => template::ico('cancel'),
'help' => 'Réinitialiser la feuille de style'

View File

@ -10,7 +10,7 @@
<div class="col1 offset8">
<?php echo template::button('configManageReset', [
'class' => 'buttonRed',
'href' => helper::baseUrl() . 'theme/reset/manage' . '&csrf=' . $_SESSION['csrf'],
'href' => helper::baseUrl() . 'theme/reset/manage',
'value' => template::ico('cancel'),
'help' => 'Réinitialiser avec le thème par défaut'
]); ?>