mirror of https://github.com/BOINC/boinc.git
- web: show "run beta apps?" project pref if the project
has any beta applications (don't require project to specify this in project_specific_prefs.inc) svn path=/trunk/boinc/; revision=25692
This commit is contained in:
parent
b2a4cd4d91
commit
87fcaea0ce
|
@ -3881,7 +3881,8 @@ Rom 15 May 2012
|
||||||
all_projects_list.xml
|
all_projects_list.xml
|
||||||
|
|
||||||
David 18 May 2012
|
David 18 May 2012
|
||||||
- client/API/vboxwrapper: add an optional <vbox_window> element to cc_config.xml.
|
- client/API/vboxwrapper: add an optional <vbox_window> element
|
||||||
|
to cc_config.xml.
|
||||||
If present, run VMs without the --headless option.
|
If present, run VMs without the --headless option.
|
||||||
|
|
||||||
client/
|
client/
|
||||||
|
@ -3892,3 +3893,11 @@ David 18 May 2012
|
||||||
samples/vboxwrapper/
|
samples/vboxwrapper/
|
||||||
vbox.cpp,h
|
vbox.cpp,h
|
||||||
vboxwrapper.cpp
|
vboxwrapper.cpp
|
||||||
|
|
||||||
|
David 18 May 2012
|
||||||
|
- web: show "run beta apps?" project pref if the project
|
||||||
|
has any beta applications
|
||||||
|
(don't require project to specify this in project_specific_prefs.inc)
|
||||||
|
|
||||||
|
html/project.sample/
|
||||||
|
project_specific_prefs.inc
|
||||||
|
|
|
@ -64,6 +64,16 @@ if (APP_SELECT_PREFS) {
|
||||||
$app_array = null;
|
$app_array = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// see if we have any beta apps
|
||||||
|
//
|
||||||
|
$apps = BoincApp::enum("deprecated=0");
|
||||||
|
foreach($apps as $app) {
|
||||||
|
if ($app->beta) {
|
||||||
|
$project_has_beta = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function selected_app_text($prefs) {
|
function selected_app_text($prefs) {
|
||||||
global $app_array;
|
global $app_array;
|
||||||
if (isset($prefs->app_ids)) {
|
if (isset($prefs->app_ids)) {
|
||||||
|
|
Loading…
Reference in New Issue