From 32694a5e9f17f7e69c35c99ce67a9e79835f50cc Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sun, 24 Aug 2008 16:11:29 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=15932 --- doc/download_all.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/download_all.php b/doc/download_all.php index 1606f32753..9c558a7b73 100644 --- a/doc/download_all.php +++ b/doc/download_all.php @@ -136,7 +136,7 @@ function show_platform($short_name, $p, $dev) { function show_platform_xml($short_name, $p, $dev) { foreach ($p["versions"] as $i=>$v) { if (!$dev && is_dev($v)) continue; - //if (!$dev && ((time() - strtodate($v["date"])) > 86400*30) continue; + //if (!$dev && ((time() - strtodate($v["date"])) >= 86400*30) continue; show_version_xml($v, $p); } } @@ -163,16 +163,13 @@ if ($pname && $version) { if ($xml) { header('Content-type: text/xml'); - echo " - - + echo " + "; foreach($platforms as $short_name=>$p) { show_platform_xml($short_name, $p, $dev); } - echo " - \n -"; + echo "\n"; } else { if ($pname) { $p = $platforms[$pname];