From: Dave Greenberg Date: Thu, 29 Jan 2015 22:31:15 +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=828659cf3e6f7875f4e574d430c7dded44591384;p=civicrm-core.git 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 --- 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)'));