Added alternative php. Part 12

This commit is contained in:
Alexey Berezhok
2025-02-01 23:48:29 +03:00
parent 93ccae3f18
commit 06fa9cb9c2
7 changed files with 204 additions and 82 deletions

View File

@@ -28,26 +28,26 @@ if (!empty($error_message)) {
<div class="units-table js-units-container">
<div class="units-table-header">
<div class="units-table-cell" style="width: 60%;"><?= _("PHP version") ?></div>
<div class="units-table-cell u-text-center"><?= _("Modules") ?></div>
<div class="units-table-cell u-text-center"><?= _("PHP version") ?></div>
<div class="units-table-cell u-text-center"><?= _("Action") ?></div>
</div>
<?php
foreach ($phps as $key => $value) {
?>
<div class="units-table-ro js-unit">
<div class="units-table-cell u-text-center" style="width: 60%;">
<span class="u-hide-desktop"><?= _("PHP version") ?>:</span>
<?php echo "PHP ".$phps[$key]["PHPVER"]; ?>
</div>
<div class="units-table-cell u-text-center-desktop">
<span class="u-hide-desktop"><?= _("Modules") ?>:</span>
<a href="/extm/php_brepo_modules/edit/?ver=<?= urlencode($phps[$key]['PHPVER']) ?>" title="<?= $phps[$key]['PHPVER'] ?>">
<?= _("Change PHP modules list") ?>
</a>
</div>
<div class="units-table-row js-unit">
<div class="units-table-cell u-text-center">
<span class="u-hide-desktop"><?= _("PHP version") ?>:</span>
<?php echo "PHP ".$phps[$key]["PHPVER"]; ?>
</div>
<div class="units-table-cell u-text-center-desktop">
<span class="u-hide-desktop"><?= _("Action") ?>:</span>
<?= _("Change modules list") ?>
<a href="/extm/php_brepo_modules/edit/?ver=<?= urlencode($phps[$key]['PHPVER']) ?>" title="<?= _("Change modules list for PHP") ?><?= $phps[$key]['PHPVER'] ?>">
<i class="fa-solid fa-gear icon-purple"></i>
</a>
</div>
</div>
<?php } ?>
</div>