1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Add anchors to database and table sections to allow linking

This commit is contained in:
Jakub Vrana
2013-04-27 23:17:07 -07:00
parent f7e671448c
commit 5eda7e547f
2 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ if ($fields) {
echo "</table>\n";
if (!is_view($table_status)) {
echo "<h3>" . lang('Indexes') . "</h3>\n";
echo "<h3 id='indexes'>" . lang('Indexes') . "</h3>\n";
$indexes = indexes($TABLE);
if ($indexes) {
echo "<table cellspacing='0'>\n";
@@ -43,7 +43,7 @@ if ($fields) {
echo '<p><a href="' . h(ME) . 'indexes=' . urlencode($TABLE) . '">' . lang('Alter indexes') . "</a>\n";
if (fk_support($table_status)) {
echo "<h3>" . lang('Foreign keys') . "</h3>\n";
echo "<h3 id='foreign-keys'>" . lang('Foreign keys') . "</h3>\n";
$foreign_keys = foreign_keys($TABLE);
if ($foreign_keys) {
echo "<table cellspacing='0'>\n";
@@ -68,7 +68,7 @@ if ($fields) {
}
if (support("trigger")) {
echo "<h3>" . lang('Triggers') . "</h3>\n";
echo "<h3 id='triggers'>" . lang('Triggers') . "</h3>\n";
$triggers = triggers($TABLE);
if ($triggers) {
echo "<table cellspacing='0'>\n";