]> git.mjollnir.org Git - moodle.git/commitdiff
Now all the filters global config pages are valid XML. Related to MDL-7861
authorstronk7 <stronk7>
Sat, 13 Jan 2007 20:15:09 +0000 (20:15 +0000)
committerstronk7 <stronk7>
Sat, 13 Jan 2007 20:15:09 +0000 (20:15 +0000)
admin/filter.php
filter/censor/filterconfig.html
filter/tex/filterconfig.html

index 00778be6ad9dbb9741d7c39dbf8658602836c645..cb24b3d129178106f31447ec017b4e71ece4d86d 100644 (file)
@@ -94,7 +94,5 @@
     <?php
     print_simple_box_end();
 
-    print_simple_box_end();
-
     admin_externalpage_print_footer($adminroot);
 ?>
index cb5f1110ae27a14063f84322386cc5c025756aa3..406ec5fec5f6a46628ab65eb7af528a2e4e55754 100644 (file)
@@ -25,4 +25,4 @@
         <td align="center"><?php echo $txt->badwordsconfig; ?><br />
             <i><?php echo $txt->badwordsdefault; ?></i></td>
     </tr>
-<table>
+</table>
index b6eb57fe1980018cf688c4cc71c203e0398939d2..ded48a5fb0522f610731960b1b51e6e61b58af8e 100644 (file)
     </tr>
     <tr valign="top">
         <td align="right"><?php echo $txt->latexpreamble; ?></td>
-        <td><textarea type="text" name="filter_tex_latexpreamble" cols="60" rows="5"><?php echo "$CFG->filter_tex_latexpreamble"; ?></textarea></td>
+        <td><textarea type="text" name="filter_tex_latexpreamble" cols="60" rows="5"><?php p($CFG->filter_tex_latexpreamble); ?></textarea></td>
     </tr>
     <tr valign="top">
         <td align="right"><?php echo $txt->backgroundcolour; ?></td>
         <td><input type="text" name="filter_tex_latexbackground" 
-            value="<?php echo $CFG->filter_tex_latexbackground; ?>"></td>
+            value="<?php p($CFG->filter_tex_latexbackground) ?>" /></td>
     </tr>
     <tr valign="top">
         <td align="right"><?php echo $txt->density; ?></td>
         <td><input type="text" name="filter_tex_density"
-            value="<?php echo $CFG->filter_tex_density; ?>"></td>
+            value="<?php p($CFG->filter_tex_density); ?>" /></td>
     </tr>
     <tr valign="top">
         <td align="right"><?php echo $txt->pathlatex; ?></td>
         <td><input type="text" name="filter_tex_pathlatex" size="50"
-            value="<?php echo $CFG->filter_tex_pathlatex; ?>"</td>
+            value="<?php p($CFG->filter_tex_pathlatex); ?>" /></td>
     </tr>
     <tr valign="top">
         <td align="right"><?php echo $txt->pathdvips; ?></td>
         <td><input type="text" name="filter_tex_pathdvips" size="50"
-            value="<?php echo $CFG->filter_tex_pathdvips; ?>"</td>
+            value="<?php p($CFG->filter_tex_pathdvips); ?>" /></td>
     </tr>
     <tr valign="top">
         <td align="right"><?php echo $txt->pathconvert; ?></td>
         <td><input type="text" name="filter_tex_pathconvert" size="50"
-            value="<?php echo $CFG->filter_tex_pathconvert; ?>"</td>
+            value="<?php p($CFG->filter_tex_pathconvert); ?>" /></td>
     </tr>
 </table>