Skip to content
Snippets Groups Projects
Unverified Commit d88f5554 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #18716 from eileenmcnaughton/static

#2108 fix deprecation notice
parents 1d1cf83a be18b82b
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,6 @@ class CRM_Core_Form_Task_PDFLetterCommon { ...@@ -52,7 +52,6 @@ class CRM_Core_Form_Task_PDFLetterCommon {
FALSE FALSE
); );
$form->add('static', 'pdf_format_header', NULL, ts('Page Format: %1', [1 => '<span class="pdf-format-header-label"></span>']));
$form->addSelect('format_id', [ $form->addSelect('format_id', [
'label' => ts('Select Format'), 'label' => ts('Select Format'),
'placeholder' => ts('Default'), 'placeholder' => ts('Default'),
...@@ -68,7 +67,6 @@ class CRM_Core_Form_Task_PDFLetterCommon { ...@@ -68,7 +67,6 @@ class CRM_Core_Form_Task_PDFLetterCommon {
FALSE, FALSE,
['onChange' => "selectPaper( this.value ); showUpdateFormatChkBox();"] ['onChange' => "selectPaper( this.value ); showUpdateFormatChkBox();"]
); );
$form->add('static', 'paper_dimensions', NULL, ts('Width x Height'));
$form->add( $form->add(
'select', 'select',
'orientation', 'orientation',
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<div class="crm-accordion-wrapper collapsed crm-pdf-format-accordion"> <div class="crm-accordion-wrapper collapsed crm-pdf-format-accordion">
<div class="crm-accordion-header"> <div class="crm-accordion-header">
{$form.pdf_format_header.html} {ts}Page Format:{/ts} <span class="pdf-format-header-label"></span>
</div> </div>
<div class="crm-accordion-body"> <div class="crm-accordion-body">
<div class="crm-block crm-form-block"> <div class="crm-block crm-form-block">
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<td colspan="2">&nbsp;</td> <td colspan="2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td>{$form.paper_dimensions.html}</td><td id="paper_dimensions">&nbsp;</td> <td>{ts}Width x Height{/ts}</td><td id="paper_dimensions">&nbsp;</td>
<td colspan="2">&nbsp;</td> <td colspan="2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment