mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
HTML instead of XHTML
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@803 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -60,7 +60,7 @@ document.onmouseup = schema_mouseup;
|
||||
<?php
|
||||
foreach ($schema as $name => $table) {
|
||||
echo "<div class='table' style='top: " . $table["pos"][0] . "em; left: " . $table["pos"][1] . "em;' onmousedown='schema_mousedown(this, event);'>";
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'table=' . urlencode($name) . '"><strong>' . htmlspecialchars($name) . "</strong></a><br />\n";
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'table=' . urlencode($name) . '"><strong>' . htmlspecialchars($name) . "</strong></a><br>\n";
|
||||
foreach ($table["fields"] as $field) {
|
||||
$val = htmlspecialchars($field["field"]);
|
||||
$title = ' title="' . htmlspecialchars($field["full_type"] . ($field["null"] ? " " . lang('NULL') : '')) . '"';
|
||||
@@ -75,7 +75,7 @@ foreach ($schema as $name => $table) {
|
||||
} else {
|
||||
$val = "<span$title>$val</span>";
|
||||
}
|
||||
echo ($field["primary"] ? "<em>$val</em>" : $val) . "<br />\n";
|
||||
echo ($field["primary"] ? "<em>$val</em>" : $val) . "<br>\n";
|
||||
}
|
||||
foreach ((array) $table["references"] as $target_name => $refs) {
|
||||
foreach ($refs as $left => $ref) {
|
||||
|
Reference in New Issue
Block a user