[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
From:       albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2004-01-28 21:42:51
Message-ID: cvsalbertel1075326171 () cvsserver
[Download RAW message or body]

albertel		Wed Jan 28 16:42:51 2004 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  - BUG#1508, compacting the display somewhat
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.126 loncom/homework/inputtags.pm:1.127
--- loncom/homework/inputtags.pm:1.126	Wed Jan 14 19:15:12 2004
+++ loncom/homework/inputtags.pm	Wed Jan 28 16:42:51 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.126 2004/01/15 00:15:12 albertel Exp $
+# $Id: inputtags.pm,v 1.127 2004/01/28 21:42:51 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -685,7 +685,7 @@
     if ( $status eq 'SHOW_ANSWER' || $status eq 'CANNOT_ANSWER') {$showbutton = 0;}
     if ( $showbutton ) { 
       if ($target ne 'tex') {
-        $button = '<br /><input type="submit" name="submit" value="'.&mt('Submit Answer').'" />';
+        $button = '<input type="submit" name="submit" value="'.&mt('Submit Answer').'" />';
       }
     }
     if ($Apache::lonhomework::history{"resource.$id.afterduedate"}) {
@@ -704,7 +704,7 @@
     if ($target eq 'tex') {
       return $button.' \vskip 0 mm '.$output.' ';
     } else {
-      return $button.'<table><tr>'.$output.'</tr></table>';
+      return '<table><tr><td>'.$button.'</td>'.$output.'</tr></table>';
     }
   }
 }



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic