csrf gallery

This commit is contained in:
Fred Tempez 2023-06-20 20:32:23 +02:00
parent 8397e5eb0c
commit 119063342b
2 changed files with 3 additions and 3 deletions

View File

@ -9,13 +9,13 @@
</div>
<div class="col1 offset8">
<?php echo template::button('galleryConfigOption', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/galleries/' . $_SESSION['csrf'],
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/galleries/',
'value' => template::ico('sliders')
]); ?>
</div>
<div class="col1">
<?php echo template::button('galleryConfigTheme', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/' . $_SESSION['csrf'],
'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/',
'value' => template::ico('brush')
]); ?>
</div>

View File

@ -9,7 +9,7 @@
</div>
<div class="col1 offset8">
<?php echo template::button('galleryConfigOption', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $this->getUrl(2) . '/'. $_SESSION['csrf'],
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $this->getUrl(2),
'value' => template::ico('sliders')
]); ?>
</div>