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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 29 Sep 2004 14:56:59 -0000


matthew		Wed Sep 29 10:56:59 2004 EDT

  Modified files:              
    /loncom/interface/statistics	lonstathelpers.pm 
  Log:
  &MultipleProblemSelector: Added 'view' links for problems.
  
  
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.25 loncom/interface/statistics/lonstathelpers.pm:1.26
--- loncom/interface/statistics/lonstathelpers.pm:1.25	Thu Sep 23 11:31:40 2004
+++ loncom/interface/statistics/lonstathelpers.pm	Wed Sep 29 10:56:59 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstathelpers.pm,v 1.25 2004/09/23 15:31:40 matthew Exp $
+# $Id: lonstathelpers.pm,v 1.26 2004/09/29 14:56:59 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -304,8 +304,10 @@
                 $target .= 'id="'.$seq_id.':'.$item_id++.'" ';
                 $target.= 
                     'value="'.&Apache::lonnet::escape($res->symb).'" />'.
-                    '&nbsp;'.$res->compTitle.'</label></td>'.
-                    '</tr>'.$/;
+                    '&nbsp;'.$res->compTitle.'</label>'.
+                    ('&nbsp;'x2).'<a target="preview" '.
+                    'href="'.$res->src.'">view</a>'.
+                    '</td></tr>'.$/;
             } else { 
                 if (defined($target)) {
                     return { title => $title,