2014-10-02 17:11:00 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Icinga\Web\Wizard;
|
|
|
|
|
|
|
|
?>
|
2014-10-27 14:11:24 +01:00
|
|
|
<p><?= sprintf(
|
2014-11-11 09:24:53 +01:00
|
|
|
mt(
|
|
|
|
'setup',
|
2014-11-10 10:30:52 +01:00
|
|
|
'The wizard is now complete. You can review the changes supposed to be made before setting up %1$s.'
|
|
|
|
. ' 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>
|
2014-10-27 09:01:00 +01:00
|
|
|
<form id="<?= $form->getName(); ?>" name="<?= $form->getName(); ?>" enctype="<?= $form->getEncType(); ?>" method="<?= $form->getMethod(); ?>" action="<?= $form->getAction(); ?>">
|
2014-10-23 15:15:59 +02:00
|
|
|
<?= $form->getElement($form->getTokenElementName()); ?>
|
|
|
|
<?= $form->getElement($form->getUidElementName()); ?>
|
|
|
|
<div class="buttons">
|
|
|
|
<?= $form->getElement(Wizard::BTN_PREV); ?>
|
2014-11-10 10:30:52 +01:00
|
|
|
<?= $form->getElement(Wizard::BTN_NEXT)->setAttrib('class', 'finish'); ?>
|
2014-10-16 14:52:26 +02:00
|
|
|
</div>
|
2014-10-23 15:15:59 +02:00
|
|
|
</form>
|