rockbox/www/dailymod.pl
Björn Stenberg 00109d87a6 Changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1319 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 11:15:51 +00:00

35 lines
936 B
Perl
Executable file

#!/usr/bin/perl
$basedir = "/home/dast/rockbox-build/daily-build";
sub list {
$dir = shift @_;
opendir(DIR, "$basedir/$dir") or
die "Can't opendir($basedir/$dir)";
@tarballs = sort grep { /^a/ } readdir(DIR);
closedir DIR;
print "<ul>\n";
for ( @tarballs ) {
print "<li><a href=\"daily/$dir/$_\">$_</a>\n";
}
print "</ul>\n";
}
print "<table class=dailymod><tr><td>\n";
print "<h3>player-old</h3>\n";
print "<p>This version is for old Archos Jukebox 5000, 6000 models with ROM firmware older than 4.50:\n";
&list("playerold");
print "</td><td>\n";
print "<h3>player</h3>\n";
print "<p>This version is for Archos Jukebox 5000/6000 with ROM firmware 4.50 or later, and all Studio models:\n";
&list("player");
print "</td><td>\n";
print "<h3>recorder</h3>\n";
print "<p>This version is for all Archos Jukebox Recorder models:\n";
&list("recorder");
print "</td></tr></table>\n";