Skip to content

Commit

Permalink
NEW: Show Required PHP Module on Hover for zip
Browse files Browse the repository at this point in the history
 - detects as optional, mentions config files on hover - closes #25
  • Loading branch information
aljawaid committed Sep 20, 2023
1 parent a760dd6 commit 6bb4fc4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Template/config_sections/php-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,14 @@
</span>
</div>
<!-- zip -->
<div class="tile-wrapper">
<div class="tile-wrapper tile-optional-hover">
<?php if (!extension_loaded('zip')): ?>
<div class="tile-hover-plugin">
<div class="tile-hover-plugin-text-wrapper">
<div class="tile-hover-plugin-text"><?= t('Required for downloading config files') ?></div>
</div>
</div>
<?php endif ?>
<div class="tile-name" title="<?= t('PHP Extension Name') ?>"><code>zip</code></div>
<div class="tile-version value-version" title="<?= t('Version') ?>">
<?php if (extension_loaded('zip')): ?>
Expand Down

0 comments on commit 6bb4fc4

Please sign in to comment.