Après édition de page retour à la page et non à l'accueil
This commit is contained in:
parent
5768638a2e
commit
047f107f66
@ -1,13 +1,10 @@
|
|||||||
<?php echo template::formOpen('pageEditForm'); ?>
|
<?php echo template::formOpen('pageEditForm'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col1">
|
<div class="col1">
|
||||||
<?php $href = helper::baseUrl() . $this->getUrl(2); ?>
|
<?php echo template::button('configModulesBack', [
|
||||||
<?php if ($this->getData(['page', $this->getUrl(2), 'moduleId']) === 'redirection' || 'code')
|
|
||||||
$href = helper::baseUrl(); ?>
|
|
||||||
<?php echo template::button('pageEditBack', [
|
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => $href,
|
'href' => helper::baseUrl() . $this->getUrl(2),
|
||||||
'value' => template::ico('home')
|
'value' => template::ico('left')
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col1">
|
<div class="col1">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user