Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
d88f5554
Unverified
Commit
d88f5554
authored
4 years ago
by
colemanw
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #18716 from eileenmcnaughton/static
#2108
fix deprecation notice
parents
1d1cf83a
be18b82b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Core/Form/Task/PDFLetterCommon.php
+0
-2
0 additions, 2 deletions
CRM/Core/Form/Task/PDFLetterCommon.php
templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl
+2
-2
2 additions, 2 deletions
templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl
with
2 additions
and
4 deletions
CRM/Core/Form/Task/PDFLetterCommon.php
+
0
−
2
View file @
d88f5554
...
...
@@ -52,7 +52,6 @@ class CRM_Core_Form_Task_PDFLetterCommon {
FALSE
);
$form
->
add
(
'static'
,
'pdf_format_header'
,
NULL
,
ts
(
'Page Format: %1'
,
[
1
=>
'<span class="pdf-format-header-label"></span>'
]));
$form
->
addSelect
(
'format_id'
,
[
'label'
=>
ts
(
'Select Format'
),
'placeholder'
=>
ts
(
'Default'
),
...
...
@@ -68,7 +67,6 @@ class CRM_Core_Form_Task_PDFLetterCommon {
FALSE
,
[
'onChange'
=>
"selectPaper( this.value ); showUpdateFormatChkBox();"
]
);
$form
->
add
(
'static'
,
'paper_dimensions'
,
NULL
,
ts
(
'Width x Height'
));
$form
->
add
(
'select'
,
'orientation'
,
...
...
This diff is collapsed.
Click to expand it.
templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl
+
2
−
2
View file @
d88f5554
...
...
@@ -34,7 +34,7 @@
<div
class=
"crm-accordion-wrapper collapsed crm-pdf-format-accordion"
>
<div
class=
"crm-accordion-header"
>
{
$form.
pdf
_
format
_
header
.html
}
{
ts
}
Page Format:
{/
ts
}
<span
class=
"
pdf
-
format
-
header
-label"
></span>
</div>
<div
class=
"crm-accordion-body"
>
<div
class=
"crm-block crm-form-block"
>
...
...
@@ -52,7 +52,7 @@
<td
colspan=
"2"
>
</td>
</tr>
<tr>
<td>
{
$form.paper_dimensions.html
}
</td><td
id=
"paper_dimensions"
>
</td>
<td>
{
ts
}
Width x Height
{/
ts
}
</td><td
id=
"paper_dimensions"
>
</td>
<td
colspan=
"2"
>
</td>
</tr>
<tr>
...
...
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
register
or
sign in
to comment