Menu="Plugins"
Title="Plugin File Install Errors"
Tag="puzzle-piece"
Cond="glob('/boot/config/plugins-error/*.plg')"
---
<?PHP
/* Copyright 2005-2023, Lime Technology
 * Copyright 2012-2023, Bergware International.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2,
 * as published by the Free Software Foundation.
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 */
?>
<?
require_once "$docroot/plugins/dynamix.plugin.manager/include/PluginHelpers.php";

echo "<table class='tablesorter' id='plugin_table'><thead>";
echo "<tr><th>"._('Plugin File')."</th><th>"._('Status')."</th><th>",_('Uninstall')."</th></tr>";
echo "</thead><tbody>";

foreach (glob("/boot/config/plugins-error/*.plg", GLOB_NOSORT) as $plugin_file) {
  $status = "<span class='orange-text'><i class='fa fa-times-circle'></i>&nbsp;"._('ERROR')."</span>";
  $action = make_link("delete", $plugin_file);
  echo "<tr><td><b>$plugin_file</b></td><td>$status</td><td>$action</td></tr>";
}

echo "</tbody></table>";
?>
:plugin_error_help:
