Merged from MOODLE_15_STABLE: Adding a length limit to input field in line with db field size

This commit is contained in:
mjollnir_ 2005-08-02 22:40:19 +00:00
parent 9e37f99896
commit 168d73d0bd

View File

@ -158,7 +158,7 @@
}
$table->data[] = array ($picture, fullname($teacher, true), $authority,
"<input type=\"text\" name=\"r$teacher->id\" value=\"$teacher->role\" size=\"30\" />",
"<input type=\"text\" name=\"r$teacher->id\" value=\"$teacher->role\" size=\"30\" maxlength=\"40\" />",
$editall, $removelink);
}
$teacherlist = implode(",",$teacherarray);