- Update judges_timesltos. to match

This commit is contained in:
dave 2009-02-06 06:56:39 +00:00
parent 799c014b6c
commit c8705bc70d

View File

@ -76,7 +76,7 @@
message_push(error(i18n('Invalid type specified')));
}
$round_name = mysql_escape_string(stripslashes($_POST['round_name']));
$name = mysql_escape_string(stripslashes($_POST['name']));
if($save == true) {
if($round_id == 0) {
@ -87,7 +87,7 @@
mysql_query("UPDATE judges_timeslots SET `date`='$date',
starttime='$starttime', endtime='$endtime',
`round_name`='$round_name',
`name`='$name',
`type`='$type' WHERE id='$round_id'");
echo mysql_error();
@ -243,7 +243,7 @@
echo "</select>";
echo "<tr><td>".i18n("Name").":</td><td>";
echo "<input type=\"textbox\" name=\"round_name\" value=\"{$r['round_name']}\" width=\"60\" /></td></tr>";
echo "<input type=\"textbox\" name=\"name\" value=\"{$r['name']}\" width=\"60\" /></td></tr>";
echo "<tr><td>".i18n("Date").":</td><td>";
emit_date_selector("date",$r['date']);
@ -288,7 +288,7 @@
echo "<table>";
echo "<tr><td>".i18n('Round Type').":</td><td>{$round_str[$round_data['type']]}</td></tr>";
echo "<tr><td>".i18n("Name").":</td><td>{$round_data['round_name']}</td></tr>";
echo "<tr><td>".i18n("Name").":</td><td>{$round_data['name']}</td></tr>";
echo "<tr><td>".i18n("Start Time").":</td><td>";
emit_time_selector("starttime",$r['starttime']);
@ -318,7 +318,7 @@
echo "<table border=\"0\">";
echo "<tr><td>".i18n('Round Type').":</td><td>{$round_str[$round_data['type']]}</td></tr>";
echo "<tr><td>".i18n("Name").":</td><td>{$round_data['round_name']}</td></tr>";
echo "<tr><td>".i18n("Name").":</td><td>{$round_data['name']}</td></tr>";
echo "<tr><td>".i18n("Add")."</td><td>";
echo "<input type=\"text\" name=\"addnum\" size=\"4\">&nbsp;";
echo i18n("new timeslots");
@ -364,7 +364,7 @@
echo "</td>";
echo "<td align=\"center\"><b>".substr($r->endtime,0,-3)."</b></td>";
echo "<td align=\"center\"><b>{$r->round_name} (".i18n($round_str[$r->type]).")</b></td>";
echo "<td align=\"center\"><b>{$r->name} (".i18n($round_str[$r->type]).")</b></td>";
echo " <td align=\"center\">";
echo "<a href=\"judges_timeslots.php?action=editround&round_id={$r->id}\"><img border=\"0\" src=\"{$config['SFIABDIRECTORY']}/images/16/edit.{$config['icon_extension']}\"></a>";
echo "&nbsp;";