[LON-CAPA-cvs] cvs: loncom /homework imagechoice.pm lonhomework.pm lonsimpleproblemedit.pm structuretags.pm /interface loncoursegroups.pm lonfeedback.pm lonhelper.pm lonmsgdisplay.pm lonnotify.pm lonpreferences.pm /publisher loncfile.pm lonretrieve.pm

bisitz bisitz@source.lon-capa.org
Mon, 11 May 2009 16:51:33 -0000


This is a MIME encoded message

--bisitz1242060693
Content-Type: text/plain

bisitz		Mon May 11 16:51:33 2009 EDT

  Modified files:              
    /loncom/homework	imagechoice.pm lonhomework.pm 
                    	lonsimpleproblemedit.pm structuretags.pm 
    /loncom/interface	loncoursegroups.pm lonfeedback.pm lonhelper.pm 
                     	lonmsgdisplay.pm lonnotify.pm lonpreferences.pm 
    /loncom/publisher	loncfile.pm lonretrieve.pm 
  Log:
  XHTML: Attributes in lower-case only (<form method="post" ...)
  
  
--bisitz1242060693
Content-Type: text/plain
Content-Disposition: attachment; filename="bisitz-20090511165133.txt"

Index: loncom/homework/imagechoice.pm
diff -u loncom/homework/imagechoice.pm:1.16 loncom/homework/imagechoice.pm:1.17
--- loncom/homework/imagechoice.pm:1.16	Wed Feb 18 07:06:12 2009
+++ loncom/homework/imagechoice.pm	Mon May 11 16:51:22 2009
@@ -1,4 +1,4 @@
-# $Id: imagechoice.pm,v 1.16 2009/02/18 07:06:12 raeburn Exp $
+# $Id: imagechoice.pm,v 1.17 2009/05/11 16:51:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -147,7 +147,7 @@
     $r->print(<<"END");
 $start_page
 <h3>$heading</h3>
-<form method="POST" action="/adm/imagechoice?token=$id">
+<form method="post" action="/adm/imagechoice?token=$id">
 $nextstage
 <input type="submit" name="cancel" value="$canceltext" />
 <br />
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.309 loncom/homework/lonhomework.pm:1.310
--- loncom/homework/lonhomework.pm:1.309	Mon Mar 30 04:49:35 2009
+++ loncom/homework/lonhomework.pm	Mon May 11 16:51:22 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.309 2009/03/30 04:49:35 raeburn Exp $
+# $Id: lonhomework.pm,v 1.310 2009/05/11 16:51:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -693,7 +693,7 @@
 
     $result .= 
 	&Apache::lonxml::message_location().'
-            <form name="lonhomework" method="POST" action="'.
+            <form name="lonhomework" method="post" action="'.
 	    &HTML::Entities::encode($env{'request.uri'},'<>&"').'">'.
             '<input type="hidden" name="problemmode" value="'.
             $env{'form.problemmode'}.'" />'.
@@ -924,7 +924,7 @@
 				    }});
 	$result.=$start_page.
 	    &renderpage($request,$file,['no_output_web'],1).
-            '<form '.&Apache::edit::form_change_detection().' name="lonhomework" method="POST" action="'.
+            '<form '.&Apache::edit::form_change_detection().' name="lonhomework" method="post" action="'.
 	    &HTML::Entities::encode($env{'request.uri'},'<>&"').'">'.
 	    &Apache::structuretags::remember_problem_state().'
             <div class="LC_edit_problem_editxml_header">
@@ -1145,8 +1145,8 @@
 <p>
 <b>
 ".&mt("To create a new $extension, select a template from the".
