Merge branch '7.x' of ssh://git.indexdata.com/home/git/pub/mkdru into 7.x
[mkdru-moved-to-drupal.org.git] / mkdru.admin.inc
index ceaa676..af8a7ce 100644 (file)
@@ -1,18 +1,11 @@
-// $Id$
-
-/**
- * @file
- * Module config.
- */
 <?php
-function mkdru_admin_settings() {
+function mkdru_admin_settings($form, &$form_state) {
   $form['pz2_js_path']=array(
     '#type' => 'textfield',
     '#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'),
+    '#description' => t('Absolute path to the directory containing pz2.js within the current domain.'),
+    '#default_value' => variable_get('pz2_js_path', '/pazpar2/js'),
     '#required' => TRUE
   );
-
   return system_settings_form($form);
 }