1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/modules/moduleupdates/views/admin_moduleupdates.html.php
brentil b95ba26e98 moduleupdates v1.2
-Fixed a bug where it was showing G3CC after a DNE
-Added the installed module version information
-Added alert for when a new module is on the system but is not yet installed
-Added alert for when an installed module is newer than the one on the system
-Added version information on the Settings page to permit incremental update verification
2010-07-16 09:48:46 +08:00

38 lines
2.0 KiB
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-admin-moduleupdates" class="g-block">
<h1> <?= t("Module Updates v1.2") ?> </h1>
<p>
<?= t("Compares your installed module version against the ones stored in the GitHub.<br><br>") ?>
<?= t("<font color=red>Red = Your version is older than the GitHub</font><br>") ?>
<?= t("<font color=green>Green = Your version is newer than the GitHub</font><br>") ?>
<?= t("<font color=orange>Orange = Your file version is newer than the installed version</font><br>") ?>
<?= t("<font color=pink>Pink = Your installed version is newer than file version</font><br>") ?>
<?= t("<font color=blue>Blue = Does Not Exist/No information available</font><br>") ?>
</p>
<ul id="g-action-status" class="g-message-block">
<li class="g-warning"><?= t("Versions are compared from the official Gallery3 (G3) and official Gallery3 Community Contributions (G3CC). Versions downloaded from the forums will not be shown.") ?></li>
</ul>
<div class="g-block-content">
<table>
<tr>
<th> <?= t("Module") ?> </th>
<th> <?= t("Your Version<br>[File/Installed]") ?> </th>
<th> <?= t("Remote Version") ?> </th>
<th> <?= t("Description") ?> </th>
</tr>
<? foreach ($vars as $module_name): ?>
<tr class="<?= text::alternate("g-odd", "g-even") ?>">
<td> <? echo "<font color=".$module_name['font_color'].">"; ?> <?= $module_name['name'] ?> </font> </td>
<td> <? echo "<font color=".$module_name['font_color'].">"; ?> <?= $module_name['code_version'] ?><? if ($module_name['version'] != '') echo "/".$module_name['version']; ?> </font> </td>
<td> <? echo "<font color=".$module_name['font_color'].">"; ?> <?= $module_name['remote_version'] ?> <?= $module_name['remote_server'] ?> </font> </td>
<td> <? echo "<font color=".$module_name['font_color'].">"; ?> <?= $module_name['description'] ?> </font> </td>
</tr>
<? endforeach ?>
</table>
</div>
</div>
<pre>
</pre>