SystemDrivers add version

Add version to module

Module (Version)
This commit is contained in:
SimonFair
2023-10-17 17:16:20 +01:00
parent 8fc34e3f4a
commit e33ec1466e
2 changed files with 8 additions and 2 deletions

View File

@@ -79,7 +79,9 @@ switch ($_POST['table']) {
$supporthtml = "<span id='link$modname'><a href='$supporturl' target='_blank'><i title='"._("Support page $pluginname")."' class='fa fa-phone-square'></i></a></span>" ;
}
}
$html .= "<td>$modname$supporthtml</td>" ;
if (isset($module["version"])) $version = "(".$module["version"].")" ; else $version = "" ;
$html .= "<td>$modname $version$supporthtml</td>" ;
$html .= "<td>{$module['description']}</td><td id=\"status$modname\">{$module['state']}</td><td>{$module['type']}</td>";
$text = "" ;