2022-09-21 15:09:25 +02:00
|
|
|
<p>
|
2022-09-29 19:20:10 +02:00
|
|
|
<?php echo helper::translate('Renseignez les champs ci-dessous pour finaliser l\'installation.'); ?>
|
2022-09-21 15:09:25 +02:00
|
|
|
</p>
|
|
|
|
<?php echo template::formOpen('installForm'); ?>
|
|
|
|
<h3>
|
2022-09-29 19:20:10 +02:00
|
|
|
<?php echo helper::translate('Compte administrateur'); ?>
|
2022-09-21 15:09:25 +02:00
|
|
|
</h3>
|
|
|
|
<div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('installId', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Identifiant'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::password('installPassword', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Mot de passe'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::password('installConfirmPassword', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Confirmation'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-07 10:25:13 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::mail('installMail', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Adresse électronique'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-21 15:09:25 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('installFirstname', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Prénom'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('installLastname', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Nom'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-04 18:10:04 +02:00
|
|
|
</div>
|
2022-09-21 15:09:25 +02:00
|
|
|
<ul class="accordion" data-speed="150">
|
|
|
|
<li class="accordion-item">
|
|
|
|
<h3 class="accordion-title">
|
2022-11-07 10:25:13 +01:00
|
|
|
<?php echo '▷ ' . helper::translate('Options avancées'); ?>
|
2022-09-21 15:09:25 +02:00
|
|
|
</h3>
|
|
|
|
<div class="accordion-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2022-10-27 21:22:06 +02:00
|
|
|
<?php echo template::checkbox('installDefaultData', true, 'Ne pas charger l\'exemple de site (utilisateurs avancés)', [
|
2022-09-21 15:09:25 +02:00
|
|
|
'checked' => false
|
|
|
|
]);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('installProxyType', $module::$proxyType, [
|
|
|
|
'label' => 'Type de proxy'
|
2022-11-01 20:53:19 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2022-09-21 15:09:25 +02:00
|
|
|
<?php echo template::text('installProxyUrl', [
|
|
|
|
'label' => 'Adresse du proxy',
|
|
|
|
'placeholder' => 'cache.proxy.fr'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-11-01 20:53:19 +01:00
|
|
|
<div class="col3">
|
2022-09-21 15:09:25 +02:00
|
|
|
<?php echo template::text('installProxyPort', [
|
|
|
|
'label' => 'Port du proxy',
|
|
|
|
'placeholder' => '6060'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2022-11-01 20:53:19 +01:00
|
|
|
<?php echo template::select('installTheme', $module::$themes, [
|
2022-09-21 15:09:25 +02:00
|
|
|
'label' => 'Thème'
|
|
|
|
]); ?>
|
2022-11-01 20:53:19 +01:00
|
|
|
<?php echo template::hidden('installLanguage', [
|
|
|
|
'value' => $this->getUrl(2)
|
|
|
|
]); ?>
|
2022-09-21 15:09:25 +02:00
|
|
|
</div>
|
2022-11-01 20:53:19 +01:00
|
|
|
|
2022-09-21 15:09:25 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('installPrevious', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl(true) . '?install',
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3 offset7">
|
|
|
|
<?php echo template::submit('installSubmit', [
|
|
|
|
'value' => 'Installer'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|