mirror of
https://github.com/Combodo/iTop.git
synced 2026-08-30 09:58:17 +02:00
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:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user