--- loncom/html/res/adm/pages/annotator/admannotations.pm 2000/09/11 17:51:22 1.4
+++ loncom/html/res/adm/pages/annotator/admannotations.pm 2000/10/10 07:51:11 1.8
@@ -13,7 +13,7 @@ package Apache::admannotations;
use strict;
use CGI qw(:all);
use Apache::Constants qw(:common);
-use Apache::lonnet;
+use Apache::lonnet();
# --------------------------------------------------------------Put annotation
@@ -27,81 +27,115 @@ sub write_annotation {
# --------------------------------------------------------------Get annotation
sub get_annotation {
- my $url_new=shift;
- my %annotation=Apache::lonnet::get("annotations",($url_new));
- return %annotation;
+ my $urlnew=shift;
+ my @annotation=Apache::lonnet::get("annotations",$urlnew);
+ return @annotation;
}
# ------------------------------------------------------------Construct editor
sub construct_editor {
- my $url_new=shift;
- my %annot_hash=@_;
- return(<
Annotations
-
-
+
+
+