forked from science-ation/science-ation
51 lines
1.5 KiB
PHP
51 lines
1.5 KiB
PHP
|
<?
|
||
|
echo "<form method=\"post\" id=\"edit_event_form\">";
|
||
|
echo "<input type=\"hidden\" name=\"id\" id=\"edit_schedule_id\">";
|
||
|
echo "<table style=\"width: 95%;\">";
|
||
|
echo "<tr><td>";
|
||
|
echo i18n("Event").": ";
|
||
|
echo "</td><td>";
|
||
|
echo "<select name=\"event_id\" id=\"edit_event\">";
|
||
|
echo "<option value=\"\">".i18n("Choose")."</option>\n";
|
||
|
$q=mysql_query("SELECT * FROM events WHERE conferences_id='{$conference['id']}' ORDER BY name");
|
||
|
while($r=mysql_fetch_object($q)) {
|
||
|
echo "<option value=\"$r->id\">$r->name</option>\n";
|
||
|
}
|
||
|
echo "</select>\n";
|
||
|
echo "</td><td>";
|
||
|
echo i18n("Location").": ";
|
||
|
echo "</td><td>";
|
||
|
echo "<select name=\"location_id\" id=\"edit_location\">";
|
||
|
echo "<option value=\"\">".i18n("Choose")."</option>\n";
|
||
|
$q=mysql_query("SELECT * FROM locations WHERE conferences_id='{$conference['id']}' ORDER BY name");
|
||
|
while($r=mysql_fetch_object($q)) {
|
||
|
echo "<option value=\"$r->id\">$r->name</option>\n";
|
||
|
}
|
||
|
echo "</select>\n";
|
||
|
echo "</td></tr>\n";
|
||
|
|
||
|
|
||
|
echo "<tr><td>";
|
||
|
echo i18n("Start at").": ";
|
||
|
echo "</td><td>";
|
||
|
emit_hour_selector('hour',"","id=\"edit_hour\"");
|
||
|
echo ":";
|
||
|
emit_minute_selector('minute',"","id=\"edit_minute\"",15);
|
||
|
echo "</td><td>";
|
||
|
echo i18n("Date").": ";
|
||
|
echo "</td><td>";
|
||
|
echo "<input id=\"edit_date\" type=\"text\" name=\"date\" class=\"date\" size=\"12\">";
|
||
|
echo "</td><td>";
|
||
|
echo "</td><td>";
|
||
|
echo "</td></tr>\n";
|
||
|
|
||
|
echo "<tr><td>";
|
||
|
echo i18n("Duration").": ";
|
||
|
echo "</td><td>";
|
||
|
echo "<input id=\"edit_duration\" type=\"text\" name=\"duration\" size=\"4\">";
|
||
|
echo "minutes";
|
||
|
echo "</td></tr>\n";
|
||
|
echo "</table>";
|
||
|
echo "</form>\n";
|
||
|
?>
|