diff --git a/website/page/code/desktop-download.php b/website/page/code/desktop-download.php index 8da7750c..9845d07e 100644 --- a/website/page/code/desktop-download.php +++ b/website/page/code/desktop-download.php @@ -3,18 +3,18 @@ include_once ( "userscript.php" ); -function iitcDesktopDownload ( $path ) +function iitcDesktopDownload ( $build ) { - $iitc_details = loadUserScriptHeader ( "$path/total-conversion-build.user.js" ); + $iitc_details = loadUserScriptHeader ( "$build/total-conversion-build.user.js" ); $iitc_version = preg_replace ( '/^(\d+\.\d+\.\d+)\.(\d{8}\.\d{6})/', '\1.\2', $iitc_details['@version'] ); print "

IITC version $iitc_version

\n"; - print "Download\n"; + print "Download\n"; } -function iitcDesktopPluginDownloadTable ( $path ) +function iitcDesktopPluginDownloadTable ( $build ) { ?> @@ -29,7 +29,7 @@ function iitcDesktopPluginDownloadTable ( $path ) $name"; print ""; print ""; - print ""; - -# print "".$details['@name']."$name - version ".$details['@version'].":
\n"; -# print $details['@description']; - + print ""; print "\n"; }
$basename
$version
$descriptionDownload Download