setup-modules.phtml (icingaweb2-2.11.3) | : | setup-modules.phtml (icingaweb2-2.11.4) | ||
---|---|---|---|---|
<?php | <?php | |||
use Icinga\Web\Wizard; | use Icinga\Web\Wizard; | |||
?> | ?> | |||
<form | <form | |||
id="<?= $form->getName(); ?>" | id="<?= $this->escape($form->getName()); ?>" | |||
name="<?= $form->getName(); ?>" | name="<?= $this->escape($form->getName()); ?>" | |||
enctype="<?= $form->getEncType(); ?>" | enctype="<?= $this->escape($form->getEncType()); ?>" | |||
method="<?= $form->getMethod(); ?>" | method="<?= $this->escape($form->getMethod()); ?>" | |||
action="<?= $form->getAction(); ?>" | action="<?= $this->escape($form->getAction()); ?>" | |||
class="icinga-controls" | class="icinga-controls" | |||
data-progress-element="<?= Wizard::PROGRESS_ELEMENT; ?>" | data-progress-element="<?= Wizard::PROGRESS_ELEMENT; ?>" | |||
> | > | |||
<h2><?= $this->translate('Modules', 'setup.page.title'); ?></h2> | <h2><?= $this->translate('Modules', 'setup.page.title'); ?></h2> | |||
<p><?= $this->translate('The following modules were found in your Icinga Web 2 i nstallation. To enable and configure a module, just tick it and click "Next".'); ?></p> | <p><?= $this->translate('The following modules were found in your Icinga Web 2 i nstallation. To enable and configure a module, just tick it and click "Next".'); ?></p> | |||
<?php foreach ($form->getElements() as $element): ?> | <?php foreach ($form->getElements() as $element): ?> | |||
<?php if (! in_array($element->getName(), array(Wizard::BTN_PREV, Wizard::BTN_N EXT, Wizard::PROGRESS_ELEMENT, $form->getTokenElementName(), $form->getUidElemen tName()))): ?> | <?php if (! in_array($element->getName(), array(Wizard::BTN_PREV, Wizard::BTN_N EXT, Wizard::PROGRESS_ELEMENT, $form->getTokenElementName(), $form->getUidElemen tName()))): ?> | |||
<div class="module"> | <div class="module"> | |||
<div class="header"> | <div class="header"> | |||
<h3><label for="<?= $element->getId(); ?>"><strong><?= $element->getLabel( ); ?></strong></label></h3> | <h3><label for="<?= $element->getId(); ?>"><strong><?= $element->getLabel( ); ?></strong></label></h3> | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added |