- web: rename Bossa functions to avoid name conflict

- web: bug fix in example core for app selection

svn path=/trunk/boinc/; revision=16546
This commit is contained in:
David Anderson 2008-11-24 20:27:18 +00:00
parent 57639bdaae
commit c8c0e06d2e
6 changed files with 28 additions and 6 deletions

View File

@ -9538,3 +9538,15 @@ David 24 Nov 2008
client/
rr_sim.cpp,h
David 24 Nov 2008
- web: rename Bossa functions to avoid name conflict
- web: bug fix in example core for app selection
html/
ops/
bossa_admin.php
project.sample/
project_specific_prefs.php
test/
shrm

View File

@ -1,6 +1,15 @@
<?
$project_news = array(
array("November 20, 2008",
"See a video celebrating the
<a href=http://www.worldcommunitygrid.org/newsletter/video/viewIDedicate.do>fourth anniversary of IBM World Community Grid</a>."
),
array("November 20, 2008",
"<a href=http://jarifa.unex.es/>Jarifa</a>,
a system for organizational grid computing using BOINC,
has a new name, logo, and domain."
),
array("November 7, 2008",
"On 27-28 November 2008, AlmereGrid and EDGeS will organise a two-day <a href=http://edges-grid.eu/web/userforum/1sttraining>Desktop Grid workshop</a> in Almere, The Netherlands."
),

View File

@ -301,6 +301,7 @@ language("Slovak", array(
site("http://www.boinc.sk/", "www.boinc.sk")
));
language("Spanish", array(
site("http://www.seti.cl/", "BOINC SETI Chile"),
site("http://www.easyboinc.org/", "Computación Distribuida"),
site("http://foro.noticias3d.com/vbulletin/showthread.php?t=192297", "Noticias3D"),
site("http://elmajo.blogspot.com", "Computación Distribuida"),

View File

@ -34,7 +34,7 @@ function include_app_file($app_id) {
require_once($file);
}
function show_app($app, $i) {
function show_bossa_app($app, $i) {
$j = $i%2;
echo "<tr class=row$j>
<td>Name: $app->name<br>
@ -53,14 +53,14 @@ function show_app($app, $i) {
show_button("bossa_admin.php?action=show_batches&app_id=$app->id", "Show batches", "Show batches");
}
function show_apps() {
function show_bossa_apps() {
$apps = BossaApp::enum();
start_table();
row1("Existing apps", 2);
table_header("Name/description", "");
$i = 0;
foreach ($apps as $app) {
show_app($app, $i++);
show_bossa_app($app, $i++);
}
end_table();
}
@ -112,7 +112,7 @@ function user_settings() {
function show_all() {
admin_page_head("Bossa administration");
show_apps();
show_bossa_apps();
echo "<p>";
add_app_form();
echo "<p>";

View File

@ -148,7 +148,7 @@ function project_specific_prefs_parse_form(&$error) {
$app_id = $app[0];
$present = isset($_GET["app_id_$app_id"]);
if ($present) {
$x .= "<app_id>$app_id</app_id>\n";
$y .= "<app_id>$app_id</app_id>\n";
} else {
$some_unchecked = true;
}

View File

@ -1,4 +1,4 @@
#! /usr/bin/csh
#! /usr/bin/env csh
set NAME=`whoami`
set NUM=`ipcs | grep $NAME | awk '{print $2}'`