pardot.admin.inc in Pardot Integration 7.2
Same filename and directory in other branches
Admin forms.
File
pardot.admin.incView source
<?php
/**
* @file
* Admin forms.
*/
/**
* Form constructor for general pardot settings.
*
* @ingroup forms
*/
function pardot_admin_form() {
$form = array();
$form['pardot_a_id'] = array(
'#title' => t('Pardot account id'),
'#type' => 'textfield',
'#description' => t('The value show in the pardot demo script for piAId. eg. if the script has piAId = "1001"; this field should be 1001'),
'#default_value' => variable_get('pardot_a_id', ''),
'#weight' => -2,
);
$form['pardot_c_id'] = array(
'#title' => t('Default Pardot campaign id'),
'#type' => 'textfield',
'#description' => t('The value show in the pardot demo script for piCId. eg. if the script has piCId = "1001"; this field should be 1001'),
'#default_value' => variable_get('pardot_c_id', ''),
'#weight' => -1,
);
// Add tracking visibility settings.
$form[] = automate_form_tracking('pardot');
return system_settings_form($form);
}
Functions
Name | Description |
---|---|
pardot_admin_form | Form constructor for general pardot settings. |