mirror of https://github.com/BOINC/boinc.git
- admin web: if change app or app version params,
advise user to stop/restart the project svn path=/trunk/boinc/; revision=25115
This commit is contained in:
parent
77086f1c6e
commit
29769e132c
|
@ -836,3 +836,11 @@ David 20 Jan 2012
|
|||
|
||||
sched/
|
||||
feeder.cpp
|
||||
|
||||
David 20 Jan 2012
|
||||
- admin web: if change app or app version params,
|
||||
advise user to stop/restart the project
|
||||
|
||||
html/ops/
|
||||
manage_apps.php
|
||||
manage_app_versions.php
|
||||
|
|
|
@ -112,7 +112,13 @@ if( !empty($_POST) ) {
|
|||
|
||||
admin_page_head("Manage Application Versions");
|
||||
|
||||
if($commands) echo $commands; // show the last DB commands given
|
||||
if (strlen($commands)) {
|
||||
echo "The following updates were done: $commands
|
||||
<p>
|
||||
<b>You must stop and restart the project
|
||||
for these changes to take effect.</b>
|
||||
";
|
||||
}
|
||||
|
||||
$self=$_SERVER['PHP_SELF'];
|
||||
echo "<form action='$self' method='POST'>\n";
|
||||
|
|
|
@ -48,7 +48,6 @@ for($i=0;$i<$Nplatform;$i++){
|
|||
}
|
||||
mysql_free_result($result);
|
||||
|
||||
|
||||
/***************************************************\
|
||||
* Action: process form input for changes
|
||||
\***************************************************/
|
||||
|
@ -85,7 +84,6 @@ if( !empty($_POST) ) {
|
|||
}
|
||||
|
||||
|
||||
/* Minimum version limit */
|
||||
$field="weight_".$id;
|
||||
$new_v= $_POST[$field] + 0;
|
||||
$old_v=$item->weight;
|
||||
|
@ -133,7 +131,13 @@ if( !empty($_POST) ) {
|
|||
|
||||
admin_page_head("Manage Applications");
|
||||
|
||||
if(isset($commands)) echo $commands;
|
||||
if (strlen($commands)) {
|
||||
echo "The following updates were done: $commands
|
||||
<p>
|
||||
<b>You must stop and restart the project
|
||||
for these changes to take effect</b>.
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
$self=$_SERVER['PHP_SELF'];
|
||||
|
|
Loading…
Reference in New Issue