openid_test_yadis_http_equiv

7 openid_test.module openid_test_yadis_http_equiv()
8 openid_test.module openid_test_yadis_http_equiv()

Menu callback; regular HTML page with <meta> element.

1 string reference to 'openid_test_yadis_http_equiv'

File

modules/openid/tests/openid_test.module, line 180
Dummy OpenID Provider used with SimpleTest.

Code

function openid_test_yadis_http_equiv() {
  $element = array(
    '#tag' => 'meta', 
    '#attributes' => array(
      'http-equiv' => 'X-XRDS-Location', 
      'content' => url('openid-test/yadis/xrds', array('absolute' => TRUE)),
    ),
  );
  drupal_add_html_head($element, 'openid_test_yadis_http_equiv');
  return t('This page includes a &lt;meta equiv=...&gt; element containing the URL of an XRDS document.');
}
Login or register to post comments