diff options
| author | cassiopc <cassiopc@gmail.com> | 2013-10-28 11:51:33 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2013-10-28 11:51:33 +0000 |
| commit | 68bebd59c05e7a428f3cf849403dfcd05564f97f (patch) | |
| tree | 95e8670bf3e69842622ac52d8d6fc63a29663689 /src/team/run.php | |
| parent | d753a1aaf9cb31d3e9d48bfe97ea3900e55b5b03 (diff) | |
| download | boca-68bebd59c05e7a428f3cf849403dfcd05564f97f.tar.gz boca-68bebd59c05e7a428f3cf849403dfcd05564f97f.zip | |
leave empty selected lang/prob for teams
Diffstat (limited to 'src/team/run.php')
| -rw-r--r-- | src/team/run.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/team/run.php b/src/team/run.php index 9ae5cd2..467ce56 100644 --- a/src/team/run.php +++ b/src/team/run.php @@ -136,7 +136,7 @@ $strtmp .= "<br><br><center><b>To submit a program, just fill in the following f " <td width=\"75%\">\n". " <select name=\"problem\" onclick=\"Arquivo()\">\n"; $prob = DBGetProblems($_SESSION["usertable"]["contestnumber"],$_SESSION["usertable"]["usertype"]=='judge'); -$strtmp .= "<option value=\"-1\"> -- </option>\n"; +$strtmp .= "<option selected value=\"-1\"> -- </option>\n"; for ($i=0;$i<count($prob);$i++) $strtmp .= "<option value=\"" . $prob[$i]["number"] . "\">" . $prob[$i]["problem"] . "</option>\n"; $strtmp .= " </select>\n". @@ -147,7 +147,7 @@ $strtmp .= " </select>\n". " <td width=\"75%\"> \n". " <select name=\"language\" onclick=\"Arquivo()\">\n"; $lang = DBGetLanguages($_SESSION["usertable"]["contestnumber"]); -$strtmp .= "<option value=\"-1\"> -- </option>\n"; +$strtmp .= "<option selected value=\"-1\"> -- </option>\n"; for ($i=0;$i<count($lang);$i++) $strtmp .= "<option value=\"" . $lang[$i]["number"] . "\">" . $lang[$i]["name"] . "</option>\n"; $strtmp .= " </select>\n". |