From 8ebc66b1e893db8d727e4cf1b23f9f866334f485 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 26 Mar 2016 14:07:06 +0000 Subject: [PATCH] Uncheck optional modules by default --- download.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/download.php b/download.php index 65e76f6..302759b 100644 --- a/download.php +++ b/download.php @@ -29,8 +29,9 @@ $module_index = json_decode(file_get_contents("module_index.json")); foreach($module_index as $module) { + $checkedText = (isset($module->optional) && $module->optional === true) ? "" : " checked"; echo(" - + $module->description $module->author @@ -87,4 +88,4 @@ - \ No newline at end of file +