12100 Remove delete languages UI option

This commit is contained in:
Fred Tempez 2022-12-29 10:08:53 +01:00
parent be62496d35
commit 3d589a023d
2 changed files with 1 additions and 6 deletions

View File

@ -230,11 +230,6 @@ class translate extends common
'help' => 'Éditer',
'disabled' => 'fr_FR' === $file
]),
template::button('translateContentLanguageUIDownload' . $file, [
'href' => helper::baseUrl() . $this->getUrl(0) . '/download/' . $file . '/' . $_SESSION['csrf'],
'value' => template::ico('download'),
'help' => 'Télécharger',
]),
template::button('translateContentLanguageUIDownload' . $file, [
'class' => version_compare($installedUI[$file]['version'], $storeUI[$file]['version']) < 0 ? 'buttonGreen' : '',
'href' => helper::baseUrl() . $this->getUrl(0) . '/update/' . $file . '/' . $_SESSION['csrf'],

View File

@ -52,7 +52,7 @@
<h4><?php echo helper::translate('Langues installées'); ?>
</h4>
<?php if ($module::$languagesUiInstalled) : ?>
<?php echo template::table([2, 1, 1, 4, 1, 1, 1, 1], $module::$languagesUiInstalled, ['Langues', 'Version', 'Date', '', '', '', '', '']); ?>
<?php echo template::table([2, 1, 1, 4, 1, 1, 1], $module::$languagesUiInstalled, ['Langues', 'Version', 'Date', '', '', '', '']); ?>
<?php endif; ?>
</div>
</div>