From e0be60f6128709f944f1aa56c92b3342006761b9 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 5 May 2010 07:00:49 +0000 Subject: #730598 by dirtabulous, Heine: Fixed OpenID redirect form is not valid HTML. --- modules/openid/openid.inc | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/openid/openid.inc b/modules/openid/openid.inc index 2c17d2c90..96c80269d 100644 --- a/modules/openid/openid.inc +++ b/modules/openid/openid.inc @@ -89,11 +89,20 @@ function openid_redirect_http($url, $message) { * Creates a js auto-submit redirect for (for the 2.x protocol) */ function openid_redirect($url, $message) { - $output = '' . t('OpenID redirect') . "\n"; + global $language; + + $output = '' . "\n"; + $output .= '' . "\n"; + $output .= "\n"; + $output .= "\n"; + $output .= "" . t('OpenID redirect') . "\n"; + $output .= "\n"; + $output .= "\n"; $elements = drupal_get_form('openid_redirect_form', $url, $message); $output .= drupal_render($elements); - $output .= ''; - $output .= "\n"; + $output .= '' . "\n"; + $output .= "\n"; + $output .= "\n"; print $output; drupal_exit(); @@ -112,8 +121,8 @@ function openid_redirect_form($form, &$form_state, $url, $message) { $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', - '#prefix' => '', + '#prefix' => '', '#value' => t('Send'), ); -- cgit v1.2.3