Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
print
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
print
Commits
4eb16937
Commit
4eb16937
authored
Apr 29, 2009
by
João Ventura
Browse files
Options
Downloads
Patches
Plain Diff
Fix
#441770
: Footer was placed at top of page in TCPDF => 4.6
parent
d9a43552
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
print_pdf/print_pdf.pages.inc
+1
-1
1 addition, 1 deletion
print_pdf/print_pdf.pages.inc
with
1 addition
and
1 deletion
print_pdf/print_pdf.pages.inc
+
1
−
1
View file @
4eb16937
...
...
@@ -509,7 +509,7 @@ function theme_print_pdf_tcpdf_footer(&$pdf, &$html, $font) {
*/
function
theme_print_pdf_tcpdf_footer2
(
&
$pdf
)
{
//Position at 1.5 cm from bottom
$pdf
->
writeHTMLCell
(
0
,
15
,
15
,
0
,
$pdf
->
footer
,
0
,
0
,
0
,
TRUE
,
''
);
$pdf
->
writeHTMLCell
(
0
,
15
,
15
,
-
1
0
,
$pdf
->
footer
,
0
,
0
,
0
,
TRUE
,
''
);
$ormargins
=
$pdf
->
getOriginalMargins
();
$pagenumtxt
=
t
(
'Page !n of !total'
,
array
(
'!n'
=>
$pdf
->
PageNo
(),
'!total'
=>
$pdf
->
getAliasNbPages
()));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment