forked from science-ation/science-ation
Allow the admin to change the project sort as well as the project number. we dont care abotu checking for duplicates here with the project sort... its just a sort field....
This commit is contained in:
parent
d2868f3f45
commit
76966f0f62
@ -85,7 +85,8 @@
|
||||
"req_electricity='".mysql_escape_string(stripslashes($_POST['req_electricity']))."', ".
|
||||
"req_special='".mysql_escape_string(stripslashes($_POST['req_special']))."', ".
|
||||
"summary='".mysql_escape_string(stripslashes($_POST['summary']))."', ".
|
||||
"summarycountok='$summarycountok'".
|
||||
"summarycountok='$summarycountok',".
|
||||
"projectsort='".mysql_escape_string(stripslashes($_POST['projectsort']))."'".
|
||||
"WHERE id='".$_POST['id']."'");
|
||||
echo mysql_error();
|
||||
echo notice(i18n("Project information successfully updated"));
|
||||
@ -184,6 +185,7 @@ if($projectinfo)
|
||||
echo i18n("(Max %1 characters)",array($config['participant_project_title_charmax']));
|
||||
echo "</td></tr>\n";
|
||||
echo "<tr><td>".i18n("Project Number").": </td><td><input type=\"text\" name=\"projectnumber\" size=\"10\" value=\"$projectinfo->projectnumber\" />";
|
||||
echo "<tr><td>".i18n("Project Sort").": </td><td><input type=\"text\" name=\"projectsort\" size=\"10\" value=\"$projectinfo->projectsort\" />";
|
||||
echo "<tr><td>".i18n("Age Category").": </td><td>";
|
||||
echo i18n($agecategories[$projectcategories_id]['category']);
|
||||
echo " (".i18n("Grades %1-%2",array($agecategories[$projectcategories_id]['mingrade'],$agecategories[$projectcategories_id]['maxgrade'])).")";
|
||||
|
Loading…
Reference in New Issue
Block a user