2006-10-18 21:53:22 +00:00
|
|
|
<?php
|
2008-08-05 22:43:14 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2006-10-18 21:53:22 +00:00
|
|
|
|
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
require_once("../inc/cache.inc");
|
|
|
|
|
2011-02-09 22:11:34 +00:00
|
|
|
check_get_args(array());
|
2006-10-18 21:53:22 +00:00
|
|
|
|
2008-12-13 20:13:48 +00:00
|
|
|
page_head(tra("Download BOINC add-on software"));
|
2006-10-18 21:53:22 +00:00
|
|
|
echo "
|
2008-12-13 20:13:48 +00:00
|
|
|
<p>" .
|
|
|
|
tra("You can download applications in several categories.") ."
|
2006-10-18 21:53:22 +00:00
|
|
|
<ul>
|
2008-12-13 20:13:48 +00:00
|
|
|
<li>".
|
|
|
|
tra("These applications are not endorsed by %1 and you use them at your own risk.", PROJECT) ."
|
|
|
|
<li>" .
|
|
|
|
tra("We do not provide instructions for installing these applications.
|
|
|
|
However, the author may have provided some help on installing or uninstalling the application.
|
|
|
|
If this is not enough you should contact the author.").
|
|
|
|
tra("Instructions for installing and running BOINC are %1here%2.", "<a href=http://boinc.berkeley.edu/participate.php>", "</a>")
|
|
|
|
. "<li>" .
|
|
|
|
tra("This list is managed centrally at %1the BOINC website%2.", "<a href=\"http://boinc.berkeley.edu/addons.php\">", "</a>") ."
|
2006-10-18 21:53:22 +00:00
|
|
|
</ul>
|
|
|
|
";
|
|
|
|
|
2011-03-13 20:05:25 +00:00
|
|
|
$httpFile = unserialize(get_cached_data(3600));
|
|
|
|
if (!$httpFile) {
|
|
|
|
$httpFile = @file_get_contents("http://boinc.berkeley.edu/addons.php?strip_header=true");
|
|
|
|
if ($httpFile) {
|
|
|
|
set_cached_data(3600, serialize($httpFile));
|
|
|
|
}
|
2006-10-18 21:53:22 +00:00
|
|
|
}
|
2011-03-13 20:05:25 +00:00
|
|
|
echo $httpFile;
|
2006-10-18 21:53:22 +00:00
|
|
|
|
|
|
|
echo "
|
|
|
|
<p><p>
|
|
|
|
";
|
|
|
|
page_tail();
|
2011-03-13 20:05:25 +00:00
|
|
|
|
2006-10-18 21:53:22 +00:00
|
|
|
?>
|