print view for SQL results

This commit is contained in:
Alexander M. Turek
2002-05-31 15:32:41 +00:00
parent da8127e350
commit eebe614c0b
49 changed files with 311 additions and 90 deletions

View File

@@ -7,6 +7,9 @@ $Source$
2002-05-31 Alexander M. Turek <rabus@users.sourceforge.net> 2002-05-31 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/german.inc.php3: Small corrections. * lang/german.inc.php3: Small corrections.
* sql.php3, header_printview.inc.php3, libraries/display_tbl.inc.php3,
lang/*.inc.php3: Implemented one part of feature #472038:
Print view for SQL query results.
2002-05-30 Alexander M. Turek <rabus@users.sourceforge.net> 2002-05-30 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/albanian.inc.php3: Updates, thanks again to * lang/albanian.inc.php3: Updates, thanks again to

78
header_printview.inc.php3 Normal file
View File

@@ -0,0 +1,78 @@
<?php
/* $Id$ */
/**
* Gets a core script and starts output buffering work
*/
require('./libraries/common.lib.php3');
require('./libraries/ob.lib.php3');
if ($cfg['OBGzip']) {
$ob_mode = PMA_outBufferModeGet();
if ($ob_mode) {
PMA_outBufferPre($ob_mode);
}
}
/**
* Sends http headers
*/
// Don't use cache (required for Opera)
$now = gmdate('D, d M Y H:i:s') . ' GMT';
header('Expires: 0'); // rfc2616 - Section 14.21
header('Last-Modified: ' . $now);
header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0
// Define the charset to be used
header('Content-Type: text/html; charset=' . $charset);
/**
* Sends the beginning of the html page then returns to the calling script
*/
// Gets the font sizes to use
PMA_setFontSizes();
// Defines the cell alignment values depending on text direction
if ($text_dir == 'ltr') {
$cell_align_left = 'left';
$cell_align_right = 'right';
} else {
$cell_align_left = 'right';
$cell_align_right = 'left';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
<head>
<title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title>
<style type="text/css">
<!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000; background-color: #ffffff}
h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_bigger; ?>; font-weight: bold}
table {border-width:1px; border-color:#000000; border-style:solid; border-collapse:collapse; border-spacing:0}
th {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; font-weight: bold; color: #000000; background-color: #ffffff; border-width:1px; border-color:#000000; border-style:solid; padding:2px}
td {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000; background-color: #ffffff; border-width:1px; border-color:#000000; border-style:solid; padding:2px}
//-->
</style>
</head>
<body bgcolor="#ffffff">
<h1><?php echo $strSQLResult; ?></h1>
<p>
<b><?php echo $strHost; ?>:</b> <?php echo $cfg['Server']['host'] . ((!empty($cfg['Server']['port'])) ? ':' . $cfg['Server']['port'] : ''); ?><br />
<b><?php echo $strDatabase; ?>:</b> <?php echo htmlspecialchars($db); ?><br />
<b><?php echo $strGenTime; ?>:</b> <?php echo PMA_localisedDate(); ?><br />
<b><?php echo $strGenBy; ?>:</b> phpMyAdmin <?php echo PMA_VERSION; ?><br />
<b><?php echo $strSQLQuery; ?>:</b> <?php echo htmlspecialchars($full_sql_query); ?>;
</p>
<?php
/**
* Sets a variable to remember headers have been sent
*/
$is_header_sent = TRUE;
?>

View File

@@ -389,4 +389,6 @@ $strYes = ' Po ';
$strZip = '"kompresuar me zip"'; $strZip = '"kompresuar me zip"';
// To translate // To translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -390,4 +390,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -388,4 +388,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -389,4 +389,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -389,4 +389,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -390,4 +390,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -390,4 +390,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -389,4 +389,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -389,4 +389,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -69,7 +69,7 @@ $strCantRenameIdxToPrimary = 'Index nem
$strCardinality = 'Mohutnost'; $strCardinality = 'Mohutnost';
$strCarriage = 'N<>vrat voz<6F>ku (CR): \\r'; $strCarriage = 'N<>vrat voz<6F>ku (CR): \\r';
$strChange = 'Zm<5A>nit'; $strChange = 'Zm<5A>nit';
$strChangeDisplay = 'Zvolte kter<65> sloupce zobrazit'; $strChangeDisplay = 'Zvolte kter<65> sloupce zobrazit';
$strChangePassword = 'Zm<5A>nit heslo'; $strChangePassword = 'Zm<5A>nit heslo';
$strCheckAll = 'Za<5A>krtnout v<>e'; $strCheckAll = 'Za<5A>krtnout v<>e';
$strCheckDbPriv = 'Zkontrolovat opr<70>vn<76>n<EFBFBD> pro datab<61>zi'; $strCheckDbPriv = 'Zkontrolovat opr<70>vn<76>n<EFBFBD> pro datab<61>zi';
@@ -105,7 +105,7 @@ $strDeleteUserMessage = 'Byl smaz
$strDescending = 'Sestupn<70>'; $strDescending = 'Sestupn<70>';
$strDisplay = 'Zobrazit'; $strDisplay = 'Zobrazit';
$strDisplayOrder = 'Se<53>adit podle:'; $strDisplayOrder = 'Se<53>adit podle:';
$strDisplayPDF = 'Zobrazit jako sch<63>ma v PDF'; $strDisplayPDF = 'Zobrazit jako sch<63>ma v PDF';
$strDoAQuery = 'Prov<6F>st "dotaz podle p<><70>kladu" (z<>stupn<70> znak: "%")'; $strDoAQuery = 'Prov<6F>st "dotaz podle p<><70>kladu" (z<>stupn<70> znak: "%")';
$strDocu = 'Dokumentace'; $strDocu = 'Dokumentace';
$strDoYouReally = 'Opravdu si p<>ejete vykonat p<><70>kaz'; $strDoYouReally = 'Opravdu si p<>ejete vykonat p<><70>kaz';
@@ -124,7 +124,7 @@ $strEmptyResultSet = 'MySQL vr
$strEnd = 'Konec'; $strEnd = 'Konec';
$strEnglishPrivileges = 'Pozn<7A>mka: n<>zvy opr<70>vn<76>n<EFBFBD> v&nbsp;MySQL jsou uv<75>d<EFBFBD>ny anglicky'; $strEnglishPrivileges = 'Pozn<7A>mka: n<>zvy opr<70>vn<76>n<EFBFBD> v&nbsp;MySQL jsou uv<75>d<EFBFBD>ny anglicky';
$strError = 'Chyba'; $strError = 'Chyba';
$strExplain = 'Vysv<73>tlit SQL (EXPLAIN)'; $strExplain = 'Vysv<73>tlit SQL (EXPLAIN)';
$strExport = 'Export'; $strExport = 'Export';
$strExportToXML = 'Export do XML'; $strExportToXML = 'Export do XML';
$strExtendedInserts = 'Roz<6F><7A><EFBFBD>en<65> inserty'; $strExtendedInserts = 'Roz<6F><7A><EFBFBD>en<65> inserty';
@@ -215,7 +215,7 @@ $strNoIndexPartsDefined = '
$strNoModification = '<27><>dn<64> zm<7A>na'; $strNoModification = '<27><>dn<64> zm<7A>na';
$strNone = '<27><>dn<64>'; $strNone = '<27><>dn<64>';
$strNoPassword = '<27><>dn<64> heslo'; $strNoPassword = '<27><>dn<64> heslo';
$strNoPhp = 'Bez PHP k<>du'; $strNoPhp = 'Bez PHP k<>du';
$strNoPrivileges = '<27><>dn<64> opr<70>vn<76>n<EFBFBD>'; $strNoPrivileges = '<27><>dn<64> opr<70>vn<76>n<EFBFBD>';
$strNoQuery = '<27><>dn<64> SQL dotaz!'; $strNoQuery = '<27><>dn<64> SQL dotaz!';
$strNoRights = 'Nem<65>te dostate<74>n<EFBFBD> pr<70>va na proveden<65> t<>to akce!'; $strNoRights = 'Nem<65>te dostate<74>n<EFBFBD> pr<70>va na proveden<65> t<>to akce!';
@@ -236,14 +236,14 @@ $strOptions = 'Vlastnosti';
$strOr = 'nebo'; $strOr = 'nebo';
$strOverhead = 'Nav<61>c'; $strOverhead = 'Nav<61>c';
$strPageNumber = 'Strana <20><>slo:'; $strPageNumber = 'Strana <20><>slo:';
$strPartialText = 'Zkr<6B>cen<65> texty'; $strPartialText = 'Zkr<6B>cen<65> texty';
$strPassword = 'Heslo'; $strPassword = 'Heslo';
$strPasswordEmpty = 'Heslo je pr<70>zdn<64>!'; $strPasswordEmpty = 'Heslo je pr<70>zdn<64>!';
$strPasswordNotSame = 'Hesla nejsou stejn<6A>!'; $strPasswordNotSame = 'Hesla nejsou stejn<6A>!';
$strPdfInvalidPageNum = 'Nedefinovan<61> <20><>slo str<74>nky v PDF!'; $strPdfInvalidPageNum = 'Nedefinovan<61> <20><>slo str<74>nky v PDF!';
$strPdfInvalidTblName = 'Tabulka "%s" neexistuje!'; $strPdfInvalidTblName = 'Tabulka "%s" neexistuje!';
$strPhp = 'Zobrazit PHP k<>d'; $strPhp = 'Zobrazit PHP k<>d';
$strPHPVersion = 'Verze PHP'; $strPHPVersion = 'Verze PHP';
$strPmaDocumentation = 'Dokumentace phpMyAdmina'; $strPmaDocumentation = 'Dokumentace phpMyAdmina';
$strPmaUriError = 'Parametr <tt>$cfg[\'PmaAbsoluteUri\']</tt> MUS<55> b<>t nastaveno v&nbsp;konfigura<72>n<EFBFBD>m souboru!'; $strPmaUriError = 'Parametr <tt>$cfg[\'PmaAbsoluteUri\']</tt> MUS<55> b<>t nastaveno v&nbsp;konfigura<72>n<EFBFBD>m souboru!';
@@ -294,7 +294,7 @@ $strRunQuery = 'Prov
$strRunSQLQuery = 'Spustit SQL dotaz(y) na datab<61>zi %s'; $strRunSQLQuery = 'Spustit SQL dotaz(y) na datab<61>zi %s';
$strSave = 'Ulo<6C>'; $strSave = 'Ulo<6C>';
$strScaleFactorSmall = 'M<><4D><EFBFBD>tko je p<><70>li<6C> mal<61>, aby se sch<63>ma ve<76>lo na jednu str<74>nku'; $strScaleFactorSmall = 'M<><4D><EFBFBD>tko je p<><70>li<6C> mal<61>, aby se sch<63>ma ve<76>lo na jednu str<74>nku';
$strSearch = 'Vyhled<65>v<EFBFBD>n<EFBFBD>'; $strSearch = 'Vyhled<65>v<EFBFBD>n<EFBFBD>';
$strSearchFormTitle = 'Vyhled<65>v<EFBFBD>n<EFBFBD> v&nbsp;datab<61>zi'; $strSearchFormTitle = 'Vyhled<65>v<EFBFBD>n<EFBFBD> v&nbsp;datab<61>zi';
$strSearchInTables = 'V&nbsp;tabulk<6C>ch:'; $strSearchInTables = 'V&nbsp;tabulk<6C>ch:';
@@ -316,12 +316,12 @@ $strServerVersion = 'Verze MySQL';
$strSetEnumVal = 'Pokud je sloupec typu "enum" nebo "set", zad<61>vejte hodnoty v&nbsp;n<>sleduj<75>c<EFBFBD>m form<72>tu: \'a\',\'b\',\'c\'...<br />Pokud pot<6F>ebujete zadat zp<7A>tn<74> lom<6F>tko ("\") nebo jednoduch<63> uvozovky ("\'") mezi t<>mito hodnotami, napi<70>te p<>ed n<> zp<7A>tn<74> lom<6F>tko (p<><70>klad: \'\\\\xyz\' nebo \'a\\\'b\').'; $strSetEnumVal = 'Pokud je sloupec typu "enum" nebo "set", zad<61>vejte hodnoty v&nbsp;n<>sleduj<75>c<EFBFBD>m form<72>tu: \'a\',\'b\',\'c\'...<br />Pokud pot<6F>ebujete zadat zp<7A>tn<74> lom<6F>tko ("\") nebo jednoduch<63> uvozovky ("\'") mezi t<>mito hodnotami, napi<70>te p<>ed n<> zp<7A>tn<74> lom<6F>tko (p<><70>klad: \'\\\\xyz\' nebo \'a\\\'b\').';
$strShow = 'Zobrazit'; $strShow = 'Zobrazit';
$strShowAll = 'Zobrazit v<>e'; $strShowAll = 'Zobrazit v<>e';
$strShowColor = 'Barevn<76> <20>ipky'; $strShowColor = 'Barevn<76> <20>ipky';
$strShowCols = 'Zobrazit sloupce'; $strShowCols = 'Zobrazit sloupce';
$strShowGrid = 'Zobrazit m<><6D><EFBFBD>ku'; $strShowGrid = 'Zobrazit m<><6D><EFBFBD>ku';
$strShowingRecords = 'Zobrazeny z<>znamy'; $strShowingRecords = 'Zobrazeny z<>znamy';
$strShowPHPInfo = 'Zobrazit informace o&nbsp;PHP'; $strShowPHPInfo = 'Zobrazit informace o&nbsp;PHP';
$strShowTableDimension = 'Rozm<7A>ry tabulek'; $strShowTableDimension = 'Rozm<7A>ry tabulek';
$strShowTables = 'Zobrazit tabulky'; $strShowTables = 'Zobrazit tabulky';
$strShowThisQuery = 'Zobrazit zde tento dotaz znovu'; $strShowThisQuery = 'Zobrazit zde tento dotaz znovu';
$strSingly = '(po jednom)'; $strSingly = '(po jednom)';
@@ -337,7 +337,7 @@ $strStrucData = 'Strukturu a data';
$strStrucDrop = 'P<>idej \'DROP TABLE\''; $strStrucDrop = 'P<>idej \'DROP TABLE\'';
$strStrucExcelCSV = 'CSV data pro Ms Excel'; $strStrucExcelCSV = 'CSV data pro Ms Excel';
$strStrucOnly = 'Pouze strukturu'; $strStrucOnly = 'Pouze strukturu';
$strStructPropose = 'Navrhnout strukturu tabulky'; $strStructPropose = 'Navrhnout strukturu tabulky';
$strStructure = 'Struktura'; $strStructure = 'Struktura';
$strSubmit = 'Ode<64>li'; $strSubmit = 'Ode<64>li';
$strSuccess = 'Tv<54>j SQL-dotaz byl <20>sp<73><70>n<EFBFBD> vykon<6F>n'; $strSuccess = 'Tv<54>j SQL-dotaz byl <20>sp<73><70>n<EFBFBD> vykon<6F>n';
@@ -389,4 +389,6 @@ $strZip = '"zazipov
// To translate // To translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -69,7 +69,7 @@ $strCantRenameIdxToPrimary = 'Index nem
$strCardinality = 'Mohutnost'; $strCardinality = 'Mohutnost';
$strCarriage = 'N<>vrat voz<6F>ku (CR): \\r'; $strCarriage = 'N<>vrat voz<6F>ku (CR): \\r';
$strChange = 'Zm<5A>nit'; $strChange = 'Zm<5A>nit';
$strChangeDisplay = 'Zvolte kter<65> sloupce zobrazit'; $strChangeDisplay = 'Zvolte kter<65> sloupce zobrazit';
$strChangePassword = 'Zm<5A>nit heslo'; $strChangePassword = 'Zm<5A>nit heslo';
$strCheckAll = 'Za<5A>krtnout v<>e'; $strCheckAll = 'Za<5A>krtnout v<>e';
$strCheckDbPriv = 'Zkontrolovat opr<70>vn<76>n<EFBFBD> pro datab<61>zi'; $strCheckDbPriv = 'Zkontrolovat opr<70>vn<76>n<EFBFBD> pro datab<61>zi';
@@ -105,7 +105,7 @@ $strDeleteUserMessage = 'Byl smaz
$strDescending = 'Sestupn<70>'; $strDescending = 'Sestupn<70>';
$strDisplay = 'Zobrazit'; $strDisplay = 'Zobrazit';
$strDisplayOrder = 'Se<53>adit podle:'; $strDisplayOrder = 'Se<53>adit podle:';
$strDisplayPDF = 'Zobrazit jako sch<63>ma v PDF'; $strDisplayPDF = 'Zobrazit jako sch<63>ma v PDF';
$strDoAQuery = 'Prov<6F>st "dotaz podle p<><70>kladu" (z<>stupn<70> znak: "%")'; $strDoAQuery = 'Prov<6F>st "dotaz podle p<><70>kladu" (z<>stupn<70> znak: "%")';
$strDocu = 'Dokumentace'; $strDocu = 'Dokumentace';
$strDoYouReally = 'Opravdu si p<>ejete vykonat p<><70>kaz'; $strDoYouReally = 'Opravdu si p<>ejete vykonat p<><70>kaz';
@@ -124,7 +124,7 @@ $strEmptyResultSet = 'MySQL vr
$strEnd = 'Konec'; $strEnd = 'Konec';
$strEnglishPrivileges = 'Pozn<7A>mka: n<>zvy opr<70>vn<76>n<EFBFBD> v&nbsp;MySQL jsou uv<75>d<EFBFBD>ny anglicky'; $strEnglishPrivileges = 'Pozn<7A>mka: n<>zvy opr<70>vn<76>n<EFBFBD> v&nbsp;MySQL jsou uv<75>d<EFBFBD>ny anglicky';
$strError = 'Chyba'; $strError = 'Chyba';
$strExplain = 'Vysv<73>tlit SQL (EXPLAIN)'; $strExplain = 'Vysv<73>tlit SQL (EXPLAIN)';
$strExport = 'Export'; $strExport = 'Export';
$strExportToXML = 'Export do XML'; $strExportToXML = 'Export do XML';
$strExtendedInserts = 'Roz<6F><7A><EFBFBD>en<65> inserty'; $strExtendedInserts = 'Roz<6F><7A><EFBFBD>en<65> inserty';
@@ -215,7 +215,7 @@ $strNoIndexPartsDefined = '
$strNoModification = '<27><>dn<64> zm<7A>na'; $strNoModification = '<27><>dn<64> zm<7A>na';
$strNone = '<27><>dn<64>'; $strNone = '<27><>dn<64>';
$strNoPassword = '<27><>dn<64> heslo'; $strNoPassword = '<27><>dn<64> heslo';
$strNoPhp = 'Bez PHP k<>du'; $strNoPhp = 'Bez PHP k<>du';
$strNoPrivileges = '<27><>dn<64> opr<70>vn<76>n<EFBFBD>'; $strNoPrivileges = '<27><>dn<64> opr<70>vn<76>n<EFBFBD>';
$strNoQuery = '<27><>dn<64> SQL dotaz!'; $strNoQuery = '<27><>dn<64> SQL dotaz!';
$strNoRights = 'Nem<65>te dostate<74>n<EFBFBD> pr<70>va na proveden<65> t<>to akce!'; $strNoRights = 'Nem<65>te dostate<74>n<EFBFBD> pr<70>va na proveden<65> t<>to akce!';
@@ -236,14 +236,14 @@ $strOptions = 'Vlastnosti';
$strOr = 'nebo'; $strOr = 'nebo';
$strOverhead = 'Nav<61>c'; $strOverhead = 'Nav<61>c';
$strPageNumber = 'Strana <20><>slo:'; $strPageNumber = 'Strana <20><>slo:';
$strPartialText = 'Zkr<6B>cen<65> texty'; $strPartialText = 'Zkr<6B>cen<65> texty';
$strPassword = 'Heslo'; $strPassword = 'Heslo';
$strPasswordEmpty = 'Heslo je pr<70>zdn<64>!'; $strPasswordEmpty = 'Heslo je pr<70>zdn<64>!';
$strPasswordNotSame = 'Hesla nejsou stejn<6A>!'; $strPasswordNotSame = 'Hesla nejsou stejn<6A>!';
$strPdfInvalidPageNum = 'Nedefinovan<61> <20><>slo str<74>nky v PDF!'; $strPdfInvalidPageNum = 'Nedefinovan<61> <20><>slo str<74>nky v PDF!';
$strPdfInvalidTblName = 'Tabulka "%s" neexistuje!'; $strPdfInvalidTblName = 'Tabulka "%s" neexistuje!';
$strPhp = 'Zobrazit PHP k<>d'; $strPhp = 'Zobrazit PHP k<>d';
$strPHPVersion = 'Verze PHP'; $strPHPVersion = 'Verze PHP';
$strPmaDocumentation = 'Dokumentace phpMyAdmina'; $strPmaDocumentation = 'Dokumentace phpMyAdmina';
$strPmaUriError = 'Parametr <tt>$cfg[\'PmaAbsoluteUri\']</tt> MUS<55> b<>t nastaveno v&nbsp;konfigura<72>n<EFBFBD>m souboru!'; $strPmaUriError = 'Parametr <tt>$cfg[\'PmaAbsoluteUri\']</tt> MUS<55> b<>t nastaveno v&nbsp;konfigura<72>n<EFBFBD>m souboru!';
@@ -294,7 +294,7 @@ $strRunQuery = 'Prov
$strRunSQLQuery = 'Spustit SQL dotaz(y) na datab<61>zi %s'; $strRunSQLQuery = 'Spustit SQL dotaz(y) na datab<61>zi %s';
$strSave = 'Ulo<6C>'; $strSave = 'Ulo<6C>';
$strScaleFactorSmall = 'M<><4D><EFBFBD>tko je p<><70>li<6C> mal<61>, aby se sch<63>ma ve<76>lo na jednu str<74>nku'; $strScaleFactorSmall = 'M<><4D><EFBFBD>tko je p<><70>li<6C> mal<61>, aby se sch<63>ma ve<76>lo na jednu str<74>nku';
$strSearch = 'Vyhled<65>v<EFBFBD>n<EFBFBD>'; $strSearch = 'Vyhled<65>v<EFBFBD>n<EFBFBD>';
$strSearchFormTitle = 'Vyhled<65>v<EFBFBD>n<EFBFBD> v&nbsp;datab<61>zi'; $strSearchFormTitle = 'Vyhled<65>v<EFBFBD>n<EFBFBD> v&nbsp;datab<61>zi';
$strSearchInTables = 'V&nbsp;tabulk<6C>ch:'; $strSearchInTables = 'V&nbsp;tabulk<6C>ch:';
@@ -316,12 +316,12 @@ $strServerVersion = 'Verze MySQL';
$strSetEnumVal = 'Pokud je sloupec typu "enum" nebo "set", zad<61>vejte hodnoty v&nbsp;n<>sleduj<75>c<EFBFBD>m form<72>tu: \'a\',\'b\',\'c\'...<br />Pokud pot<6F>ebujete zadat zp<7A>tn<74> lom<6F>tko ("\") nebo jednoduch<63> uvozovky ("\'") mezi t<>mito hodnotami, napi<70>te p<>ed n<> zp<7A>tn<74> lom<6F>tko (p<><70>klad: \'\\\\xyz\' nebo \'a\\\'b\').'; $strSetEnumVal = 'Pokud je sloupec typu "enum" nebo "set", zad<61>vejte hodnoty v&nbsp;n<>sleduj<75>c<EFBFBD>m form<72>tu: \'a\',\'b\',\'c\'...<br />Pokud pot<6F>ebujete zadat zp<7A>tn<74> lom<6F>tko ("\") nebo jednoduch<63> uvozovky ("\'") mezi t<>mito hodnotami, napi<70>te p<>ed n<> zp<7A>tn<74> lom<6F>tko (p<><70>klad: \'\\\\xyz\' nebo \'a\\\'b\').';
$strShow = 'Zobrazit'; $strShow = 'Zobrazit';
$strShowAll = 'Zobrazit v<>e'; $strShowAll = 'Zobrazit v<>e';
$strShowColor = 'Barevn<76> <20>ipky'; $strShowColor = 'Barevn<76> <20>ipky';
$strShowCols = 'Zobrazit sloupce'; $strShowCols = 'Zobrazit sloupce';
$strShowGrid = 'Zobrazit m<><6D><EFBFBD>ku'; $strShowGrid = 'Zobrazit m<><6D><EFBFBD>ku';
$strShowingRecords = 'Zobrazeny z<>znamy'; $strShowingRecords = 'Zobrazeny z<>znamy';
$strShowPHPInfo = 'Zobrazit informace o&nbsp;PHP'; $strShowPHPInfo = 'Zobrazit informace o&nbsp;PHP';
$strShowTableDimension = 'Rozm<7A>ry tabulek'; $strShowTableDimension = 'Rozm<7A>ry tabulek';
$strShowTables = 'Zobrazit tabulky'; $strShowTables = 'Zobrazit tabulky';
$strShowThisQuery = 'Zobrazit zde tento dotaz znovu'; $strShowThisQuery = 'Zobrazit zde tento dotaz znovu';
$strSingly = '(po jednom)'; $strSingly = '(po jednom)';
@@ -337,7 +337,7 @@ $strStrucData = 'Strukturu a data';
$strStrucDrop = 'P<>idej \'DROP TABLE\''; $strStrucDrop = 'P<>idej \'DROP TABLE\'';
$strStrucExcelCSV = 'CSV data pro Ms Excel'; $strStrucExcelCSV = 'CSV data pro Ms Excel';
$strStrucOnly = 'Pouze strukturu'; $strStrucOnly = 'Pouze strukturu';
$strStructPropose = 'Navrhnout strukturu tabulky'; $strStructPropose = 'Navrhnout strukturu tabulky';
$strStructure = 'Struktura'; $strStructure = 'Struktura';
$strSubmit = 'Ode<64>li'; $strSubmit = 'Ode<64>li';
$strSuccess = 'Tv<54>j SQL-dotaz byl <20>sp<73><70>n<EFBFBD> vykon<6F>n'; $strSuccess = 'Tv<54>j SQL-dotaz byl <20>sp<73><70>n<EFBFBD> vykon<6F>n';
@@ -389,4 +389,6 @@ $strZip = '"zazipov
// To translate // To translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -383,4 +383,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -383,4 +383,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -140,6 +140,7 @@ $strFullText = 'Full Texts';
$strFunction = 'Function'; $strFunction = 'Function';
$strGenTime = 'Generation Time'; $strGenTime = 'Generation Time';
$strGenBy = 'Generated by';
$strGo = 'Go'; $strGo = 'Go';
$strGrants = 'Grants'; $strGrants = 'Grants';
$strGzip = '"gzipped"'; $strGzip = '"gzipped"';
@@ -327,6 +328,7 @@ $strSpaceUsage = 'Space usage';
$strSplitWordsWithSpace = 'Words are splitted by a space character (" ").'; $strSplitWordsWithSpace = 'Words are splitted by a space character (" ").';
$strSQL = 'SQL'; $strSQL = 'SQL';
$strSQLQuery = 'SQL-query'; $strSQLQuery = 'SQL-query';
$strSQLResult = 'SQL result';
$strStatement = 'Statements'; $strStatement = 'Statements';
$strStrucCSV = 'CSV data'; $strStrucCSV = 'CSV data';
$strStrucData = 'Structure and data'; $strStrucData = 'Structure and data';

View File

@@ -384,4 +384,6 @@ $strZip = '"zipitud"';
// To translate // To translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -388,4 +388,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -140,6 +140,7 @@ $strFullText = 'Textes complets';
$strFunction = 'Fonction'; $strFunction = 'Fonction';
$strGenTime = 'G<>n<EFBFBD>r<EFBFBD> le '; $strGenTime = 'G<>n<EFBFBD>r<EFBFBD> le ';
$strGenBy = 'G<>n<EFBFBD>r<EFBFBD> par';
$strGo = 'Ex<45>cuter'; $strGo = 'Ex<45>cuter';
$strGrants = 'Autres privil<69>ges'; $strGrants = 'Autres privil<69>ges';
$strGzip = '"gzipp<70>"'; $strGzip = '"gzipp<70>"';
@@ -327,6 +328,7 @@ $strSpaceUsage = 'Espace utilis
$strSplitWordsWithSpace = 'S<>parer les mots par un espace (" ").'; $strSplitWordsWithSpace = 'S<>parer les mots par un espace (" ").';
$strSQL = 'SQL'; $strSQL = 'SQL';
$strSQLQuery = 'requ<71>te SQL'; $strSQLQuery = 'requ<71>te SQL';
$strSQLResult = 'Resultat de la requ<71>te SQL';
$strStatement = 'Information'; $strStatement = 'Information';
$strStrucCSV = 'Donn<6E>es CSV'; $strStrucCSV = 'Donn<6E>es CSV';
$strStrucData = 'Structure et donn<6E>es'; $strStrucData = 'Structure et donn<6E>es';

View File

@@ -388,4 +388,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -347,23 +347,6 @@ $strOptions = 'Options'; //to translate
$strStructure = 'Structure'; //to translate $strStructure = 'Structure'; //to translate
$strRelationView = 'Relation view'; //to translate $strRelationView = 'Relation view'; //to translate
$strSQL = 'SQL'; //to translate $strSQL = 'SQL'; //to translate
// For indexes
$strAddToIndex = 'Add to index &nbsp;%s&nbsp;column(s)';
$strCantRenameIdxToPrimary = 'Can\'t rename index to PRIMARY!';
$strCardinality = 'Cardinality';
$strCreateIndex = 'Create an index on&nbsp;%s&nbsp;columns';
$strCreateIndexTopic = 'Create a new index';
$strIdxFulltext = 'Fulltext';
$strIndexHasBeenDropped = 'Index %s has been dropped';
$strIndexName = 'Index name&nbsp;:';
$strIndexType = 'Index type&nbsp;:';
$strModifyIndexTopic = 'Modify an index';
$strNoIndex = 'No index defined!';
$strNoIndexPartsDefined = 'No index parts defined!';
$strPrimaryKeyHasBeenDropped = 'The primary key has been dropped';
$strPrimaryKeyName = 'The name of the primary key must be... PRIMARY!';
$strPrimaryKeyWarning = '("PRIMARY" <b>must</b> be the name of and <b>only of</b> a primary key!)';
$strLinkNotFound = 'Link not found'; //to translate $strLinkNotFound = 'Link not found'; //to translate
$strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to translate $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to translate
$strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate
@@ -393,4 +376,23 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
// For indexes
$strAddToIndex = 'Add to index &nbsp;%s&nbsp;column(s)';
$strCantRenameIdxToPrimary = 'Can\'t rename index to PRIMARY!';
$strCardinality = 'Cardinality';
$strCreateIndex = 'Create an index on&nbsp;%s&nbsp;columns';
$strCreateIndexTopic = 'Create a new index';
$strIdxFulltext = 'Fulltext';
$strIndexHasBeenDropped = 'Index %s has been dropped';
$strIndexName = 'Index name&nbsp;:';
$strIndexType = 'Index type&nbsp;:';
$strModifyIndexTopic = 'Modify an index';
$strNoIndex = 'No index defined!';
$strNoIndexPartsDefined = 'No index parts defined!';
$strPrimaryKeyHasBeenDropped = 'The primary key has been dropped';
$strPrimaryKeyName = 'The name of the primary key must be... PRIMARY!';
$strPrimaryKeyWarning = '("PRIMARY" <b>must</b> be the name of and <b>only of</b> a primary key!)';
?> ?>

View File

@@ -85,7 +85,7 @@ $strCreateNewTable = 'Neue Tabelle in Datenbank %s erstellen';
$strCriteria = 'Kriterium'; $strCriteria = 'Kriterium';
$strData = 'Daten'; $strData = 'Daten';
$strDatabase = 'Datenbank '; $strDatabase = 'Datenbank';
$strDatabaseHasBeenDropped = 'Datenbank %s wurde gel<65>scht.'; $strDatabaseHasBeenDropped = 'Datenbank %s wurde gel<65>scht.';
$strDatabases = 'Datenbanken'; $strDatabases = 'Datenbanken';
$strDatabasesStats = 'Statistiken <20>ber alle Datenbanken'; $strDatabasesStats = 'Statistiken <20>ber alle Datenbanken';
@@ -140,6 +140,7 @@ $strFullText = 'vollst
$strFunction = 'Funktion'; $strFunction = 'Funktion';
$strGenTime = 'Erstellungszeit'; $strGenTime = 'Erstellungszeit';
$strGenBy = 'Erstellt von';
$strGo = 'OK'; $strGo = 'OK';
$strGrants = 'Rechte'; $strGrants = 'Rechte';
$strGzip = '"GZip komprimiert"'; $strGzip = '"GZip komprimiert"';
@@ -327,6 +328,7 @@ $strSpaceUsage = 'Speicherplatzverbrauch';
$strSplitWordsWithSpace = 'Die W<>rter werden durch Leerzeichen (" ") getrennt.'; $strSplitWordsWithSpace = 'Die W<>rter werden durch Leerzeichen (" ") getrennt.';
$strSQL = 'SQL'; $strSQL = 'SQL';
$strSQLQuery = 'SQL-Befehl'; $strSQLQuery = 'SQL-Befehl';
$strSQLResult = 'SQL-Abfrageergebnis';
$strStatement = 'Angaben'; $strStatement = 'Angaben';
$strStrucCSV = 'CSV-Daten'; $strStrucCSV = 'CSV-Daten';
$strStrucData = 'Struktur und Daten'; $strStrucData = 'Struktur und Daten';

View File

@@ -385,4 +385,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -385,4 +385,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -390,5 +390,7 @@ $strYes = ' Si ';
$strZip = '"compresso con zip"'; $strZip = '"compresso con zip"';
// To translate // To translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -393,4 +393,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -393,4 +393,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -385,4 +385,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -388,4 +388,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -388,4 +388,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -391,4 +391,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -385,4 +385,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -389,4 +389,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -389,4 +389,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -390,4 +390,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -387,4 +387,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -387,4 +387,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -382,4 +382,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -391,4 +391,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -384,4 +384,6 @@ $strExplain = 'Explain SQL Code'; //to translate
$strPhp = 'Create PHP Code'; //to translate $strPhp = 'Create PHP Code'; //to translate
$strNoPhp = 'without PHP Code'; //to translate $strNoPhp = 'without PHP Code'; //to translate
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate $strPdfDbSchema = 'Schema of the the "%s" database - Page %s'; //to translate
$strGenBy = 'Generated by'; //to translate
$strSQLResult = 'SQL result'; //to translate
?> ?>

View File

@@ -64,14 +64,26 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
$do_display['ins_row'] = (string) $the_disp_mode[6]; $do_display['ins_row'] = (string) $the_disp_mode[6];
$do_display['bkm_form'] = (string) $the_disp_mode[7]; $do_display['bkm_form'] = (string) $the_disp_mode[7];
$do_display['text_btn'] = (string) $the_disp_mode[8]; $do_display['text_btn'] = (string) $the_disp_mode[8];
$do_display['pview_lnk'] = (string) $the_disp_mode[9];
// 2. Display mode is not "false for all elements" -> updates the // 2. Display mode is not "false for all elements" -> updates the
// display mode // display mode
if ($the_disp_mode != 'nnnn00000') { if ($the_disp_mode != 'nnnn000000') {
// 2.0 Print view -> set all elements to FALSE!
if (isset($GLOBALS['printview']) && $GLOBALS['printview'] == '1') {
$do_display['edit_lnk'] = 'nn'; // no edit link
$do_display['del_lnk'] = 'nn'; // no delete link
$do_display['sort_lnk'] = (string) '0';
$do_display['nav_bar'] = (string) '0';
$do_display['ins_row'] = (string) '0';
$do_display['bkm_form'] = (string) '0';
$do_display['text_btn'] = (string) '0';
$do_display['pview_lnk'] = (string) '0';
}
// 2.1 Statement is a "SELECT COUNT", a // 2.1 Statement is a "SELECT COUNT", a
// "CHECK/ANALYZE/REPAIR/OPTIMIZE", an "EXPLAIN" one or // "CHECK/ANALYZE/REPAIR/OPTIMIZE", an "EXPLAIN" one or
// contains a "PROC ANALYSE" part // contains a "PROC ANALYSE" part
if ($GLOBALS['is_count'] || $GLOBALS['is_analyse'] || $GLOBALS['is_maint'] || $GLOBALS['is_explain']) { else if ($GLOBALS['is_count'] || $GLOBALS['is_analyse'] || $GLOBALS['is_maint'] || $GLOBALS['is_explain']) {
$do_display['edit_lnk'] = 'nn'; // no edit link $do_display['edit_lnk'] = 'nn'; // no edit link
$do_display['del_lnk'] = 'nn'; // no delete link $do_display['del_lnk'] = 'nn'; // no delete link
$do_display['sort_lnk'] = (string) '0'; $do_display['sort_lnk'] = (string) '0';
@@ -79,6 +91,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
$do_display['ins_row'] = (string) '0'; $do_display['ins_row'] = (string) '0';
$do_display['bkm_form'] = (string) '1'; $do_display['bkm_form'] = (string) '1';
$do_display['text_btn'] = (string) '0'; $do_display['text_btn'] = (string) '0';
$do_display['pview_lnk'] = (string) '1';
} }
// 2.2 Statement is a "SHOW..." // 2.2 Statement is a "SHOW..."
else if ($GLOBALS['is_show']) { else if ($GLOBALS['is_show']) {
@@ -99,6 +112,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
$do_display['ins_row'] = (string) '0'; $do_display['ins_row'] = (string) '0';
$do_display['bkm_form'] = (string) '1'; $do_display['bkm_form'] = (string) '1';
$do_display['text_btn'] = (string) '0'; $do_display['text_btn'] = (string) '0';
$do_display['pview_lnk'] = (string) '1';
} }
// 2.3 Other statements (ie "SELECT" ones) -> updates // 2.3 Other statements (ie "SELECT" ones) -> updates
// $do_display['edit_lnk'], $do_display['del_lnk'] and // $do_display['edit_lnk'], $do_display['del_lnk'] and
@@ -130,6 +144,8 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
break; break;
} }
} // end if (2.3.2) } // end if (2.3.2)
// 2.3.3 Always display print view link
$do_display['pview_lnk'] = (string) '1';
$prev_table = $fields_meta[$i]->table; $prev_table = $fields_meta[$i]->table;
} // end for } // end for
} // end if..elseif...else (2.1 -> 2.3) } // end if..elseif...else (2.1 -> 2.3)
@@ -765,17 +781,23 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
echo '</tr>' . "\n"; echo '</tr>' . "\n";
} // end if } // end if
$bgcolor = ($row_no % 2) ? $GLOBALS['cfg']['BgcolorOne'] : $GLOBALS['cfg']['BgcolorTwo']; if (isset($GLOBALS['printview']) && ($GLOBALS['printview'] == '1')) {
$bgcolor = '#ffffff';
} else {
$bgcolor = ($row_no % 2) ? $GLOBALS['cfg']['BgcolorOne'] : $GLOBALS['cfg']['BgcolorTwo'];
}
if ($disp_direction == 'horizontal') { if ($disp_direction == 'horizontal') {
// loic1: pointer code part // loic1: pointer code part
$on_mouse = ''; $on_mouse = '';
if ($GLOBALS['cfg']['BrowsePointerColor'] != '') { if (!isset($GLOBALS['printview']) || ($GLOBALS['printview'] != '1')) {
$on_mouse = ' onmouseover="setPointer(this, ' . $row_no . ', \'over\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\')"' if ($GLOBALS['cfg']['BrowsePointerColor'] != '') {
. ' onmouseout="setPointer(this, ' . $row_no . ', \'out\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\')"'; $on_mouse = ' onmouseover="setPointer(this, ' . $row_no . ', \'over\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\')"'
} . ' onmouseout="setPointer(this, ' . $row_no . ', \'out\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\')"';
if ($GLOBALS['cfg']['BrowseMarkerColor'] != '') { }
$on_mouse .= ' onmousedown="setPointer(this, ' . $row_no . ', \'click\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\')"'; if ($GLOBALS['cfg']['BrowseMarkerColor'] != '') {
$on_mouse .= ' onmousedown="setPointer(this, ' . $row_no . ', \'click\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\')"';
}
} }
?> ?>
<tr<?php echo $on_mouse; ?>> <tr<?php echo $on_mouse; ?>>
@@ -1322,7 +1344,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
// 2. ----- Displays the top of the page ----- // 2. ----- Displays the top of the page -----
// 2.1 Displays a messages with position informations // 2.1 Displays a messages with position informations
if ($is_display['nav_bar'] == '1' && isset($pos_next)) { if ($is_display['nav_bar'] == '1' && isset($pos_next) && (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1')) {
if (isset($unlim_num_rows) && $unlim_num_rows != $total) { if (isset($unlim_num_rows) && $unlim_num_rows != $total) {
$selectstring = ', ' . $unlim_num_rows . ' ' . $GLOBALS['strSelectNumRows']; $selectstring = ', ' . $unlim_num_rows . ' ' . $GLOBALS['strSelectNumRows'];
} else { } else {
@@ -1332,7 +1354,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
? $total - 1 ? $total - 1
: $pos_next - 1; : $pos_next - 1;
PMA_showMessage($GLOBALS['strShowingRecords'] . " $pos - $last_shown_rec ($total " . $GLOBALS['strTotal'] . $selectstring . ')'); PMA_showMessage($GLOBALS['strShowingRecords'] . " $pos - $last_shown_rec ($total " . $GLOBALS['strTotal'] . $selectstring . ')');
} else { } else if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') {
PMA_showMessage($GLOBALS['strSQLQuery']); PMA_showMessage($GLOBALS['strSQLQuery']);
} }
@@ -1343,7 +1365,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
if ($is_display['nav_bar'] == '1') { if ($is_display['nav_bar'] == '1') {
PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_sql_query); PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_sql_query);
echo "\n"; echo "\n";
} else { } else if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') {
echo "\n" . '<br /><br />' . "\n"; echo "\n" . '<br /><br />' . "\n";
} }
@@ -1398,7 +1420,6 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
unset($vertical_display); unset($vertical_display);
?> ?>
</table> </table>
<br />
<?php <?php
echo "\n"; echo "\n";
@@ -1406,9 +1427,10 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
// 4. ----- Displays the navigation bar at the bottom if required ----- // 4. ----- Displays the navigation bar at the bottom if required -----
if ($is_display['nav_bar'] == '1') { if ($is_display['nav_bar'] == '1') {
echo '<br />' . "\n";
PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_sql_query); PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_sql_query);
} else { } else if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') {
echo "\n" . '<br />' . "\n"; echo "\n" . '<br /><br />' . "\n";
} }
} // end of the 'PMA_displayTable()' function } // end of the 'PMA_displayTable()' function

