From 8a8be213f740a887bfee69534fe15c440ae6fee1 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 4 Feb 2025 23:45:06 -0800 Subject: [PATCH] Display plugins in monitor mode, suppress details dialog --- src/RaspAP/Plugins/PluginInstaller.php | 2 +- templates/system/plugins.php | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/RaspAP/Plugins/PluginInstaller.php b/src/RaspAP/Plugins/PluginInstaller.php index 0da29cf2..6ff6ebf8 100644 --- a/src/RaspAP/Plugins/PluginInstaller.php +++ b/src/RaspAP/Plugins/PluginInstaller.php @@ -390,7 +390,7 @@ class PluginInstaller $button = ''; - } else { + } elseif (!RASPI_MONITOR_ENABLED) { $button = ''; diff --git a/templates/system/plugins.php b/templates/system/plugins.php index 194e161e..4d875c49 100644 --- a/templates/system/plugins.php +++ b/templates/system/plugins.php @@ -1,19 +1,19 @@

+ +
+
+ - -
-
- -
- Details for more information and to install a plugin."); ?> -
- -
+
+ Details for more information and to install a plugin."); ?>
+ +
+