bug for big pdf pages

This commit is contained in:
Marc Delisle
2003-03-02 02:51:23 +00:00
parent f53190a95d
commit d5a2bef78d
2 changed files with 4 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ $Source$
* tbl_properties_export.php3: bug 692143: now we remove the
LIMIT clause from the original query to use the limits entered
on the export form
* pdf_schema.php3: better header/footer for long pages,
thanks to Maxime Delorme
2003-03-01 Michal Cihar <nijel@users.sourceforge.net>
* tbl_indexes.php3: Cleaner solution for showing query after changing

View File

@@ -335,7 +335,7 @@ class PMA_PDF extends FPDF
. ' AND page_nr = \'' . $pdf_page_number . '\'';
$test_rs = PMA_query_as_cu($test_query);
$pages = @PMA_mysql_fetch_array($test_rs);
$this->SetFont('', 'B');
$this->SetFont('', 'B', 14);
$this->Cell(0,6, ucfirst($pages['page_descr']),'B',1,'C');
$this->SetFont('', '');
$this->Ln();
@@ -346,6 +346,7 @@ class PMA_PDF extends FPDF
global $with_doc;
if ($with_doc){
$this->SetY(-15);
$this->SetFont('', '',14);
$this->Cell(0,6, $GLOBALS['strPageNumber'] .' '.$this->PageNo() .'/{nb}','T',0,'C');
$this->Cell(0,6, PMA_localisedDate(),0,1,'R');
$this->SetY(20);