--- loncom/homework/structuretags.pm 2006/11/20 11:52:10 1.369
+++ loncom/homework/structuretags.pm 2007/06/22 00:57:38 1.381
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.369 2006/11/20 11:52:10 foxr Exp $
+# $Id: structuretags.pm,v 1.381 2007/06/22 00:57:38 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -88,6 +88,14 @@ sub page_start {
$parstack,$parser,$safeeval);
}
+ $extra_head.= '
+
+';
+
my %body_args;
if (defined($found{'html'})) {
$body_args{'skip_phases'}{'head'}=1;
@@ -95,12 +103,8 @@ sub page_start {
$extra_head .= &Apache::lonhtmlcommon::spellheader();
- my $css_href = &Apache::lonnet::EXT('resource.0.cssfile');
- if ($css_href =~ /\S/) {
- &Apache::lonxml::extlink($css_href);
- $extra_head .=
- '';
- }
+ $extra_head .= &Apache::londefdef::generate_css_links();
+
if ($target eq 'edit') {
$extra_head.=&Apache::edit::js_change_detection().
"