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
This commit is contained in:
parent
71430ee4b4
commit
4099271496
|
@ -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',
|
||||
);
|
||||
|
|
|
@ -131,10 +131,13 @@ if ($_POST && !$error) {
|
|||
}
|
||||
page_header(lang('Select') . ": " . htmlspecialchars($_GET["select"]), $error);
|
||||
|
||||
echo "<p>";
|
||||
if (isset($rights["insert"])) {
|
||||
//! pass search values forth and back
|
||||
echo '<p><a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . '">' . lang('New item') . "</a></p>\n";
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . '">' . lang('New item') . '</a> ';
|
||||
}
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'table=' . urlencode($_GET['select']) . '">' . lang('Table structure') . '</a>';
|
||||
echo "</p>\n";
|
||||
|
||||
if (!$columns) {
|
||||
echo "<p class='error'>" . lang('Unable to select the table') . ($fields ? "" : ": " . htmlspecialchars($mysql->error)) . ".</p>\n";
|
||||
|
|
|
@ -21,6 +21,7 @@ if ($result) {
|
|||
echo "<p>";
|
||||
echo '<a href="' . htmlspecialchars($SELF) . 'create=' . urlencode($_GET["table"]) . '">' . lang('Alter table') . '</a>';
|
||||
echo ($auto_increment_only ? '' : ' <a href="' . htmlspecialchars($SELF) . 'default=' . urlencode($_GET["table"]) . '">' . lang('Default values') . '</a>');
|
||||
echo ' <a href="' . htmlspecialchars($SELF) . 'select=' . urlencode($_GET["table"]) . '">' . lang('Select table') . '</a>';
|
||||
echo "</p>\n";
|
||||
|
||||
echo "<h3>" . lang('Indexes') . "</h3>\n";
|
||||
|
|
Loading…
Reference in a new issue