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>2010-04-29 20:54:55 +0400
committerMarc Delisle <marc@infomarc.info>2010-04-29 20:54:55 +0400
commit89c08b468b5fb206bc304b26d36d76a2d3390b8d (patch)
treee14003e936f31d352050a8407495bd88917f7daf /pdf_schema.php
parent43d80c678b114478276f0a32d2a60627e1ff796c (diff)
parent6b50847a8c6672ebf3e8e93b02f9e2d0b1dcce48 (diff)
Merge branch 'QA_3_3'
Diffstat (limited to 'pdf_schema.php')
-rw-r--r--pdf_schema.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf_schema.php b/pdf_schema.php
index 2306a15beb..79b3c25fcc 100644
--- a/pdf_schema.php
+++ b/pdf_schema.php
@@ -1123,7 +1123,7 @@ function PMA_RT_DOC($alltables)
$pdf->PMA_links['doc'][$table]['-'] = $pdf->AddLink();
$pdf->SetX(10);
// $pdf->Ln(1);
- $pdf->Cell(0, 6, $GLOBALS['strPageNumber'] . ' {' . sprintf("%02d", $i) . '}', 0, 0, 'R', 0, $pdf->PMA_links['doc'][$table]['-']);
+ $pdf->Cell(0, 6, $GLOBALS['strPageNumber'] . ' {' . sprintf("%02d", $i + 1) . '}', 0, 0, 'R', 0, $pdf->PMA_links['doc'][$table]['-']);
$pdf->SetX(10);
$pdf->Cell(0, 6, $i . ' ' . $table, 0, 1, 'L', 0, $pdf->PMA_links['doc'][$table]['-']);
// $pdf->Ln(1);
@@ -1139,9 +1139,9 @@ function PMA_RT_DOC($alltables)
}
$pdf->PMA_links['RT']['-'] = $pdf->AddLink();
$pdf->SetX(10);
- $pdf->Cell(0, 6, $GLOBALS['strPageNumber'] . ' {00}', 0, 0, 'R', 0, $pdf->PMA_links['doc'][$lasttable]['-']);
+ $pdf->Cell(0, 6, $GLOBALS['strPageNumber'] . ' {' . sprintf("%02d", $i + 1) . '}', 0, 0, 'R', 0, $pdf->PMA_links['doc'][$lasttable]['-']);
$pdf->SetX(10);
- $pdf->Cell(0, 6, $i . ' ' . $GLOBALS['strRelationalSchema'], 0, 1, 'L', 0, $pdf->PMA_links['RT']['-']);
+ $pdf->Cell(0, 6, $i + 1 . ' ' . $GLOBALS['strRelationalSchema'], 0, 1, 'L', 0, $pdf->PMA_links['RT']['-']);
$z = 0;
foreach ($alltables AS $table) {
$z++;