From 4095975f91e9f7b66211bed5461c975187e61953 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Sat, 23 Jun 2018 13:50:41 -0400 Subject: [PATCH 1/2] Plugins: Show support thread if present --- plugins/dynamix.plugin.manager/include/ShowPlugins.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/dynamix.plugin.manager/include/ShowPlugins.php b/plugins/dynamix.plugin.manager/include/ShowPlugins.php index 5c7c8726c..4e11661dd 100644 --- a/plugins/dynamix.plugin.manager/include/ShowPlugins.php +++ b/plugins/dynamix.plugin.manager/include/ShowPlugins.php @@ -78,6 +78,9 @@ foreach (glob($plugins,GLOB_NOSORT) as $plugin_link) { //version $version = plugin('version',$plugin_file) ?: "unknown"; $date = str_replace('.','',$version); +//support + $support = plugin('support',$plugin_file) ?: ""; + $support = $support ? "Support Thread" : ""; //category $category = plugin('category',$plugin_file) ?: (strpos($version,'-')!==false ? 'next' : 'stable'); //status @@ -118,7 +121,7 @@ foreach (glob($plugins,GLOB_NOSORT) as $plugin_link) { $empty = false; echo ""; echo "

$link

"; - echo "$desc"; + echo "$desc $support"; echo "$author"; echo "$version"; echo "$status"; From 2abb945dc4e6292623766e86772dd3c17fbe3195 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Sat, 23 Jun 2018 13:53:50 -0400 Subject: [PATCH 2/2] Spaces instead of tabs grr :angry: --- plugins/dynamix.plugin.manager/include/ShowPlugins.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix.plugin.manager/include/ShowPlugins.php b/plugins/dynamix.plugin.manager/include/ShowPlugins.php index 4e11661dd..5eccf205a 100644 --- a/plugins/dynamix.plugin.manager/include/ShowPlugins.php +++ b/plugins/dynamix.plugin.manager/include/ShowPlugins.php @@ -79,8 +79,8 @@ foreach (glob($plugins,GLOB_NOSORT) as $plugin_link) { $version = plugin('version',$plugin_file) ?: "unknown"; $date = str_replace('.','',$version); //support - $support = plugin('support',$plugin_file) ?: ""; - $support = $support ? "Support Thread" : ""; + $support = plugin('support',$plugin_file) ?: ""; + $support = $support ? "Support Thread" : ""; //category $category = plugin('category',$plugin_file) ?: (strpos($version,'-')!==false ? 'next' : 'stable'); //status