mirror of https://github.com/BOINC/boinc.git
- client: don't put CDATA around account manager opaque data
in request msg svn path=/trunk/boinc/; revision=23210
This commit is contained in:
parent
a39a0969d9
commit
b8a88713d8
|
@ -1435,3 +1435,10 @@ David 7 Mar 2011
|
|||
|
||||
client/
|
||||
work_fetch.cpp
|
||||
|
||||
David 8 Mar 2011
|
||||
- client: don't put CDATA around account manager opaque data
|
||||
in request msg
|
||||
|
||||
client/
|
||||
acct_mgr.cpp
|
||||
|
|
|
@ -182,7 +182,7 @@ int ACCT_MGR_OP::do_rpc(
|
|||
gstate.host_info.write(mf, !config.suppress_net_info, true);
|
||||
if (strlen(gstate.acct_mgr_info.opaque)) {
|
||||
fprintf(f,
|
||||
" <opaque>\n<![CDATA[\n%s\n]]>\n"
|
||||
" <opaque>\n%s\n"
|
||||
" </opaque>\n",
|
||||
gstate.acct_mgr_info.opaque
|
||||
);
|
||||
|
|
|
@ -0,0 +1,68 @@
|
|||
<?php
|
||||
|
||||
require_once("../inc/util.inc");
|
||||
|
||||
function show_scenarios() {
|
||||
page_head();
|
||||
$d = open_dir("scenarios");
|
||||
while ($f = readdir($d)) {
|
||||
if ($f == ".") continue;
|
||||
if ($f == "..") continue;
|
||||
}
|
||||
page_tail();
|
||||
}
|
||||
|
||||
function create_scenario_form() {
|
||||
page_head();
|
||||
page_tail();
|
||||
}
|
||||
|
||||
function create_scenario() {
|
||||
// redirect to show_scenario
|
||||
}
|
||||
|
||||
function show_scenario() {
|
||||
page_head();
|
||||
page_tail();
|
||||
}
|
||||
|
||||
function simulation_form() {
|
||||
page_head();
|
||||
page_tail();
|
||||
}
|
||||
|
||||
function simulation_action() {
|
||||
//redirect to show_simulation
|
||||
}
|
||||
|
||||
function show_simulation() {
|
||||
page_head();
|
||||
page_tail();
|
||||
}
|
||||
|
||||
$action = get_str("action", true);
|
||||
|
||||
switch ($action) {
|
||||
case "create_scenario_form":
|
||||
create_scenario_form();
|
||||
break;
|
||||
case "create_scenario":
|
||||
create_scenario();
|
||||
break;
|
||||
case "show_scenario":
|
||||
show_scenario();
|
||||
break;
|
||||
case "simulation_form":
|
||||
simulation_form();
|
||||
break;
|
||||
case "simulation_action":
|
||||
simulation_action();
|
||||
break;
|
||||
case "show_simulation":
|
||||
show_simulation();
|
||||
break;
|
||||
default:
|
||||
show_scenarios();
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue