DOC: Update manager_links.php to include new simple view control ids

This commit is contained in:
Rom Walton 2014-07-01 15:41:58 -04:00
parent b22d2a7855
commit b9907469b8
1 changed files with 18 additions and 4 deletions

View File

@ -83,8 +83,18 @@ if ($target == "notice") {
} else {
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
}
} else if (($target == "simple") && version_compare($version, "7.2.0", ">=") && version_compare($version, "7.4.0", "<")) {
if ($controlid == "6024") {
header('Location: http://boinc.berkeley.edu');
} else if ($controlid == "6025") {
header('Location: http://boinc.berkeley.edu/wiki/Simple_view');
} else if ($controlid == "6035") {
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
} else {
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
}
} else {
if ($target == "advanced") {
if ($target == "advanced") {
if ($controlid == "6024") {
header('Location: http://boinc.berkeley.edu');
} else if ($controlid == "6025") {
@ -94,7 +104,7 @@ if ($target == "notice") {
} else {
header('Location: http://boinc.berkeley.edu/wiki/Advanced_view');
}
} else if ($target == "simple") {
} else if ($target == "simple") {
if ($controlid == "6024") {
// "Show info about BOINC" item on Mac simple-view menu
//
@ -108,14 +118,18 @@ if ($target == "notice") {
// item on Mac simple-view menu ?? do we need this item?
//
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
} else if ($controlid >= "6400" && $controlid <= "6499") {
// Any control that has focus in the simple view
//
header('Location: http://boinc.berkeley.edu/wiki/Simple_view');
} else {
// the question-mark button
//
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
}
} else {
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
}
header('Location: http://boinc.berkeley.edu/wiki/BOINC_Help');
}
}
?>