-      " list below. Then click on the \"Create $extension\" button.")."</b>
-</p><form action=\"$url\" method=\"POST\">");
+      " list below. Then click on the \"Create $extension\" button.").'</b>
+</p><form action="'.$url.'" method="post">');
 
 	if (defined($templatelist)) {
 	    $request->print($templatelist);
Index: loncom/homework/lonsimpleproblemedit.pm
diff -u loncom/homework/lonsimpleproblemedit.pm:1.21 loncom/homework/lonsimpleproblemedit.pm:1.22
--- loncom/homework/lonsimpleproblemedit.pm:1.21	Mon Apr  6 12:59:07 2009
+++ loncom/homework/lonsimpleproblemedit.pm	Mon May 11 16:51:22 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Problem Parameter Setting "Editor"
 #
-# $Id: lonsimpleproblemedit.pm,v 1.21 2009/04/06 12:59:07 bisitz Exp $
+# $Id: lonsimpleproblemedit.pm,v 1.22 2009/05/11 16:51:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -247,7 +247,7 @@
 	$r->print('<table border="2" bgcolor="#FFFFFF" width="100%"><tr><td>'.
                   &rawrendering($symb).
                   '</td></tr></table><br />');
-        $r->print('<form name="simpleedit" method="POST">');
+        $r->print('<form name="simpleedit" method="post">');
 # Question Type        
 	my %questiontypes=('radio'  => 
                                '1 out of N multiple choice (radio button)',
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.443 loncom/homework/structuretags.pm:1.444
--- loncom/homework/structuretags.pm:1.443	Sat May  2 22:18:24 2009
+++ loncom/homework/structuretags.pm	Mon May 11 16:51:22 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.443 2009/05/02 22:18:24 foxr Exp $
+# $Id: structuretags.pm,v 1.444 2009/05/11 16:51:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -677,7 +677,7 @@
 <font color="red">
 <p>$lt{'warning'}</p>
 </font>
-<form name="checkout" method="POST" action="$uri">
+<form name="checkout" method="post" action="$uri">
 <input type="hidden" name="doescheckout" value="yes" />
 <input type="button" name="checkoutbutton" value="$lt{'checkout'}" onClick="javascript:if (confirm('$lt{'checkout?'}')) { document.checkout.submit(); }" />
 </form>
@@ -711,7 +711,7 @@
     my $buttontext = &mt('Show Resource');
     my $timertext = &mt('Start Timer?');
     $result .= (<<ENDCHECKOUT);
-<form name="markaccess" method="POST" action="$uri">
+<form name="markaccess" method="post" action="$uri">
 <input type="hidden" name="markaccess" value="yes" />
 <input type="button" name="accessbutton" value="$buttontext" onClick="javascript:if (confirm('$timertext')) { document.markaccess.submit(); }" />
 </form>
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.100 loncom/interface/loncoursegroups.pm:1.101
--- loncom/interface/loncoursegroups.pm:1.100	Mon May 11 16:10:33 2009
+++ loncom/interface/loncoursegroups.pm	Mon May 11 16:51:27 2009
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.100 2009/05/11 16:10:33 bisitz Exp $
+# $Id: loncoursegroups.pm,v 1.101 2009/05/11 16:51:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1440,7 +1440,7 @@
 				       {'add_entries' => $loaditems,});
     my $output = <<"END";
 $start_page
-<form method="POST" name="$state">
+<form method="post" name="$state">
 
 END
     if ($action eq 'create' || $action eq 'modify') {
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.272 loncom/interface/lonfeedback.pm:1.273
--- loncom/interface/lonfeedback.pm:1.272	Thu May  7 11:12:47 2009
+++ loncom/interface/lonfeedback.pm	Mon May 11 16:51:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.272 2009/05/07 11:12:47 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.273 2009/05/11 16:51:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1928,7 +1928,7 @@
 	&Apache::loncommon::end_page();
     $r->print(<<END);
 $start_page
-<form name="modifydisp" method="POST" action="/adm/feedback">
+<form name="modifydisp" method="post" action="/adm/feedback">
 $lt{'sdpf'}<br/> $lt{'prca'}  <ol><li>$lt{'whpo'}</li><li>$lt{'unwh'}</li><li>$lt{'wipa'}</li></ol>
 <br />
 END
@@ -2116,7 +2116,7 @@
 
     $r->print(<<END);
 $start_page
-<form name="modifyshown" method="POST" action="/adm/feedback">
+<form name="modifyshown" method="post" action="/adm/feedback">
 <b>$lt{'diso'}</b><br/> $lt{'prca'}
 <br /><br />
 <table border="0">
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.171 loncom/interface/lonhelper.pm:1.172
--- loncom/interface/lonhelper.pm:1.171	Tue Mar 17 11:13:59 2009
+++ loncom/interface/lonhelper.pm	Mon May 11 16:51:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # .helper XML handler to implement the LON-CAPA helper
 #
-# $Id: lonhelper.pm,v 1.171 2009/03/17 11:13:59 foxr Exp $
+# $Id: lonhelper.pm,v 1.172 2009/05/11 16:51:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -597,7 +597,7 @@
     # FIXME: This should be parameterized, not concatenated - Jeremy
 
 
-    if (!$state->overrideForm()) { $result.="<form name='helpform' method='POST'>"; }
+    if (!$state->overrideForm()) { $result.='<form name="helpform" method="post">'; }
     if ($stateHelp) {
 	$stateHelp = &Apache::loncommon::help_open_topic($stateHelp);
     }
@@ -3715,7 +3715,7 @@
         $paramlevel = 'full';
     }
 
-    my $result = "<form name='helpform' method='POST' action='/adm/parmset#$affectedResourceId&$parm_name&$level'>\n";
+    my $result = "<form name='helpform' method='post' action='/adm/parmset#$affectedResourceId&$parm_name&$level'>\n";
     $result .= "<input type='hidden' name='action' value='settable' />\n";
     $result .= "<input type='hidden' name='dis' value='helper' />\n";
     $result .= "<input type='hidden' name='pscat' value='".
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.123 loncom/interface/lonmsgdisplay.pm:1.124
--- loncom/interface/lonmsgdisplay.pm:1.123	Fri May  8 12:06:32 2009
+++ loncom/interface/lonmsgdisplay.pm	Mon May 11 16:51:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.123 2009/05/08 12:06:32 bisitz Exp $
+# $Id: lonmsgdisplay.pm,v 1.124 2009/05/11 16:51:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -762,7 +762,7 @@
                 .'<div class="LC_warning">'
                 .&mt('Access to other pages will be prevented until you have moved all critical messages to your inbox.')
                 .'</div><br />'
-                .'<form action="/adm/email" method="POST">'
+                .'<form action="/adm/email" method="post">'
                 .'<input type="hidden" name="confirm" value="true" />';
     my %what=&Apache::lonnet::dump('critical');
     my $result = '';
Index: loncom/interface/lonnotify.pm
diff -u loncom/interface/lonnotify.pm:1.33 loncom/interface/lonnotify.pm:1.34
--- loncom/interface/lonnotify.pm:1.33	Mon Feb  2 13:27:39 2009
+++ loncom/interface/lonnotify.pm	Mon May 11 16:51:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Sending messages
 #
-# $Id: lonnotify.pm,v 1.33 2009/02/02 13:27:39 schafran Exp $
+# $Id: lonnotify.pm,v 1.34 2009/05/11 16:51:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -118,7 +118,7 @@
 $start_page
 $breadcrumbs
 <br />
-<form name="$formname" method="POST">
+<form name="$formname" method="post">
 ENDONE
 
     return $output;
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.159 loncom/interface/lonpreferences.pm:1.160
--- loncom/interface/lonpreferences.pm:1.159	Wed May  6 16:19:34 2009
+++ loncom/interface/lonpreferences.pm	Mon May 11 16:51:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Preferences
 #
-# $Id: lonpreferences.pm,v 1.159 2009/05/06 16:19:34 bisitz Exp $
+# $Id: lonpreferences.pm,v 1.160 2009/05/11 16:51:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -385,7 +385,7 @@
     $r->print('
 <p>'.&mt('Some LON-CAPA users have a long list of '.$lc_role.'s. The Recent '.$role.'s Hotlist feature keeps track of the last N '.$lc_role.'s which have been visited and places a table of these at the top of the '.$lc_role.'s page. People with very few '.$lc_role.'s should leave this feature disabled.').'
 </p>
-<form name="prefs" action="/adm/preferences" method="POST">
+<form name="prefs" action="/adm/preferences" method="post">
 <input type="hidden" name="action" value="verify_and_change_rolespref" />
 <br /><label>'.&mt('Enable Recent '.$role.'s Hotlist:').'
 <input type="checkbox"'.$checked.' name="recentroles" value="true" /></label>
Index: loncom/publisher/loncfile.pm
diff -u loncom/publisher/loncfile.pm:1.96 loncom/publisher/loncfile.pm:1.97
--- loncom/publisher/loncfile.pm:1.96	Mon Apr 13 21:29:26 2009
+++ loncom/publisher/loncfile.pm	Mon May 11 16:51:32 2009
@@ -9,7 +9,7 @@
 #  and displays a page showing the results of the action.
 #
 #
-# $Id: loncfile.pm,v 1.96 2009/04/13 21:29:26 raeburn Exp $
+# $Id: loncfile.pm,v 1.97 2009/05/11 16:51:32 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -423,7 +423,7 @@
     my ($request,  $fn) = @_;
     $request->print('<p><input type="submit" value="'.&mt('Continue').'" /></p></form>');
     $request->print('<form action="'.&url($fn).
-		    '" method="POST"><p><input type="submit" value="'.&mt('Cancel').'" /></p></form>');
+		    '" method="post"><p><input type="submit" value="'.&mt('Cancel').'" /></p></form>');
 }
 
 
