[LON-CAPA-cvs] cvs: loncom /homework grades.pm

www lon-capa-cvs-allow@mail.lon-capa.org
Mon, 03 Mar 2008 23:19:55 -0000


www		Mon Mar  3 18:19:55 2008 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  Receipt interface looked really weird.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.510 loncom/homework/grades.pm:1.511
--- loncom/homework/grades.pm:1.510	Wed Feb  6 11:32:30 2008
+++ loncom/homework/grades.pm	Mon Mar  3 18:19:54 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.510 2008/02/06 16:32:30 raeburn Exp $
+# $Id: grades.pm,v 1.511 2008/03/03 23:19:54 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7729,14 +7729,12 @@
                 $menudata->{'url'}.'" >'.
                 $menudata->{'name'}."</a></h3>\n";
         } else {
-            $Str .='    <h3><input type="button" value="'.&mt('Verify Receipt').'" '.
+            $Str .='<hr /><input type="button" value="'.&mt('Verify Receipt').'" '.
                 $menudata->{'jscript'}.
                 ' onClick="javascript:checkChoice(document.forms.gradingMenu,\'5\',\'verify\')" '.
-                ' /></h3>';
-            $Str .= ('&nbsp;'x8).
-		&mt(' receipt: [_1]',
-		    &Apache::lonnet::recprefix($env{'request.course.id'}).
-                    '-<input type="text" name="receipt" size="4" onChange="javascript:checkReceiptNo(this.form,\'OK\')" />');
+                ' /> '.
+		&Apache::lonnet::recprefix($env{'request.course.id'}).
+                    '-<input type="text" name="receipt" size="4" onChange="javascript:checkReceiptNo(this.form,\'OK\')" />';
         }
         $Str .= '    '.('&nbsp;'x8).$menudata->{'short_description'}.
             "\n";