From f398fea414cc3a2598a0486aa7997f6655d02c0a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Mar 2021 16:44:21 +0300 Subject: shorten plugin list action buttons --- classes/pref/prefs.php | 56 +++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 26 deletions(-) (limited to 'classes/pref/prefs.php') diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 5419b42dc..277334ac9 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -808,26 +808,32 @@ class Pref_Prefs extends Handler_Protected { type='checkbox'> + get_all($plugin)) > 0) { + if (in_array($name, $system_enabled)) { ?> + + + + + + + = 10) { ?> - - - - - = 10 && $is_local) { ?> - @@ -876,34 +882,32 @@ class Pref_Prefs extends Handler_Protected { - = 10) { ?> - - - get_all($plugin)) > 0) { if (in_array($name, $system_enabled) || in_array($name, $user_enabled)) { ?> - + clear - + help + + + = 10) { ?> + = 10 && $is_local) { ?> - @@ -986,7 +990,7 @@ class Pref_Prefs extends Handler_Protected { = 10) { ?> - -- cgit v1.2.3