Set/read plugin-installed flag

This commit is contained in:
billz
2024-12-26 08:04:16 -08:00
parent 92ba7df9c6
commit ad36695224
4 changed files with 49 additions and 38 deletions

View File

@@ -428,7 +428,7 @@ class PluginInstaller
if ($installed === true ) {
$button = '<button type="button" class="btn btn-outline btn-primary btn-sm text-nowrap"
name="plugin-details" data-bs-toggle="modal" data-bs-target="#install-user-plugin"
data-plugin-manifest="' .$manifest. '"> ' . _("Installed") .'</button>';
data-plugin-manifest="' .$manifest. '" data-plugin-installed="' .$installed. '"> ' . _("Installed") .'</button>';
} else {
$button = '<button type="button" class="btn btn-outline btn-primary btn-sm text-nowrap"
name="install-plugin" data-bs-toggle="modal" data-bs-target="#install-user-plugin"