2) {
@@ -66,32 +47,31 @@
$cl_button_type = '';
}
- $downloads_str .= "
$file Changelog Minecraft $mc_version $dls $dls_txt";
+ if($last_version != $mc_version && !$first)
+ $downloads_str .= "
Minecraft $mc_version";
+
+ $downloads_str .= "
$file Changelog Minecraft $mc_version $dls $dls_txt";
if($first) {
- $downloads_str .= '
Old Versions';
+ $downloads_str .= '
Old Versions';
$first = false;
- } else $downloads_str .= '
';
+ } else {
+ $downloads_str .= '
';
+ $last_version = $mc_version;
+ }
}
$total_dl_str = number_format($total_dls);
- print("
Botania has been downloaded a total of $total_dl_str times.
");
+ print("
Botania has been downloaded a total of $total_dl_str times.
Botania is under a Creative Commons BY-NC-SA License, more info (for modpacks and other purposes) can be found in the footer.
Latest Download");
print($downloads_str);
?>