Déplace navButton

This commit is contained in:
Fred Tempez 2023-08-29 19:52:11 +02:00
parent bf83bd85d2
commit 63ef8f8f34

View File

@ -1,18 +1,20 @@
<div class="row navButton"> <div class="navButton">
<div class="col1 textAlignCenter"> <div class="row">
<?php if ($module::$previousPage !== null) { <div class="col1 textAlignCenter">
echo template::button('navPreviousButton', [ <?php if ($module::$previousPage !== null) {
'href' => helper::baseUrl() . $module::$previousPage, echo template::button('navPreviousButton', [
'value' => template::ico($module::$leftButton) 'href' => helper::baseUrl() . $module::$previousPage,
]); 'value' => template::ico($module::$leftButton)
} ?> ]);
</div> } ?>
<div class="col1 offset10 textAlignCenter"> </div>
<?php if ($module::$nextPage !== null) { <div class="col1 offset10 textAlignCenter">
echo template::button('nabNextButton', [ <?php if ($module::$nextPage !== null) {
'href' => helper::baseUrl() . $module::$nextPage, echo template::button('nabNextButton', [
'value' => template::ico($module::$rightButton) 'href' => helper::baseUrl() . $module::$nextPage,
]); 'value' => template::ico($module::$rightButton)
} ?> ]);
} ?>
</div>
</div> </div>
</div> </div>