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

raeburn raeburn at source.lon-capa.org
Mon Aug 26 19:38:07 EDT 2013


raeburn		Mon Aug 26 23:38:07 2013 EDT

  Modified files:              
    /loncom/interface	lonsyllabus.pm 
  Log:
  - xhtml
  
  
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.128 loncom/interface/lonsyllabus.pm:1.129
--- loncom/interface/lonsyllabus.pm:1.128	Sun May 19 15:48:51 2013
+++ loncom/interface/lonsyllabus.pm	Mon Aug 26 23:38:07 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Syllabus
 #
-# $Id: lonsyllabus.pm,v 1.128 2013/05/19 15:48:51 raeburn Exp $
+# $Id: lonsyllabus.pm,v 1.129 2013/08/26 23:38:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -406,10 +406,6 @@
     }
 # ---------------------------------------------------------------- Get syllabus
     if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
-        if ($allowed) {
-            $r->print('<form method="post" action="">');
-        }
-
 		my $url_include_handler = sub {
 			my ($r, $field, $message, $group, $data_ref, $fields_ref, $target, $allowed, $display) = @_;
 			my %data = %{$data_ref};
@@ -456,7 +452,7 @@
 			$target, $allowed, Apache::lontemplate->RICH_TEXT_DETECT_HTML, \%custom_hash,
                         undef,\%displayfields,\%noshow);
         if ($allowed) {
-            $r->print('</form>'.
+            $r->print('</div></form>'.
             &Apache::lonhtmlcommon::htmlareaselectactive());
         }
     } else {
@@ -1011,7 +1007,7 @@
                 }
                 if ($allowed) {
                     my $item = '<span class="LC_nobreak"><label>'.
-                               '<input type="checkbox" name="hideuser" value="'.$element.'&'.$puname.':'.$pudom.'"'.$checked.' />'.
+                               '<input type="checkbox" name="hideuser" value="'.$element.'&'.$puname.':'.$pudom.'"'.$checked.' />'.
                                &Apache::loncommon::aboutmewrapper($courseperson
 ,
                                                $puname,$pudom).
@@ -1040,7 +1036,7 @@
         }
         if ($target ne 'tex') {
             if ($allowed) {
-                $r->print(&Apache::loncommon::end_data_table_row());
+                $r->print('</td>'.&Apache::loncommon::end_data_table_row());
             } else {
                 my $lastclose=$element eq $lastpers?1:0;
                 $r->print(&Apache::lonhtmlcommon::row_closure($lastclose));




More information about the LON-CAPA-cvs mailing list