]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18223 XHTML strrrict
authorskodak <skodak>
Tue, 17 Feb 2009 22:56:47 +0000 (22:56 +0000)
committerskodak <skodak>
Tue, 17 Feb 2009 22:56:47 +0000 (22:56 +0000)
admin/report/spamcleaner/index.php

index 208a07ca9e3e0724fd491d5e99fd73784a63e0b7..0de8b33b7412603db9d8cc091c522e67842e692d 100755 (executable)
@@ -99,17 +99,21 @@ print_box_start();     // The forms section at the top
 
 <div class="mdl-align">
 
-<form method="POST">
+<form method="post" action="index.php">
+  <div>
     <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" /> 
     <input type="hidden" name="sesskey" value="<?php echo sesskey();?>" />
     <input type="submit" value="<?php echo get_string('spamsearch', 'report_spamcleaner')?>" />
+  </div>
 </form>
 <p><?php echo get_string('spameg', 'report_spamcleaner');?></p>
 
 <hr />
 
-<form method="POST">
+<form method="post"  action="index.php">
+  <div>
     <input type="submit" name="autodetect" value="<?php echo get_string('spamauto', 'report_spamcleaner');?>" />
+  </div>
 </form>
 
 
@@ -283,6 +287,7 @@ $sesskey = sesskey();
 ?>
 
 <script type="text/javascript">
+//<![CDATA[
 var row = null;
 var delall_cb = {
     success: function(o){
@@ -357,6 +362,7 @@ function ignore_user(obj, id) {
     var cObj = YAHOO.util.Connect.asyncRequest('POST', '<?php echo me();?>?ignore=yes&sesskey=<?php echo $sesskey;?>&id='+id, ignore_cb); 
 }
 YAHOO.util.Event.onDOMReady(init);
+//]]>
 </script>
 
 <?php