mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Ignore tables and fields with empty name
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@861 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -108,8 +108,9 @@ function adminer_navigation($missing) {
|
||||
} else {
|
||||
echo "<p>\n";
|
||||
foreach ($table_status as $row) {
|
||||
if (isset($row["Engine"])) { // ignore views
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'select=' . urlencode($row["Name"]) . '">' . adminer_table_name($row) . "</a><br>\n";
|
||||
$name = adminer_table_name($row);
|
||||
if (isset($row["Engine"]) && strlen($name)) { // ignore views and tables without name
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'select=' . urlencode($row["Name"]) . "\">$name</a><br>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -4,7 +4,6 @@ $translations = array(
|
||||
'Invalid credentials.' => 'Neplatné přihlašovací údaje.',
|
||||
'Server' => 'Server',
|
||||
'Save' => 'Uložit',
|
||||
'SQL command' => 'SQL příkaz',
|
||||
'Logout' => 'Odhlásit',
|
||||
'Use' => 'Vybrat',
|
||||
'No tables.' => 'Žádné tabulky.',
|
||||
@@ -53,7 +52,6 @@ $translations = array(
|
||||
'%d row(s) has been imported.' => array('Byl importován %d záznam.', 'Byly importovány %d záznamy.', 'Bylo importováno %d záznamů.'),
|
||||
'CSV Import' => 'Import CSV',
|
||||
'Import' => 'Import',
|
||||
'Table structure' => 'Struktura tabulky',
|
||||
'(anywhere)' => '(kdekoliv)',
|
||||
'Editor' => 'Editor',
|
||||
'E-mail' => 'E-mail',
|
||||
@@ -61,4 +59,11 @@ $translations = array(
|
||||
'Subject' => 'Předmět',
|
||||
'Send' => 'Odeslat',
|
||||
'%d e-mail(s) have been sent.' => array('Byl odeslán %d e-mail.', 'Byly odeslány %d e-maily.', 'Bylo odesláno %d e-mailů.'),
|
||||
'Relations' => 'Vztahy',
|
||||
'Maximum allowed file size is %sB.' => 'Maximální povolená velikost souboru je %sB.',
|
||||
'Username' => 'Uživatel',
|
||||
'Password' => 'Heslo',
|
||||
'Logout successful.' => 'Odhlášení proběhlo v pořádku.',
|
||||
'Sessions must be enabled.' => 'Session proměnné musí být povolené.',
|
||||
'Session expired, please login again.' => 'Session vypršela, přihlašte se prosím znovu.',
|
||||
);
|
||||
|
Reference in New Issue
Block a user