- '#title' => t('Maximum authors to display'),
- '#default_value' => variable_get('jsdemo2_author_max', 10),
- '#size' => 3,
- '#maxlength' => 3,
- );
-
- $form['jsdemo2_source_max']=array(
- '#type' => 'textfield',
- '#title' => t('Maximum sources to display'),
- '#default_value' => variable_get('jsdemo2_source_max', 16),
- '#size' => 3,
- '#maxlength' => 3,
- );
-
- $form['jsdemo2_subject_max']=array(
- '#type' => 'textfield',
- '#title' => t('Maximum subjects to display'),
- '#default_value' => variable_get('jsdemo2_subject_max', 10),
- '#size' => 3,
- '#maxlength' => 3,
+ '#title' => t('Path to Pazpar2 client library'),
+ '#description' => t('Absolute path to the directory containing pz2.js within the current domain. Do not include leading slash.'),
+ '#default_value' => variable_get('pz2_js_path', 'pazpar2/js'),
+ '#required' => TRUE