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

raeburn raeburn at source.lon-capa.org
Mon Jun 22 21:40:53 EDT 2026


raeburn		Tue Jun 23 01:40:53 2026 EDT

  Modified files:              
    /loncom/homework	lonsimpleproblemedit.pm 
  Log:
  - Remove trailing whitespace.  No code changes.
  
  
Index: loncom/homework/lonsimpleproblemedit.pm
diff -u loncom/homework/lonsimpleproblemedit.pm:1.38 loncom/homework/lonsimpleproblemedit.pm:1.39
--- loncom/homework/lonsimpleproblemedit.pm:1.38	Fri Sep 11 00:56:41 2015
+++ loncom/homework/lonsimpleproblemedit.pm	Tue Jun 23 01:40:53 2026
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Problem Parameter Setting "Editor"
 #
-# $Id: lonsimpleproblemedit.pm,v 1.38 2015/09/11 00:56:41 raeburn Exp $
+# $Id: lonsimpleproblemedit.pm,v 1.39 2026/06/23 01:40:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -36,7 +36,7 @@
 use Apache::lonnavmaps;
 use lib '/home/httpd/lib/perl/';
 use LONCAPA;
- 
+
 
 my %qparms;
 my $prefix;
@@ -189,7 +189,7 @@
 
 # -------------------------------------------------------------------- Allowed?
     unless (&Apache::lonnet::allowed('mdc',$env{'request.course.id'})) {
-	return HTTP_NOT_ACCEPTABLE; 
+	return HTTP_NOT_ACCEPTABLE;
     }
 # ----------------------------------------------------------------- Send header
     &Apache::loncommon::content_type($r,'text/html');
@@ -203,7 +203,7 @@
     $prefix=$env{'request.course.id'}.'.'.$symb.'.0.';
 #------------------------------------------------- Prefix for storing weight of Problem Parts
     my $weightprefix=$env{'request.course.id'}.'.'.$symb.'.';
-    
+
 # ---------------------------------------------------------- Anything to store?
     my $storeresult;
     if (($symb) && (defined($env{'form.questiontype'}))) {
@@ -293,7 +293,7 @@
         if (&get_parent_uri($symb)) {
             $r->print($title);
             if ($storeresult) {
-                $r->print('<p class="LC_error">'.&mt('An error: [_1] occurred saving your changes',$storeresult).'</p>'); 
+                $r->print('<p class="LC_error">'.&mt('An error: [_1] occurred saving your changes',$storeresult).'</p>');
             }
         } else {
             $r->print($title
@@ -317,7 +317,7 @@
            .'</div>'
         );
         $r->print('<form name="simpleedit" method="post" action="">');
-# Question Type        
+# Question Type
         my %questiontypes=(
                'radio'     => '1 out of N multiple choice (radio button)',
                'option'    => 'Option Response',
@@ -338,7 +338,7 @@
         );
         $r->print(
             '<p>'
-           .'<input type="hidden" name="forceview" value="" id="spview" />' 
+           .'<input type="hidden" name="forceview" value="" id="spview" />'
            .'<input type="submit" value="'.&mt('Save and Edit').'" />'
            .(' ' x3)
            .'<input type="submit" value="'.&mt('Save and View').'" onclick="javascript:setForceView();" />'




More information about the LON-CAPA-cvs mailing list