[LON-CAPA-cvs] cvs: loncom /homework simpleproblem.problem structuretags.pm

www lon-capa-cvs@mail.lon-capa.org
Thu, 10 Jul 2003 06:17:42 -0000


www		Thu Jul 10 02:17:42 2003 EDT

  Modified files:              
    /loncom/homework	simpleproblem.problem structuretags.pm 
  Log:
  Minor cleanup: newline after problem text, and message to users that changes
  in the editor might show up delayed in the course.
  
  
Index: loncom/homework/simpleproblem.problem
diff -u loncom/homework/simpleproblem.problem:1.4 loncom/homework/simpleproblem.problem:1.5
--- loncom/homework/simpleproblem.problem:1.4	Wed Jul  9 06:05:15 2003
+++ loncom/homework/simpleproblem.problem	Thu Jul 10 02:17:41 2003
@@ -21,7 +21,7 @@
 unless ($stringtype) { $stringtype='cs'; }
 </script>
 
-<startouttext />&EXT('resource.0.questiontext')<endouttext />
+<startouttext />&EXT('resource.0.questiontext')<br /><endouttext />
 
 <block condition="&EXT('resource.0.questiontype') eq 'radio'"> 
 <radiobuttonresponse max="$max" id="radiosegment" randomize="$randomize">
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.193 loncom/homework/structuretags.pm:1.194
--- loncom/homework/structuretags.pm:1.193	Mon Jul  7 03:32:16 2003
+++ loncom/homework/structuretags.pm	Thu Jul 10 02:17:41 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.193 2003/07/07 07:32:16 www Exp $
+# $Id: structuretags.pm,v 1.194 2003/07/10 06:17:41 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1090,7 +1090,8 @@
         (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'}))) {
         my $url=$ENV{'REQUEST_URI'};
         $url=~s/\?.*$//;
-	$result='<a href="'.$url.'/smpedit">Edit</a><br />';
+	$result='<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'.
+                '<a href="'.$url.'/smpedit">Simple Problem Editor</a> - Note: it can take up to 10 minutes for changes to take effect for all users.</td></tr></table><br />';
     }
     return $result;
 }