@@ -55,7 +55,7 @@ class FillPdfSettingsForm extends ConfigFormBase {
...
@@ -55,7 +55,7 @@ class FillPdfSettingsForm extends ConfigFormBase {
$options=[
$options=[
'pdftk'=>$this->t('Use locally-installed pdftk: You will need a VPS or a dedicated server so you can install pdftk: (!see_documentation).',['!see_documentation'=>$this->l($this->t('see documentation'),Url::fromUri('http://drupal.org/documentation/modules/fillpdf'))]),
'pdftk'=>$this->t('Use locally-installed pdftk: You will need a VPS or a dedicated server so you can install pdftk: (!see_documentation).',['!see_documentation'=>$this->l($this->t('see documentation'),Url::fromUri('http://drupal.org/documentation/modules/fillpdf'))]),
'local'=>$this->t('Use locally-installed PHP/JavaBridge: You will need a VPS or dedicated server so you can deploy PHP/JavaBridge on Apache Tomcat: (!see_documentation).',['!see_documentation'=>$this->l($this->t('see documentation'),Url::fromUri('http://drupal.org/documentation/modules/fillpdf'))]),
'local'=>$this->t('Use locally-installed PHP/JavaBridge: You will need a VPS or dedicated server so you can deploy PHP/JavaBridge on Apache Tomcat: (!see_documentation).',['!see_documentation'=>$this->l($this->t('see documentation'),Url::fromUri('http://drupal.org/documentation/modules/fillpdf'))]),
'fillpdf_service'=>$this->t('Use FillPDF Service: Sign up for <a href="https://fillpdf-service.com">FillPDF Service</a>.'),
'fillpdf_service'=>$this->t('Use FillPDF Service: Sign up for <a href="https://fillpdf.io">FillPDF Service</a>.'),
];
];
// Check for JavaBridge.
// Check for JavaBridge.
...
@@ -82,17 +82,23 @@ class FillPdfSettingsForm extends ConfigFormBase {
...
@@ -82,17 +82,23 @@ class FillPdfSettingsForm extends ConfigFormBase {
'#description'=>$this->t('The endpoint for the FillPDF Service instance. This does not usually need to be changed, but you may want to if you have, for example, a <a href="https://fillpdf.io/hosting">private server</a>. Do not include the protocol, as this is determined by the <em>Use HTTPS?</em> setting below.'),
'#description'=>$this->t('You need to sign up for an API key at <a href="https://fillpdf-service.com">FillPDF Service</a>'),
'#description'=>$this->t('You need to sign up for an API key at <a href="https://fillpdf.io">FillPDF Service</a>'),
];
];
$form['fillpdf_service']['remote_protocol']=[
$form['fillpdf_service']['remote_protocol']=[
'#type'=>'radios',
'#type'=>'radios',
'#title'=>$this->t('Use HTTPS?'),
'#title'=>$this->t('Use HTTPS?'),
'#description'=>$this->t('It is recommended to select <em>Use HTTPS</em> for this option. Doing so will help prevent
'#description'=>$this->t('It is recommended to select <em>Use HTTPS</em> for this option. Doing so will help prevent
sensitive information in your PDFs from being intercepted in transit between your server and the remote service.'),
sensitive information in your PDFs from being intercepted in transit between your server and the remote service. <strong>FillPDF Service will only work with HTTPS.</strong>'),