ZwiiCMS/core/module/plugin/view/upload/upload.php

50 lines
1.6 KiB
PHP
Raw Normal View History

2021-06-05 16:40:16 +02:00
<?php echo template::formOpen('configModulesUpload'); ?>
<div class="row">
2022-02-17 15:45:25 +01:00
<div class="col1">
2021-06-05 16:40:16 +02:00
<?php echo template::button('configModulesBack', [
'class' => 'buttonGrey',
2022-02-17 15:45:25 +01:00
'href' => helper::baseUrl() . 'plugin',
'value' => template::ico('left')
2021-06-05 16:40:16 +02:00
]); ?>
</div>
2022-02-17 15:45:25 +01:00
<div class="col1">
<?php echo template::button('pluginIndexHelp', [
'href' => 'https://doc.zwiicms.fr/installation-d-un-module',
'target' => '_blank',
2021-06-05 16:40:16 +02:00
'class' => 'buttonHelp',
2022-02-17 15:45:25 +01:00
'value' => template::ico('help'),
'help' => 'Consulter l\'aide en ligne'
2021-06-05 16:40:16 +02:00
]); ?>
</div>
2022-02-17 15:45:25 +01:00
<div class="col2 offset8">
2021-08-30 22:21:32 +02:00
<?php echo template::submit('configModulesSubmit',[
'value' => 'Valider',
'ico' => 'check'
]); ?>
</div>
2021-06-05 16:40:16 +02:00
</div>
<div class="row">
<div class="col12">
<div class="block">
2021-08-20 07:03:08 +02:00
<h4>Installer ou mettre à jour un module téléchargé </h4>
2021-06-05 16:40:16 +02:00
<div class="row">
<div class="col6 offset3">
<?php echo template::file('configModulesInstallation', [
'label' => 'Archive ZIP :',
'type' => 2
]); ?>
</div>
</div>
<div class="row">
2021-08-20 07:03:08 +02:00
<div class="col4 offset3">
2021-06-05 16:40:16 +02:00
<?php echo template::checkbox('configModulesCheck', true, 'Mise à jour forcée', [
'checked' => false,
'help' => 'Permet de forcer une mise à jour même si la version du module est inférieure ou égale à celle du module installé.',
]); ?>
</div>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>