From 3268ef04fbc9307062dc2e58a196515f9239baa2 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Tue, 30 Apr 2013 04:39:29 +0100 Subject: [PATCH] website - fix tracking for desktop downloads - didn't test it --- website/page/code/desktop-download.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) 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