[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 06 Mar 2002 20:22:12 -0000


matthew		Wed Mar  6 15:22:12 2002 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  Update to use new lonxml::registerurl() 
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.83 loncom/homework/structuretags.pm:1.84
--- loncom/homework/structuretags.pm:1.83	Thu Feb 28 19:23:04 2002
+++ loncom/homework/structuretags.pm	Wed Mar  6 15:22:12 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.83 2002/03/01 00:23:04 albertel Exp $
+# $Id: structuretags.pm,v 1.84 2002/03/06 20:22:12 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -79,7 +79,7 @@
   if (!defined($found{'html'})) {
     $result=&Apache::londefdef::start_html($target,$token,$tagstack,$parstack,
 					   $parser,$safeeval);
-    $head_tag_start='<head>'.&Apache::lonxml::registerurl();
+    $head_tag_start='<head>'.&Apache::lonxml::registerurl(undef,$target);
   }
   my $body_tag_start;
   if (!defined($found{'body'})) {