*** empty log message ***

svn path=/trunk/boinc/; revision=4227
This commit is contained in:
Lana Alber 2004-09-23 00:12:19 +00:00
parent d910173870
commit 7e60d8baf1
3 changed files with 15 additions and 3 deletions

View File

@ -17591,6 +17591,14 @@ David 22 Sept 2004
client_state.C client_state.C
client_types.C,h client_types.C,h
Lana 22 Sept 2004
- included MD5 Checksum in the Core Client download page
html/
inc/
util.inc
download.inc
Rom 22 Sept 2004 Rom 22 Sept 2004
- Fix CPU Scheduler bug on a multi-proc machine after a project reset where - Fix CPU Scheduler bug on a multi-proc machine after a project reset where
the core client gets stuck in a loop trying to schedule work that does the core client gets stuck in a loop trying to schedule work that does

View File

@ -14,11 +14,11 @@ function platform_downloads($platform) {
$version = sprintf("%.2f", $core_version->version_num/100); $version = sprintf("%.2f", $core_version->version_num/100);
$url = parse_element($core_version->xml_doc, "<url>"); $url = parse_element($core_version->xml_doc, "<url>");
$date = date_str($core_version->create_time); $date = date_str($core_version->create_time);
$md5_cksum = parse_element($core_version->xml_doc,"<md5_cksum>");
if ($core_version->create_time > time()-($NEW_THRESHOLD*60*60*24)) { if ($core_version->create_time > time()-($NEW_THRESHOLD*60*60*24)) {
$date .= ' <font color=red>New!</font>'; $date .= ' <font color=red>New!</font>';
} }
row3("<a href=$url>$platform->user_friendly_name</a>", $version, $date); row4("<a href=$url>$platform->user_friendly_name</a>", $version, $date, $md5_cksum);
//$app_version->md5_cksum";
$found = true; $found = true;
} }
@ -29,7 +29,7 @@ function print_download_links() {
start_table(); start_table();
echo "<tr><th>Computer type<br><font size=-2>click to download</font> echo "<tr><th>Computer type<br><font size=-2>click to download</font>
</th><th>Version</th><th>Release Date</th></tr>\n </th><th>Version</th><th>Release Date</th><th>MD5 Checksum</th></tr>\n
"; ";
$result = mysql_query("select * from platform order by name"); $result = mysql_query("select * from platform order by name");
while ($platform = mysql_fetch_object($result)) { while ($platform = mysql_fetch_object($result)) {

View File

@ -226,6 +226,10 @@ function row3($x, $y, $z) {
echo "<tr><td width=30% valign=top align=right>$x</td><td>$y</td><td>$z</td></tr>\n"; echo "<tr><td width=30% valign=top align=right>$x</td><td>$y</td><td>$z</td></tr>\n";
} }
function row4($w, $x, $y, $z) {
echo "<tr><td width=30% valign=top align=right>$w</td><td>$x</td><td>$y</td><td>$z</td></tr>\n";
}
function rowify($string) { function rowify($string) {
echo "<tr><td>$string</td></tr>"; echo "<tr><td>$string</td></tr>";
} }