Don't pass alltext from mod.html to details.php ... more efficient this way

This commit is contained in:
moodler
2003-04-12 03:42:17 +00:00
parent 67b69ce15b
commit 752e1c2b62
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -29,6 +29,10 @@
error(get_string("filloutallfields"), $_SERVER["HTTP_REFERER"]);
}
if ($form->instance) {
$form->alltext = get_field("resource", "alltext", "id", "$form->instance");
}
print_simple_box_start("center", "", "$THEME->cellheading");
if ($usehtmleditor and $form->type == HTML) {
-1
View File
@@ -55,7 +55,6 @@
</table>
<CENTER>
<input type="hidden" name=reference value="<? p($form->reference) ?>">
<input type="hidden" name=alltext value="<? p($form->alltext) ?>">
<input type="hidden" name=course value="<? p($form->course) ?>">
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">