[LON-CAPA-cvs] cvs: loncom /interface coursecatalog.pm

bisitz bisitz at source.lon-capa.org
Mon Mar 17 14:20:32 EDT 2014


bisitz		Mon Mar 17 18:20:32 2014 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  Fixed typos (rev. 1.1, 1.45)
  
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.79 loncom/interface/coursecatalog.pm:1.80
--- loncom/interface/coursecatalog.pm:1.79	Mon Mar 17 01:48:34 2014
+++ loncom/interface/coursecatalog.pm	Mon Mar 17 18:20:32 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.79 2014/03/17 01:48:34 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.80 2014/03/17 18:20:32 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -298,7 +298,7 @@
     my ($jscript,$totcodes,$numtitles,$lasttitle) = 
         &Apache::courseclassifier::instcode_selectors_data($codedom,$formname,
                            \%cat_items,$codetitles,\%cat_titles,\%cat_order);
-    my $js = '<script type"text/javascript">'."\n".
+    my $js = '<script type="text/javascript">'."\n".
              '// <![CDATA['."\n".
              "$jscript\n$catjs\n".
              '// ]]>'."\n".
@@ -330,7 +330,7 @@
                   '<input type="hidden" name="numtitles" value="'.$numtitles.
                   '" /></form><br /><br />');
     } else {
-        $js = '<script type"text/javascript">'."\n$catjs\n".'</script>';
+        $js = '<script type="text/javascript">'."\n$catjs\n".'</script>';
         &cat_header($r,$codedom,$js,\%add_entries,$catlinks,$numtitles);
         my $cat_maxdepth = $env{'form.catalog_maxdepth'};
         $r->print('<form name="'.$formname.'" method="post" action="/adm/coursecatalog">'.




More information about the LON-CAPA-cvs mailing list