N°9711 - Block user from going back to the setup (#954)

* N°9711 - Store setup parameters in session

* N°9711 - Restrict database parameters display to administrators in setup summary
This commit is contained in:
Eric Espié
2026-07-02 12:00:22 +02:00
committed by GitHub
parent e882df96d9
commit a335e1004b
21 changed files with 311 additions and 188 deletions

View File

@@ -43,6 +43,11 @@ class WizStepDataAudit extends WizStepInstall
return 'Next';
}
public function CanAccessToWizardStep()
{
return true;
}
public function CanMoveForward()
{
if ($this->CheckDependencies()) {
@@ -135,7 +140,7 @@ HTML
$sButtonUrl = utils::HtmlEntities($sButtonUrl);
$oPage->add_ready_script(
<<<JS
$('.ibo-setup--wizard--buttons-container tr td:nth-child(1)').after('<td style="text-align:center;"><button id="return-button" class="ibo-button ibo-is-alternative ibo-is-neutral ibo-is-hidden" type="button" onclick="window.location.href=\'$sButtonUrl\'"><span class="ibo-button--label">$sButtonLabel</span></button></td>');
$('.ibo-setup--wizard--buttons-container tr td:nth-child(1)').before('<td style="text-align:center;"><button id="return-button" class="ibo-button ibo-is-alternative ibo-is-neutral ibo-is-hidden" type="button" onclick="window.location.href=\'$sButtonUrl\'"><span class="ibo-button--label">$sButtonLabel</span></button></td>');
JS
);
}