mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
XHTML compliance, merged from STABLE
This commit is contained in:
parent
a6470d97ee
commit
9e20154488
2 changed files with 13 additions and 13 deletions
|
@ -409,8 +409,8 @@
|
||||||
$table->data[] = array("<font size=\"+1\"><b><a href=\"../files/index.php?id=$site->id\">".get_string("sitefiles")."</a></b></font>",
|
$table->data[] = array("<font size=\"+1\"><b><a href=\"../files/index.php?id=$site->id\">".get_string("sitefiles")."</a></b></font>",
|
||||||
"<font size=\"+1\"> </font>".get_string("adminhelpsitefiles"));
|
"<font size=\"+1\"> </font>".get_string("adminhelpsitefiles"));
|
||||||
if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
|
if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
|
||||||
$table->data[] = array("<font size=+1><b><a href=\"$CFG->dbtype/frame.php\">".get_string("managedatabase")."</a></b></font>",
|
$table->data[] = array("<font size=\"+1\"><b><a href=\"$CFG->dbtype/frame.php\">".get_string("managedatabase")."</a></b></font>",
|
||||||
"<font size=+1> </font>".get_string("adminhelpmanagedatabase"));
|
"<font size=\"+1\"> </font>".get_string("adminhelpmanagedatabase"));
|
||||||
}
|
}
|
||||||
|
|
||||||
print_table($table);
|
print_table($table);
|
||||||
|
|
|
@ -226,7 +226,7 @@
|
||||||
echo "<center><p align=\"center\">";
|
echo "<center><p align=\"center\">";
|
||||||
echo get_string("firstname")." : ";
|
echo get_string("firstname")." : ";
|
||||||
if ($firstinitial) {
|
if ($firstinitial) {
|
||||||
echo " <a href=\"user.php?sort=firstname&dir=ASC&".
|
echo " <a href=\"user.php?sort=firstname&dir=ASC&".
|
||||||
"perpage=$perpage&lastinitial=$lastinitial\">$strall</a> ";
|
"perpage=$perpage&lastinitial=$lastinitial\">$strall</a> ";
|
||||||
} else {
|
} else {
|
||||||
echo " <b>$strall</b> ";
|
echo " <b>$strall</b> ";
|
||||||
|
@ -235,7 +235,7 @@
|
||||||
if ($letter == $firstinitial) {
|
if ($letter == $firstinitial) {
|
||||||
echo " <b>$letter</b> ";
|
echo " <b>$letter</b> ";
|
||||||
} else {
|
} else {
|
||||||
echo " <a href=\"user.php?sort=firstname&dir=ASC&".
|
echo " <a href=\"user.php?sort=firstname&dir=ASC&".
|
||||||
"perpage=$perpage&lastinitial=$lastinitial&firstinitial=$letter\">$letter</a> ";
|
"perpage=$perpage&lastinitial=$lastinitial&firstinitial=$letter\">$letter</a> ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -245,7 +245,7 @@
|
||||||
|
|
||||||
echo get_string("lastname")." : ";
|
echo get_string("lastname")." : ";
|
||||||
if ($lastinitial) {
|
if ($lastinitial) {
|
||||||
echo " <a href=\"user.php?sort=lastname&dir=ASC&".
|
echo " <a href=\"user.php?sort=lastname&dir=ASC&".
|
||||||
"perpage=$perpage&firstinitial=$firstinitial\">$strall</a> ";
|
"perpage=$perpage&firstinitial=$firstinitial\">$strall</a> ";
|
||||||
} else {
|
} else {
|
||||||
echo " <b>$strall</b> ";
|
echo " <b>$strall</b> ";
|
||||||
|
@ -254,7 +254,7 @@
|
||||||
if ($letter == $lastinitial) {
|
if ($letter == $lastinitial) {
|
||||||
echo " <b>$letter</b> ";
|
echo " <b>$letter</b> ";
|
||||||
} else {
|
} else {
|
||||||
echo " <a href=\"user.php?sort=lastname&dir=ASC&".
|
echo " <a href=\"user.php?sort=lastname&dir=ASC&".
|
||||||
"perpage=$perpage&firstinitial=$firstinitial&lastinitial=$letter\">$letter</a> ";
|
"perpage=$perpage&firstinitial=$firstinitial&lastinitial=$letter\">$letter</a> ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -310,7 +310,7 @@
|
||||||
if ($user->id == $USER->id or $user->username == "changeme") {
|
if ($user->id == $USER->id or $user->username == "changeme") {
|
||||||
$deletebutton = "";
|
$deletebutton = "";
|
||||||
} else {
|
} else {
|
||||||
$deletebutton = "<a href=\"user.php?delete=$user->id&sesskey=$USER->sesskey\">$strdelete</a>";
|
$deletebutton = "<a href=\"user.php?delete=$user->id&sesskey=$USER->sesskey\">$strdelete</a>";
|
||||||
}
|
}
|
||||||
if ($user->lastaccess) {
|
if ($user->lastaccess) {
|
||||||
$strlastaccess = format_time(time() - $user->lastaccess);
|
$strlastaccess = format_time(time() - $user->lastaccess);
|
||||||
|
@ -318,7 +318,7 @@
|
||||||
$strlastaccess = get_string("never");
|
$strlastaccess = get_string("never");
|
||||||
}
|
}
|
||||||
if ($user->confirmed == 0) {
|
if ($user->confirmed == 0) {
|
||||||
$confirmbutton = "<a href=\"user.php?confirmuser=$user->id&sesskey=$USER->sesskey\">" . get_string("confirm") . "</a>";
|
$confirmbutton = "<a href=\"user.php?confirmuser=$user->id&sesskey=$USER->sesskey\">" . get_string("confirm") . "</a>";
|
||||||
} else {
|
} else {
|
||||||
$confirmbutton = "";
|
$confirmbutton = "";
|
||||||
}
|
}
|
||||||
|
@ -336,21 +336,21 @@
|
||||||
|
|
||||||
echo "<table class=\"searchbox\" align=\"center\" cellpadding=\"10\"><tr><td>";
|
echo "<table class=\"searchbox\" align=\"center\" cellpadding=\"10\"><tr><td>";
|
||||||
echo "<form action=\"user.php\" method=\"get\">";
|
echo "<form action=\"user.php\" method=\"get\">";
|
||||||
echo "<input type=\"text\" name=\"search\" value=\"$search\" size=\"20\">";
|
echo "<input type=\"text\" name=\"search\" value=\"$search\" size=\"20\" />";
|
||||||
echo "<input type=\"submit\" value=\"$strsearch\">";
|
echo "<input type=\"submit\" value=\"$strsearch\" />";
|
||||||
if ($search) {
|
if ($search) {
|
||||||
echo "<input type=\"button\" onclick=\"document.location='user.php';\" value=\"$strshowallusers\">";
|
echo "<input type=\"button\" onclick=\"document.location='user.php';\" value=\"$strshowallusers\" />";
|
||||||
}
|
}
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
echo "</td></tr></table>";
|
echo "</td></tr></table>";
|
||||||
print_heading("<a href=\"user.php?newuser=true&sesskey=$USER->sesskey\">".get_string("addnewuser")."</a>");
|
print_heading("<a href=\"user.php?newuser=true&sesskey=$USER->sesskey\">".get_string("addnewuser")."</a>");
|
||||||
|
|
||||||
if (!empty($table)) {
|
if (!empty($table)) {
|
||||||
print_table($table);
|
print_table($table);
|
||||||
print_paging_bar($usercount, $page, $perpage,
|
print_paging_bar($usercount, $page, $perpage,
|
||||||
"user.php?sort=$sort&dir=$dir&perpage=$perpage".
|
"user.php?sort=$sort&dir=$dir&perpage=$perpage".
|
||||||
"&firstinitial=$firstinitial&lastinitial=$lastinitial&search=$search&");
|
"&firstinitial=$firstinitial&lastinitial=$lastinitial&search=$search&");
|
||||||
print_heading("<a href=\"user.php?newuser=true&sesskey=$USER->sesskey\">".get_string("addnewuser")."</a>");
|
print_heading("<a href=\"user.php?newuser=true&sesskey=$USER->sesskey\">".get_string("addnewuser")."</a>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue