";
+ echo "$strname: | $form->name |
";
$strtypename = $RESOURCE_TYPE["$form->type"];
$strexample = get_string("example", "resource");
@@ -51,21 +51,21 @@
case REFERENCE:
$strexamplereference = get_string("examplereference", "resource");
?>
-
- |
- =$strtypename?>:
- |
-
-
- |
-
-
- |
- (=$strexample?>)
- |
-
- =$strexamplereference?>
- |
+
+ |
+ =$strtypename?>:
+ |
+
+
+ |
+
+
+ |
+ (=$strexample?>)
+ |
+
+ =$strexamplereference?>
+ |
@@ -76,23 +76,23 @@
case PROGRAM:
$strexampleurl = get_string("exampleurl", "resource");
?>
-
- |
- =$strtypename?>:
- |
-
-
- |
-
-
- |
- (=$strexample?>)
- |
-
- =$strexampleurl?>
-
- |
-
+
+ |
+ =$strtypename?>:
+ |
+
+
+ |
+
+
+ |
+ (=$strexample?>)
+ |
+
+ =$strexampleurl?>
+
+ |
+
break;
@@ -102,11 +102,11 @@
$strnote = get_string("note", "resource");
$strnotefile = get_string("notefile", "resource", "$CFG->wwwroot/files/index.php?id=$course->id");
?>
-
- |
- =$strfilename?>:
- |
-
+ |
+ |
+ =$strfilename?>:
+ |
+
$rootdir = $CFG->dataroot."/".$course->id;
$coursedirs = get_directory_list($rootdir, $CFG->moddata);
@@ -115,17 +115,17 @@
}
choose_from_menu ($options, "reference", $form->reference);
?>
- |
-
-
- |
- =$strnote?>:
- |
-
- =$strnotefile?>
-
- |
-
+
+
+
+ |
+ =$strnote?>:
+ |
+
+ =$strnotefile?>
+
+ |
+
break;
@@ -133,40 +133,40 @@
case PLAINTEXT:
$strfulltext = get_string("fulltext", "resource");
?>
-
- |
- =$strfulltext?>:
-
- helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?>
- helpbutton("text", get_string("helptext"), "moodle", true, true) ?>
+
+ |
+ =$strfulltext?>:
+
+ helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?>
+ helpbutton("text", get_string("helptext"), "moodle", true, true) ?>
- |
-
-
- |
-
+ |
+
+
+ |
+
break;
case HTML:
$strhtmlfragment = get_string("htmlfragment", "resource");
?>
-
- |
- =$strhtmlfragment?>:
-
- helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?>
+
+ |
+ =$strhtmlfragment?>:
+
+ helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?>
if ($usehtmleditor) {
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
} else {
helpbutton("html", get_string("helphtml"), "moodle", true, true);
- } ?>
+ } ?>
- |
-
+ |
+
print_textarea($usehtmleditor, 20, 50, 680, 400, "alltext", $form->alltext); ?>
- |
-
+ |
+
break;
@@ -176,7 +176,7 @@
}
?>
-
+