? openidurl-50.patch ? openidurl.info Index: openidurl.module =================================================================== RCS file: /cvs/drupal/contributions/modules/openidurl/openidurl.module,v retrieving revision 1.2 diff -u -r1.2 openidurl.module --- openidurl.module 12 Dec 2006 02:50:13 -0000 1.2 +++ openidurl.module 12 Dec 2006 07:25:18 -0000 @@ -1,13 +1,6 @@ '); drupal_set_html_head(''); } + else { + $items = array(); + $items[] = array( + 'path' => 'admin/settings/openidurl', + 'title' => t('OpenID URL'), + 'callback' => 'drupal_get_form', + 'callback arguments' => 'openidurl_settings', + 'access' => user_access('administer site configuration'), + 'description' => t('Delegate your URL as an OpenID'), + ); + return $items; + } } function openidurl_settings() { @@ -39,5 +44,5 @@ '#default_value' => variable_get('openidurl_xrds',''), '#description' => t("This is the OpenID XRDS location. (i.e. http://yourname.myopenid.com/xrds)"), ); - return $form; + return system_settings_form($form); };