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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 16 Feb 2006 02:03:25 -0000


albertel		Wed Feb 15 21:03:25 2006 EDT

  Modified files:              
    /loncom/publisher	packages.tab 
    /loncom/homework	structuretags.pm 
  Log:
  - cssfile makes more sense then cssstyle as the S means style...
  
  
Index: loncom/publisher/packages.tab
diff -u loncom/publisher/packages.tab:1.48 loncom/publisher/packages.tab:1.49
--- loncom/publisher/packages.tab:1.48	Wed Feb 15 20:58:51 2006
+++ loncom/publisher/packages.tab	Wed Feb 15 21:03:22 2006
@@ -53,8 +53,8 @@
 part_0&discusshide&display:Hide Closed Discussion
 part_0&discusshide&type:string_yesno
 part_0&discusshide&default:no
-part_0&cssstyle&display:CSS style sheet to link
-part_0&cssstyle&type:string
+part_0&cssfile&display:CSS file to link
+part_0&cssfile&type:string
 numericalhint&tol&display:Numerical Tolerance
 numericalhint&tol&type:tolerance
 numericalhint&tol&default:5%
@@ -175,6 +175,6 @@
 Task_0&available&type:string
 Task_0&availablestudent&display:Slots of availability selected by student
 Task_0&availablestudent&type:string
-Task_0&cssstyle&display:CSS style sheet to link
-Task_0&cssstyle&type:string
+Task_0&cssfile&display:CSS file to link
+Task_0&cssfile&type:string
 
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.335 loncom/homework/structuretags.pm:1.336
--- loncom/homework/structuretags.pm:1.335	Wed Feb 15 20:58:54 2006
+++ loncom/homework/structuretags.pm	Wed Feb 15 21:03:25 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.335 2006/02/16 01:58:54 albertel Exp $
+# $Id: structuretags.pm,v 1.336 2006/02/16 02:03:25 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -113,7 +113,7 @@
 	    &Apache::lonhtmlcommon::htmlareaheaders().
 	    &Apache::lonhtmlcommon::spellheader().
 	    &Apache::lonxml::fontsettings();     
-	my $css_href = &Apache::lonnet::EXT('resource.0.cssstyle');
+	my $css_href = &Apache::lonnet::EXT('resource.0.cssfile');
 	if ($css_href =~ /\S/) {
 	    &Apache::lonxml::extlink($css_href);
 	    $head_tag_start =