Minor cleanup.
[mkdru-moved-to-drupal.org.git] / mkdru.admin.inc
index 47a2524..f7a1138 100644 (file)
@@ -1,10 +1,15 @@
 <?php
+/**
+ * @file
+ * Module config.
+ */
 function mkdru_admin_settings() {
   $form['pz2_js_path']=array(
     '#type' => 'textfield',
-    '#title' => t('Path to Pazpar2 client library, pz2.js'),
-    '#default_value' => variable_get('pz2_js_path', '/pazpar2/pz2.js'),
+    '#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
   );
-
   return system_settings_form($form);
 }