diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-09-28 13:24:33 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-09-28 13:24:33 +0200 |
| commit | 933104c628f72ac7cfc09ceb75d624c133fd78e2 (patch) | |
| tree | 64d8080e998dd0f54517f65965e94df212a4c3cc /views/admin/modulelist.phtml | |
| parent | 7c6283033fc00c810d0d4016638e4667dbe59431 (diff) | |
Modulübersicht: Beta-Module derselben Build als verfügbar anzeigen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/admin/modulelist.phtml')
| -rw-r--r-- | views/admin/modulelist.phtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/admin/modulelist.phtml b/views/admin/modulelist.phtml index 9704987..bfcf77e 100644 --- a/views/admin/modulelist.phtml +++ b/views/admin/modulelist.phtml @@ -24,6 +24,8 @@ ?>
<?php if (wpsg_isSizedArray($wpsg_update_data['modulinfo'])) { ?>
+
+ <?php $arBetaModule = wpsg_get_beta_modules($wpsg_update_data['modulinfo']); $beta_version = wpsg_get_beta_version(); ?>
<?php /* foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { if ($modul_info['active'] !== true) unset($wpsg_update_data['modulinfo'][$modul_key]); } */ ?>
@@ -40,6 +42,7 @@ <?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { ?>
<?php /* Installierte Modulversion; Module ohne deklariertes $version liefern null -> vor PHP-8-Warnungen und version_compare()-Deprecations schuetzen. */ ?>
<?php $modul_version_installed = ($this->shop->hasModInstalled($modul_key) ? ($this->shop->arAllModule[$modul_key]->version ?? '') : ''); ?>
+ <?php if (isset($arBetaModule[$modul_key])) $modul_info['version'] = $modul_info['version_latest'] = $beta_version; ?>
<tr style="font-style:normal;" class="<?php
if ($modul_info['free'] === true) echo 'active';
|
