2015-01-22 10:57:41 +01:00
<?php
use Icinga\Web\Wizard;
?>
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 ; ?> "
>
2015-01-22 10:57:41 +01:00
< h2 > <? = $this -> translate ( 'Modules' , 'setup.page.title' ); ?> </ h2 >
< p > <? = $this -> translate ( 'The following modules were found in your Icinga Web 2 installation. To enable and configure a module, just tick it and click "Next".' ); ?> </ p >
<?php foreach ( $form -> getElements () as $element ) : ?>
2015-08-21 10:35:10 +02:00
<?php if ( ! in_array ( $element -> getName (), array ( Wizard :: BTN_PREV , Wizard :: BTN_NEXT , Wizard :: PROGRESS_ELEMENT , $form -> getTokenElementName (), $form -> getUidElementName ()))) : ?>
2015-01-22 10:57:41 +01:00
< div class = "module" >
< h3 >< label for = " <? = $element -> getId (); ?> " >< strong > <? = $element -> getLabel (); ?> </ strong ></ label ></ h3 >
< label for = " <? = $element -> getId (); ?> " > <? = $element -> getDescription (); ?> </ label >
<? = $element ; ?>
< / div >
<?php endif ?>
<?php endforeach ?>
<? = $form -> getElement ( $form -> getTokenElementName ()); ?>
<? = $form -> getElement ( $form -> getUidElementName ()); ?>
2015-08-28 10:49:26 +02:00
<? = $form -> getDisplayGroup ( 'buttons' ); ?>
2015-01-22 10:57:41 +01:00
< / form >