eloqua.admin.inc in Eloqua 7.2
Same filename and directory in other branches
General administration form for Eloqua settings.
File
eloqua.admin.incView source
<?php
/**
* @file
* General administration form for Eloqua settings.
*/
/**
* Form constructor for the Eloqua administration form.
*
* @ingroup forms
*/
function eloqua_admin_form() {
$form = array();
$form['general'] = array(
'#type' => 'fieldset',
'#title' => t('General Settings'),
'#description' => t('General settings applicable to all Eloqua functionality.'),
'eloqua_site_id' => array(
'#type' => 'textfield',
'#title' => t('Site Identifier'),
'#description' => t('The Eloqua Site ID for this web site.'),
'#size' => 20,
'#maxlength' => 64,
'#default_value' => variable_get('eloqua_site_id', 0),
'#required' => TRUE,
),
'batch_size' => array(
'#type' => 'textfield',
'#title' => t('Batch Size'),
'#description' => t('The number of posts to process per cron run. Default=50'),
'#size' => 5,
'#maxlength' => 5,
'#default_value' => (int) variable_get('batch_size', 50),
),
);
// Add tracking visibility settings.
$form[] = automate_form_tracking('eloqua');
return system_settings_form($form);
}
Functions
Name![]() |
Description |
---|---|
eloqua_admin_form | Form constructor for the Eloqua administration form. |