From 828659cf3e6f7875f4e574d430c7dded44591384 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Thu, 29 Jan 2015 14:31:15 -0800 Subject: [PATCH] CRM-15883 - Suppressing Stationery path field from PDF Letter action since it is not currently supported. New commit to fix formatting compaints related to commenting out a section of code. ---------------------------------------- * CRM-15883: Need to remove inoperative "stationery" box from page format when using Print PDF letter? https://issues.civicrm.org/jira/browse/CRM-15883 --- CRM/Contact/Form/Task/PDFLetterCommon.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index f31d022407..740b689cb4 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -156,17 +156,17 @@ 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. + /** CRM-15883 Suppressing Stationery path field until we switch from DOMPDF to a library that supports it. if ($config->wkhtmltopdfPath == FALSE) { - $form->add( - 'text', - 'stationery', - ts('Stationery (relative path to PDF you wish to use as the background)'), - array('size' => 25, 'maxlength' => 900, 'onkeyup' => "showUpdateFormatChkBox();"), - FALSE - ); + $form->add( + 'text', + 'stationery', + ts('Stationery (relative path to PDF you wish to use as the background)'), + array('size' => 25, 'maxlength' => 900, 'onkeyup' => "showUpdateFormatChkBox();"), + 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)')); -- 2.25.1