Focus is now loaded into Name edit field

This commit is contained in:
thepurpleblob 2006-10-19 13:06:06 +00:00
parent ef95c65ed1
commit eb4cb4c51e
3 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@
}
print_header($site->shortname.': '.$strcalendar.': '.$title, $strcalendar, $nav.' -> '.$title,
$focus, '', true, '', user_login_string($site));
'eventform.name', '', true, 'new.name', user_login_string($site));
echo calendar_overlib_html();

View File

@ -1,4 +1,4 @@
<form method="post" action="event.php" name="edit">
<form method="post" action="event.php" name="eventform">
<table cellpadding="5" cellspacing="0">
<tr>
<td style="vertical-align: top; text-align: right;">

View File

@ -2,7 +2,7 @@
// The following is a hack to fix bug 1488
$course = get_record('course', 'id', ($form->courseid) ? $form->courseid : $site->id);
?>
<form method="post" action="event.php" name="new">
<form method="post" action="event.php" name="eventform">
<table cellpadding="5">
<tr>
<td style="vertical-align: top; text-align: right;">