Various fixes and new module-wide config page.
[mkdru-moved-to-drupal.org.git] / mkdru.admin.inc
1 <?php
2 function mkdru_admin_settings() {
3   $form['pz2_js_path']=array(
4     '#type' => 'textfield',
5     '#title' => t('Path to Pazpar2 client library'),
6     '#description' => t('Absolute path to the directory containing pz2.js within the current domain. Do not include leading slash.'),
7     '#default_value' => variable_get('pz2_js_path', 'pazpar2/js'),
8     '#required' => TRUE
9   );
10
11   return system_settings_form($form);
12 }