Menu="Plugins"
Title="Plugin History"
Tag="puzzle-piece"
Cond="glob('/boot/config/plugins-stale/*.plg')"
---
require_once "$docroot/plugins/dynamix.plugin.manager/include/PluginHelpers.php";
echo "
";
echo " | Plugin | Author | Version | Status | |
";
echo "";
foreach (glob("/boot/config/plugins-stale/*.plg", GLOB_NOSORT) as $plugin_file) {
// plugin name
$name = plugin("name", $plugin_file);
if ($name === false) $name = basename($plugin_file, ".plg");
// icon
$icon = icon($name);
// desc
$readme = "plugins/{$name}/README.md";
if (file_exists($readme))
$desc = Markdown(file_get_contents($readme));
else
$desc = Markdown("**{$name}**");
// author
$author = plugin("author", $plugin_file);
if ($author === false) $author = "anonymous";
// version
$version = plugin("version", $plugin_file);
if ($version === false) $version = "unknown";
// version info
$version_info = $version;
// status info
$status_info = "STALE";
// action
$action = make_link("delete", $plugin_file);
// echo our plugin information
echo "";
echo " | ";
echo "{$desc} | ";
echo "{$author} | ";
echo "{$version_info} | ";
echo "{$status_info} | ";
echo "{$action} | ";
echo "
";
}
echo "
";
?>
> These plugins were not installed because newer code already exists. It is safe to simply delete these.