Number of rows

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@251 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2007-07-25 15:45:10 +00:00
parent 8d7e48db57
commit 28de707102
2 changed files with 3 additions and 1 deletions

View file

@ -71,7 +71,7 @@ function page_footer($missing = false) {
} else {
echo "<p>\n";
while ($row = $result->fetch_assoc()) {
echo '<a href="' . htmlspecialchars($SELF) . 'select=' . urlencode($row["Name"]) . '">' . lang('select') . '</a> ';
echo '<a href="' . htmlspecialchars($SELF) . 'select=' . urlencode($row["Name"]) . '" title="' . lang('%d row(s)', $row["Rows"]) . '">' . lang('select') . '</a> ';
echo '<a href="' . htmlspecialchars($SELF) . (isset($row["Engine"]) ? 'table' : 'view') . '=' . urlencode($row["Name"]) . '">' . htmlspecialchars($row["Name"]) . "</a><br />\n";
}
echo "</p>\n";

View file

@ -5,6 +5,7 @@ static $translations = array(
'%d byte(s)' => array('%d byte', '%d bytes'),
'Routine has been called, %d row(s) affected.' => array('Routine has been called, %d row affected.', 'Routine has been called, %d rows affected.'),
'%d process(es) has been killed.' => array('%d process has been killed.', '%d processes have been killed.'),
'%d row(s)' => array('%d row', '%d rows'),
),
'cs' => array(
'Login' => 'Přihlásit se',
@ -154,6 +155,7 @@ static $translations = array(
'Event' => 'Událost',
'MySQL version' => 'Verze MySQL',
'through PHP extension' => 'přes PHP extenzi',
'%d row(s)' => array('%d řádek', '%d řádky', '%d řádků'),
),
);