Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2004-05-20 18:49:04 +0400
committerMarc Delisle <marc@infomarc.info>2004-05-20 18:49:04 +0400
commitf5371237aa5e044c05a059c2c5558f603110e968 (patch)
tree5b7acfdabf1efe56d337c53c453e5cf02b6d0a43
parentfe0020973c9338a4c0d41536627278086f6a96bc (diff)
contents page orientation
-rwxr-xr-xChangeLog4
-rw-r--r--pdf_schema.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad9a433e03..210f590168 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
+2004-05-20 Marc Delisle <lem9@users.sourceforge.net>
+ * pdf_schema.php: set contents page (first page)'s orientation
+ to the same asked for the data dictionary
+
2004-05-19 Marc Delisle <lem9@users.sourceforge.net>
* tbl_select.php: bug 956137, undefined $data: on the search page,
PMA_foreignDropdown() must be called with no current value for
diff --git a/pdf_schema.php b/pdf_schema.php
index 1163fc4fe7..cfb990456b 100644
--- a/pdf_schema.php
+++ b/pdf_schema.php
@@ -1219,7 +1219,7 @@ class PMA_RT
function PMA_RT_DOC($alltables ){
global $db, $pdf, $orientation;
//TOC
- $pdf->addpage("P");
+ $pdf->addpage($GLOBALS['orientation']);
$pdf->Cell(0,9, $GLOBALS['strTableOfContents'],1,0,'C');
$pdf->Ln(15);
$i = 1;