View File

@@ -388,9 +388,13 @@ else {
if (isset($show_query)) { if (isset($show_query)) {
unset($show_query); unset($show_query);
} }
$js_to_run = 'functions.js'; if (isset($printview) && $printview == '1') {
include('./header.inc.php3'); include('./header_printview.inc.php3');
include('./libraries/bookmark.lib.php3'); } else {
$js_to_run = 'functions.js';
include('./header.inc.php3');
include('./libraries/bookmark.lib.php3');
}
// Gets the list of fields properties // Gets the list of fields properties
while ($field = mysql_fetch_field($result)) { while ($field = mysql_fetch_field($result)) {
@@ -403,40 +407,64 @@ else {
if (empty($disp_mode)) { if (empty($disp_mode)) {
// see the "PMA_setDisplayMode()" function in // see the "PMA_setDisplayMode()" function in
// libraries/display_tbl.lib.php3 // libraries/display_tbl.lib.php3
$disp_mode = 'urdr11110'; $disp_mode = 'urdr111101';
} }
PMA_displayTable($result, $disp_mode); PMA_displayTable($result, $disp_mode);
mysql_free_result($result); mysql_free_result($result);
// Displays "Insert a new row" link if required if ($disp_mode[6] == '1' || $disp_mode[9] =='1') {
if ($disp_mode[6] == '1') {
$lnk_goto = 'sql.php3'
. '?lang=' . $lang
. '&amp;server=' . $server
. '&amp;db=' . urlencode($db)
. '&amp;table=' . urlencode($table)
. '&amp;pos=' . $pos
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;sql_query=' . urlencode($sql_query);
$url_query = 'lang=' . $lang
. '&amp;server=' . $server
. '&amp;db=' . urlencode($db)
. '&amp;table=' . urlencode($table)
. '&amp;pos=' . $pos
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;sql_query=' . urlencode($sql_query)
. '&amp;goto=' . urlencode($lnk_goto);
echo "\n\n";
echo '<!-- Insert a new row -->' . "\n";
echo '<p>' . "\n"; echo '<p>' . "\n";
echo ' <a href="tbl_change.php3?' . $url_query . '">' . $strInsertNewRow . '</a>' . "\n";
// Displays "Insert a new row" link if required
if ($disp_mode[6] == '1') {
$lnk_goto = 'sql.php3'
. '?lang=' . $lang
. '&amp;server=' . $server
. '&amp;db=' . urlencode($db)
. '&amp;table=' . urlencode($table)
. '&amp;pos=' . $pos
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;sql_query=' . urlencode($sql_query);
$url_query = '?lang=' . $lang
. '&amp;server=' . $server
. '&amp;db=' . urlencode($db)
. '&amp;table=' . urlencode($table)
. '&amp;pos=' . $pos
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;sql_query=' . urlencode($sql_query)
. '&amp;goto=' . urlencode($lnk_goto);
echo ' <!-- Insert a new row -->' . "\n"
. ' <a href="tbl_change.php3' . $url_query . '">' . $strInsertNewRow . '</a>';
if ($disp_mode[9] == '1') {
echo '<br />';
}
echo "\n";
} // end insert new row
// Displays "print view" link if required
if ($disp_mode[9] == '1') {
$url_query = '?lang=' . $lang
. '&amp;server=' . $server
. '&amp;db=' . urlencode($db)
. '&amp;table=' . urlencode($table)
. '&amp;pos=' . $pos
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;printview=1'
. (($dontlimitchars == '1') ? '&amp;dontlimitchars=1' : '')
. '&amp;sql_query=' . urlencode($sql_query);
echo ' <!-- Print view -->' . "\n"
. ' <a href="sql.php3' . $url_query . '" target="_blank">' . $strPrintView . '</a>' . "\n";
}
echo '</p>' . "\n"; echo '</p>' . "\n";
} // end insert new row }
// Bookmark Support if required // Bookmark Support if required
if ($disp_mode[7] == '1' if ($disp_mode[7] == '1'