mirror of https://github.com/BOINC/boinc.git
- DOC: Update manager_links.php so that it'll compare by numerical
values instead of using string based comparison. doc/ manager_links.php svn path=/trunk/boinc/; revision=19298
This commit is contained in:
parent
eae03746de
commit
553a3a50af
|
@ -8600,3 +8600,10 @@ Rom 13 Oct 2009
|
|||
|
||||
lib/
|
||||
win_util.cpp, .h
|
||||
|
||||
Rom 13 Oct 2009
|
||||
- DOC: Update manager_links.php so that it'll compare by numerical
|
||||
values instead of using string based comparison.
|
||||
|
||||
doc/
|
||||
manager_links.php
|
||||
|
|
|
@ -23,17 +23,17 @@ if (isset($_GET['target'])) $target = $_GET['target'];
|
|||
if (isset($_GET['version'])) $version = $_GET['version'];
|
||||
if (isset($_GET['controlid'])) $control_id = $_GET['controlid'];
|
||||
|
||||
if (($target == "advanced") && ($version >= "5.10")) {
|
||||
if ($control_id == "6024") {
|
||||
header('Location: http://boinc.berkeley.edu');
|
||||
} else if ($control_id == "6025") {
|
||||
header('Location: http://boinc.berkeley.edu/wiki/Advanced_view');
|
||||
} else if ($control_id == "6035") {
|
||||
header('Location: http://boinc.berkeley.edu/help.php');
|
||||
} else {
|
||||
header('Location: http://boinc.berkeley.edu/wiki/Advanced_view');
|
||||
}
|
||||
} else if (($target == "simple") && ($version >= "6.2")) {
|
||||
if (($target == "advanced") && version_compare($version, "5.10.0", ">=")) {
|
||||
if ($control_id == "6024") {
|
||||
header('Location: http://boinc.berkeley.edu');
|
||||
} else if ($control_id == "6025") {
|
||||
header('Location: http://boinc.berkeley.edu/wiki/Advanced_view');
|
||||
} else if ($control_id == "6035") {
|
||||
header('Location: http://boinc.berkeley.edu/help.php');
|
||||
} else {
|
||||
header('Location: http://boinc.berkeley.edu/wiki/Advanced_view');
|
||||
}
|
||||
} else if (($target == "simple") && version_compare($version, "6.2.0", ">=")) {
|
||||
if ($control_id == "6024") {
|
||||
header('Location: http://boinc.berkeley.edu');
|
||||
} else if ($control_id == "6025") {
|
||||
|
|
Loading…
Reference in New Issue