oredre des tableaux
This commit is contained in:
parent
a566883b06
commit
cb3a3d82c5
@ -475,14 +475,12 @@ class plugin extends common {
|
||||
'href' => helper::baseUrl(). $this->getUrl(0) . '/dataExport/' . $keyi18n . '/' . $pagesInfos[$keyi18n][$keyPage]['moduleId'] . '/' . $keyPage . '/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
||||
'value' => template::ico('download'),
|
||||
'help' => 'Exporter les données du module'
|
||||
])
|
||||
/*
|
||||
]),
|
||||
template::button('moduleImport' . $keyPage, [
|
||||
'href' => helper::baseUrl(). $this->getUrl(0) . '/dataImport/' . $keyi18n . '/' . $pagesInfos[$keyi18n][$keyPage]['moduleId'] . '/' . $keyPage . '/' . $_SESSION['csrf'],// appel de fonction vaut exécution, utiliser un paramètre
|
||||
'value' => template::ico('upload'),
|
||||
'help' => 'Importer les données du module'
|
||||
])
|
||||
*/
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -16,35 +16,54 @@
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col1 offset9">
|
||||
<?php echo template::button('configModulesStore', [
|
||||
<?php echo template::button('configModulesStore', [
|
||||
'href' => helper::baseUrl() . 'plugin/store',
|
||||
'value' => template::ico('shopping-basket'),
|
||||
"help" => 'Catalogue de modules en ligne'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if($module::$modulesOrphan): ?>
|
||||
<h3>Suppression des modules orphelins</h3>
|
||||
<?php echo template::table([2, 2, 1, 6, 1], $module::$modulesOrphan, [ 'Module', 'moduleId', 'Version', '', '']); ?>
|
||||
<?php endif; ?>
|
||||
<?php if($module::$modulesInstalled): ?>
|
||||
<h3>Sauvegarde des modules</h3>
|
||||
<?php echo template::table([2, 2, 1, 5, 1, 1], $module::$modulesInstalled, [ 'Module', 'moduleId', 'Version', '', '', '']); ?>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Sauvegarde des modules installés</h4>
|
||||
<?php echo template::table([2, 2, 1, 5, 1, 1], $module::$modulesInstalled, [ 'Module', 'moduleId', 'Version', '', '', '']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php echo template::speech('Aucun module installé.'); ?>
|
||||
<?php endif; ?>
|
||||
<?php if($module::$modulesData): ?>
|
||||
<div class="row">
|
||||
<div class="col11">
|
||||
<h3>Sauvegarde des données des modules installés</h3>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Données des modules installés</h4>
|
||||
<div class="row">
|
||||
<div class="col1 offset11">
|
||||
<?php echo template::button('configModuledataImport', [
|
||||
'href' => helper::baseUrl() . 'dataImport',
|
||||
'value' => template::ico('upload'),
|
||||
"help" => 'Importer des données de module dans une page libre'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::table([2, 2, 1, 1, 4, 1, 1], $module::$modulesData, [ 'Module', 'moduleId', 'Version', 'Langue', 'Page (id)', '', '']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col1">
|
||||
<?php echo template::button('configModuledataImport', [
|
||||
'href' => helper::baseUrl() . 'dataImport',
|
||||
'value' => template::ico('upload'),
|
||||
"help" => 'Importer des données de module'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo template::table([2, 2, 1, 1, 5, 1], $module::$modulesData, [ 'Module', 'moduleId', 'Version', 'Langue', 'Page (id)', '']); ?>
|
||||
<?php else: ?>
|
||||
<?php echo template::speech('Aucun module installé.'); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if($module::$modulesOrphan): ?>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Désinstallation des modules orphelins</h4>
|
||||
<?php echo template::table([2, 2, 1, 6, 1], $module::$modulesOrphan, [ 'Module', 'moduleId', 'Version', '', '']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue
Block a user