Index: htmltidy/htmltidy.module
===================================================================
--- htmltidy/htmltidy.module (revision 944)
+++ htmltidy/htmltidy.module (working copy)
@@ -34,6 +34,23 @@
* Drupal Hooks
********************************************************************/
+/**
+ * Implementation of hook_menu().
+ */
+function htmltidy_menu($may_cache) {
+ $items = array();
+ if ($may_cache) {
+ $items[] = array(
+ 'path' => 'admin/settings/htmltidy',
+ 'title' => t('HTML Tidy'),
+ 'description' => t('Configure settings for HTML Tidy.'),
+ 'callback' => 'drupal_get_form',
+ 'callback arguments' => array('htmltidy_settings'),
+ 'access' => user_access('administer htmltidy')
+ );
+ }
+ return $items;
+}
/**
@@ -479,8 +496,8 @@
'#description' => t('This gets the line numbers on the warnings right, but is slower. This applies only if debug mode is on.'),
),
);
-
- return $form;
+
+ return system_settings_form($form);
} // function htmltidy_settings