bug for big pdf pages
This commit is contained in:
@@ -11,6 +11,8 @@ $Source$
|
|||||||
* tbl_properties_export.php3: bug 692143: now we remove the
|
* tbl_properties_export.php3: bug 692143: now we remove the
|
||||||
LIMIT clause from the original query to use the limits entered
|
LIMIT clause from the original query to use the limits entered
|
||||||
on the export form
|
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>
|
2003-03-01 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
* tbl_indexes.php3: Cleaner solution for showing query after changing
|
* tbl_indexes.php3: Cleaner solution for showing query after changing
|
||||||
|
@@ -335,7 +335,7 @@ class PMA_PDF extends FPDF
|
|||||||
. ' AND page_nr = \'' . $pdf_page_number . '\'';
|
. ' AND page_nr = \'' . $pdf_page_number . '\'';
|
||||||
$test_rs = PMA_query_as_cu($test_query);
|
$test_rs = PMA_query_as_cu($test_query);
|
||||||
$pages = @PMA_mysql_fetch_array($test_rs);
|
$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->Cell(0,6, ucfirst($pages['page_descr']),'B',1,'C');
|
||||||
$this->SetFont('', '');
|
$this->SetFont('', '');
|
||||||
$this->Ln();
|
$this->Ln();
|
||||||
@@ -346,6 +346,7 @@ class PMA_PDF extends FPDF
|
|||||||
global $with_doc;
|
global $with_doc;
|
||||||
if ($with_doc){
|
if ($with_doc){
|
||||||
$this->SetY(-15);
|
$this->SetY(-15);
|
||||||
|
$this->SetFont('', '',14);
|
||||||
$this->Cell(0,6, $GLOBALS['strPageNumber'] .' '.$this->PageNo() .'/{nb}','T',0,'C');
|
$this->Cell(0,6, $GLOBALS['strPageNumber'] .' '.$this->PageNo() .'/{nb}','T',0,'C');
|
||||||
$this->Cell(0,6, PMA_localisedDate(),0,1,'R');
|
$this->Cell(0,6, PMA_localisedDate(),0,1,'R');
|
||||||
$this->SetY(20);
|
$this->SetY(20);
|
||||||
|
Reference in New Issue
Block a user