diff --git a/views/myplugins/overview.php b/views/myplugins/overview.php index 4beadd2693387763c58c6198533b6696def9b490..554925d3a6c4134ade48e82546c0967fdd75b74c 100755 --- a/views/myplugins/overview.php +++ b/views/myplugins/overview.php @@ -3,6 +3,7 @@ <tr> <th><?= _("Name") ?></th> <th><?= _("Letztes Update") ?></th> + <th><?= _("Maximale Stud.IP-Version") ?></th> <th></th> <th></th> </tr> @@ -28,6 +29,17 @@ ?> <?= date("j.n.Y, G:i", $chdate) ?> <?= _("Uhr") ?> </td> + <td> + <? + $max = "0.1"; + foreach ($marketplugin->releases as $release) { + if (version_compare($max, $release['studip_max_version'], "<")) { + $max = $release['studip_max_version']; + } + echo htmlReady($max === "0.1" ? "?" : $max); + } + ?> + </td> <td> <? if (!$marketplugin['publiclyvisible']) : ?> <?= Assets::img("icons/20/grey/lock-locked.png.png", array('title' => _("Plugin ist nicht �ffentlich"))) ?>