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

goltermann goltermann at source.lon-capa.org
Thu Jun 21 09:46:10 EDT 2012


goltermann		Thu Jun 21 13:46:10 2012 EDT

  Modified files:              
    /loncom/interface/statistics	lonstathelpers.pm 
  Log:
  consistent layout for problem view
  
  
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.69 loncom/interface/statistics/lonstathelpers.pm:1.70
--- loncom/interface/statistics/lonstathelpers.pm:1.69	Thu May  3 11:21:33 2012
+++ loncom/interface/statistics/lonstathelpers.pm	Thu Jun 21 13:46:10 2012
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstathelpers.pm,v 1.69 2012/05/03 11:21:33 goltermann Exp $
+# $Id: lonstathelpers.pm,v 1.70 2012/06/21 13:46:10 goltermann Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -90,10 +90,10 @@
     my $rendered_problem = &Apache::lonnet::ssi_body($src.'?symb='.$symb);
     $rendered_problem =~ s/<\s*form\s*/<nop /g;
     $rendered_problem =~ s|(<\s*/form\s*>)|<\/nop>|g;
-    return &Apache::loncommon::start_data_table().
-        &Apache::loncommon::start_data_table_row().
-        '<td>'.'<base href="'.$base.'" />'.$rendered_problem.
-        '</td>'.&Apache::loncommon::end_data_table_row().&Apache::loncommon::end_data_table();
+    return '<div class="LC_Box">'.
+        '<h4 class="LC_hcell">'.&mt('Problem').'</h4>'.
+        '<base href="'.$base.'" />'.$rendered_problem.
+        '</div>';
 }
 
 ####################################################




More information about the LON-CAPA-cvs mailing list