From 8d08e5bc291f22e4519a2dca0cf3f9fd74e39820 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Wed, 28 Aug 2013 23:56:07 +0100 Subject: [PATCH] update desktop download page - scripts are opened in a new window - works better with the latest tampermonkey update on chrome - new categories for obsolete and deleted plugins added, in preperatin for the next release --- website/page/code/desktop-download.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/website/page/code/desktop-download.php b/website/page/code/desktop-download.php index efd0bcbf..ba5847fc 100644 --- a/website/page/code/desktop-download.php +++ b/website/page/code/desktop-download.php @@ -10,7 +10,7 @@ function iitcDesktopDownload ( $build ) print "

IITC version $iitc_version

\n"; - print "Download\n"; + print "Download\n"; } function loadPopularity() @@ -52,6 +52,8 @@ function iitcDesktopPluginDownloadTable ( $build ) 'Map Tiles' => "Alternative map layers", 'Tweaks' => "Adjust IITC settings", 'Misc' => "Unclassified plugins", + 'Obsolete' => "Plugins that are no longer recommended, due to being superceeded by others or similar", + 'Deleted' => "Deleted plugins - listed here for reference only. No download available" ); $popularity = loadPopularity(); @@ -137,7 +139,12 @@ function iitcDesktopPluginDownloadTable ( $build ) print "$plugin_users"; print "$basename"; print "$version"; - print ""; + + if ( $category != "Deleted" ) + { + print ""; + } + print "\n"; print "$description\n";