From: Dave Greenberg Date: Thu, 29 Jan 2015 00:53:22 +0000 (-0800) Subject: CRM-15883 - Suppressing Stationery path field from PDF Letter action since it is... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=586b8780569245813dfe2cc99df85f9b5ee72c67;p=civicrm-core.git CRM-15883 - Suppressing Stationery path field from PDF Letter action since it is not currently supported. ---------------------------------------- * CRM-15883: Need to remove inoperative "stationery" box from page format when using Print PDF letter? https://issues.civicrm.org/jira/browse/CRM-15883 --- diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index e30edf4440..f31d022407 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -156,6 +156,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon { ); $config = CRM_Core_Config::singleton(); + /* CRM-15883 Suppressing Stationery path field until we switch from DOMPDF to a library that supports it. if ($config->wkhtmltopdfPath == FALSE) { $form->add( 'text', @@ -165,6 +166,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon { FALSE ); } + */ $form->add('checkbox', 'bind_format', ts('Always use this Page Format with the selected Template')); $form->add('checkbox', 'update_format', ts('Update Page Format (this will affect all templates that use this format)')); diff --git a/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl b/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl index 0af078364f..cb97d5acdd 100644 --- a/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl +++ b/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl @@ -72,10 +72,12 @@ {$form.margin_left.label}{$form.margin_left.html} {$form.margin_right.label}{$form.margin_right.html} + {* CRM-15883 Suppressing stationery until switch from DOMPDF. {$form.stationery.label}{$form.stationery.html}   + *}
{$form.bind_format.html} {$form.bind_format.label}