<?php $Module = v('module'); ?>
<?php $TheModule = v('theModule'); ?>
<small><a class="awesome orange left" href="<?php echo WWW_ROOT; ?>modules/index.html" title="retour aux modules">retour
    aux modules</a></small>
<h1 align="center">Configuration du module &ldquo;<strong><?php echo $Module->nom; ?></strong>&rdquo;</h1>

<?php
if ( $TheModule->description ){
    ?><div class="text-info"><?php
    echo $TheModule->description;
    ?></div><?php
}
?>
<?php $configs = v('configs'); ?>
<div align="center" id="configuration">
    <form action="<?php echo php_self(); ?>" class="table-css table-css-noborder" method="POST">
        <table>
            <?php foreach ($configs as $config) { ?>
            <tr>
                <td class="g"><?php echo $config->get_OPT_DESC(); ?></td>
                <td class="d">
                    <?php echo $TheModule->fieldHtml($config); ?>
                </td>
            </tr>
            <?php } ?>
        </table>
        <input type="submit" name="submit" value="enregistrer"/>
    </form>
</div>