mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
some fixes for XHTML compliance
This commit is contained in:
parent
0cdd138180
commit
7ef0797dea
31 changed files with 867 additions and 756 deletions
|
@ -1,4 +1,4 @@
|
|||
<?PHP //$Id$
|
||||
<?php //$Id$
|
||||
//This page receive all the restore_form data. Then, if existing course
|
||||
//has been selected, shows a list of courses to select one.
|
||||
//It cheks that the parammeter from restore_form are coherent.
|
||||
|
@ -150,9 +150,9 @@
|
|||
if (($restore->restoreto == 0 or $restore->restoreto == 1) and ($restore->course_id == 0) and (isadmin())) {
|
||||
if ($courses = get_courses("all","c.fullname")) {
|
||||
print_heading(get_string("choosecourse"));
|
||||
print_simple_box_start("CENTER");
|
||||
print_simple_box_start("center");
|
||||
foreach ($courses as $course) {
|
||||
echo "<A HREF=\"restore.php?course_id=$course->id&launch=check&id=$id&file=$file\">$course->fullname ($course->shortname)</A><BR>";
|
||||
echo "<a href=\"restore.php?course_id=$course->id&launch=check&id=$id&file=$file\">$course->fullname ($course->shortname)</a><br />";
|
||||
}
|
||||
print_simple_box_end();
|
||||
} else {
|
||||
|
@ -183,12 +183,12 @@
|
|||
if ($show_continue_button) {
|
||||
//Print the continue button to execute the restore NOW !!!!
|
||||
//All is prepared !!!
|
||||
echo "<CENTER>";
|
||||
echo "<center>";
|
||||
$hidden["launch"] = "execute";
|
||||
$hidden["file"] = $file;
|
||||
$hidden["id"] = $id;
|
||||
print_single_button("restore.php", $hidden, get_string("restorecoursenow"),"post");
|
||||
echo "</CENTER>";
|
||||
echo "</center>";
|
||||
} else {
|
||||
//Show error
|
||||
error ("Something was wrong checking restore preferences");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue