mirror of
https://github.com/moodle/moodle.git
synced 2025-05-03 06:48:46 +02:00
Now the Admin/Variables and Admin/Backup pages show a
warning if XML support isn't enabled. Bug 1432 (http://moodle.org/bugs/bug.php?op=show&bugid=1432)
This commit is contained in:
parent
9a2ba13e51
commit
64d6c09b7a
@ -119,7 +119,13 @@
|
|||||||
echo "<br />";
|
echo "<br />";
|
||||||
|
|
||||||
print_simple_box_start("center", "", "$THEME->cellheading");
|
print_simple_box_start("center", "", "$THEME->cellheading");
|
||||||
|
|
||||||
|
//Check for required functions...
|
||||||
|
if(!function_exists('utf8_encode')) {
|
||||||
|
print_simple_box("<font color=\"red\">You need to add XML support to your PHP installation</font>", "center", "70%", "$THEME->cellheading", "20", "noticebox");
|
||||||
|
}
|
||||||
include ("$CFG->dirroot/backup/config.html");
|
include ("$CFG->dirroot/backup/config.html");
|
||||||
|
|
||||||
print_simple_box_end();
|
print_simple_box_end();
|
||||||
|
|
||||||
print_footer();
|
print_footer();
|
||||||
|
@ -447,7 +447,13 @@
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?php print_string("configenablerssfeeds") ?>
|
<?php
|
||||||
|
print_string("configenablerssfeeds");
|
||||||
|
//Check for required functions...
|
||||||
|
if(!function_exists('utf8_encode')) {
|
||||||
|
echo "<font color=\"red\"> You need to add XML support to your PHP installation.</font>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user