@@ -21,30 +21,44 @@ define('FILLPDF_REPLACEMENTS_DESCRIPTION', t("<p>Tokens, such as those from CCK,
* Settings form for user to place API Key
*/
functionfillpdf_settings($form,&$form_state){
$form['settings_help']=array(
'#type'=>'markup',
'#value'=>t("
This module requires one of several external PDF manipulation tools -- you can:<ul>
<li>Sign up for <a href='http://fillpdf-service.com'>Fillpdf as-a-service</a>, and plug your API key in here; <strong>or</strong>
<li>Deploy locally -- You'll need a VPS or dedicated server so you can deploy PHP/JavaBridge on Tomcat (see README.txt), then select \"Use Local Service\"
<li>Use a local installation of the pdftk program - you'll need a VPS or a dedicated server so you can install pdftk (see README.txt), then select \"Use locally-installed pdftk\"
</ul>
"),
// Assemble service options. Warning messages will be added next as needed.
$options=array(
'pdftk'=>t('Use locally-installed pdftk: You will need a VPS or a dedicated server so you can install pdftk (').l(t('see documentation'),'admin/help/fillpdf').t(').'),
'local'=>t('Use locally-installed PHP/JavaBridge: You will need a VPS or dedicated server so you can deploy PHP/JavaBridge on Apache Tomcat (').l(t('see documentation'),'admin/help/fillpdf').t(').'),
'remote'=>t('Use fillpdf-service.com: Sign up for <a href="http://fillpdf-service.com">Fill PDF as-a-service</a>.'),