@@ -820,7 +820,7 @@
 	        '<span class ="LC_nobreak">'.&mt('Enter a file name: ').'<input type="text" name="newfilename" value="Type Name Here" onfocus="if (this.value == '."'Type Name Here') this.value=''".'" />&nbsp;<input type="submit" value="Go" />'.
                 '</span></form></p>'.
                 '<p><form action="'.&url($fn).
-                '" method="POST"><p><input type="submit" value="'.&mt('Cancel').'" /></form></p>');
+                '" method="post"><p><input type="submit" value="'.&mt('Cancel').'" /></form></p>');
             return;
         }
 
@@ -828,9 +828,9 @@
 	$request->print('</form>');
 
 	$request->print('<form action="'.&url($newfilename).
-			'" method="POST"><p><input type="submit" value="'.&mt('Continue').'" /></p></form>');
+			'" method="post"><p><input type="submit" value="'.&mt('Continue').'" /></p></form>');
 	$request->print('<form action="'.&url($fn).
-			'" method="POST"><p><input type="submit" value="'.&mt('Cancel').'" /></p></form>');
+			'" method="post"><p><input type="submit" value="'.&mt('Cancel').'" /></p></form>');
     }
     return;
 }
Index: loncom/publisher/lonretrieve.pm
diff -u loncom/publisher/lonretrieve.pm:1.38 loncom/publisher/lonretrieve.pm:1.39
--- loncom/publisher/lonretrieve.pm:1.38	Thu Apr 23 17:33:58 2009
+++ loncom/publisher/lonretrieve.pm	Mon May 11 16:51:32 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to retrieve an old version of a file
 #
-# $Id: lonretrieve.pm,v 1.38 2009/04/23 17:33:58 bisitz Exp $
+# $Id: lonretrieve.pm,v 1.39 2009/05/11 16:51:32 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -120,7 +120,7 @@
     my ($main,$suffix,$is_meta) = &get_file_info($fn);
     
     if (-e $resfn) {  
-	$r->print('<form action="/adm/retrieve" method="POST">'.
+	$r->print('<form action="/adm/retrieve" method="post">'.
 		  '<input type="hidden" name="filename" value="/~'.$uname.$fn.'" />'.
 		  '<input type="hidden" name="phase" value="two" />'.
 		  &Apache::loncommon::start_data_table().

--bisitz1242060693--