2014-10-02 17:11:00 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Icinga\Web\Wizard;
|
|
|
|
|
2015-10-01 14:13:45 +02:00
|
|
|
$form->getElement(Wizard::BTN_NEXT)->setAttrib(
|
|
|
|
'class',
|
|
|
|
$form->getElement(Wizard::BTN_NEXT)->getAttrib('class') . ' finish'
|
|
|
|
);
|
2015-08-28 10:49:26 +02:00
|
|
|
|
2014-10-02 17:11:00 +02:00
|
|
|
?>
|
2014-10-27 14:11:24 +01:00
|
|
|
<p><?= sprintf(
|
2015-01-20 17:39:47 +01:00
|
|
|
$this->translate(
|
2015-01-21 16:52:38 +01:00
|
|
|
'You\'ve configured %1$s successfully. You can review the changes supposed to be made before setting it up.'
|
2014-11-10 10:30:52 +01:00
|
|
|
. ' Make sure that everything is correct (Feel free to navigate back to make any corrections!) so'
|
|
|
|
. ' that you can start using %1$s right after it has successfully been set up.'
|
2014-10-27 14:11:24 +01:00
|
|
|
),
|
|
|
|
$form->getSubjectTitle()
|
2014-10-02 17:11:00 +02:00
|
|
|
); ?></p>
|
|
|
|
<div class="summary">
|
2014-10-23 15:15:59 +02:00
|
|
|
<?php foreach ($form->getSummary() as $pageHtml): ?>
|
2014-10-28 15:12:40 +01:00
|
|
|
<?php if ($pageHtml): ?>
|
2014-10-16 14:52:26 +02:00
|
|
|
<div class="page">
|
2014-10-23 15:15:59 +02:00
|
|
|
<?= $pageHtml; ?>
|
2014-10-16 14:52:26 +02:00
|
|
|
</div>
|
2014-10-28 15:12:40 +01:00
|
|
|
<?php endif ?>
|
2014-10-23 15:15:59 +02:00
|
|
|
<?php endforeach ?>
|
|
|
|
</div>
|
2015-08-21 10:35:10 +02:00
|
|
|
<form
|
|
|
|
id="<?= $form->getName(); ?>"
|
|
|
|
name="<?= $form->getName(); ?>"
|
|
|
|
enctype="<?= $form->getEncType(); ?>"
|
|
|
|
method="<?= $form->getMethod(); ?>"
|
|
|
|
action="<?= $form->getAction(); ?>"
|
|
|
|
data-progress-element="<?= Wizard::PROGRESS_ELEMENT; ?>"
|
|
|
|
class="summary"
|
|
|
|
>
|
2014-10-23 15:15:59 +02:00
|
|
|
<?= $form->getElement($form->getTokenElementName()); ?>
|
|
|
|
<?= $form->getElement($form->getUidElementName()); ?>
|
2015-08-28 10:49:26 +02:00
|
|
|
<?= $form->getDisplayGroup('buttons'); ?>
|
2014-10-23 15:15:59 +02:00
|
|
|
</form>
|