From 4099271496b7a7612dd0559bc6b63d31a7f346e2 Mon Sep 17 00:00:00 2001
From: jakubvrana
Date: Fri, 23 Jan 2009 15:50:42 +0000
Subject: [PATCH] Cross links to select and table (bug #2236232)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@550 7c3ca157-0c34-0410-bff1-cbf682f78f5c
---
lang/cs.inc.php | 2 ++
select.inc.php | 5 ++++-
table.inc.php | 1 +
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/lang/cs.inc.php b/lang/cs.inc.php
index 6a71e058..3b631352 100644
--- a/lang/cs.inc.php
+++ b/lang/cs.inc.php
@@ -211,4 +211,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',
+ 'Select table' => 'Vypsat tabulku',
);
diff --git a/select.inc.php b/select.inc.php
index 046ac5ca..044bb752 100644
--- a/select.inc.php
+++ b/select.inc.php
@@ -131,10 +131,13 @@ if ($_POST && !$error) {
}
page_header(lang('Select') . ": " . htmlspecialchars($_GET["select"]), $error);
+echo "";
if (isset($rights["insert"])) {
//! pass search values forth and back
- echo '
' . lang('New item') . "
\n";
+ echo '' . lang('New item') . ' ';
}
+echo '' . lang('Table structure') . '';
+echo "
\n";
if (!$columns) {
echo "" . lang('Unable to select the table') . ($fields ? "" : ": " . htmlspecialchars($mysql->error)) . ".
\n";
diff --git a/table.inc.php b/table.inc.php
index caaba99c..aa66d7c4 100644
--- a/table.inc.php
+++ b/table.inc.php
@@ -21,6 +21,7 @@ if ($result) {
echo "";
echo '' . lang('Alter table') . '';
echo ($auto_increment_only ? '' : ' ' . lang('Default values') . '');
+ echo ' ' . lang('Select table') . '';
echo "
\n";
echo "" . lang('Indexes') . "
\n";