aboutsummaryrefslogtreecommitdiff
path: root/src/team/run.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/team/run.php')
-rw-r--r--src/team/run.php4
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".