Commit 792e4861 authored by haemmer's avatar haemmer
Browse files

Restructured some white space

parent b231ef48
...@@ -487,8 +487,9 @@ if ( ...@@ -487,8 +487,9 @@ if (
$invalidstring = preg_replace('/&/',"&\n",$invalidstring); $invalidstring = preg_replace('/&/',"&\n",$invalidstring);
if ($invalidstring == '') if ($invalidstring == '')
$invalidstring = getLocalString('no_arguments'); $invalidstring = getLocalString('no_arguments');
$message = getLocalString('arguments_missing') . '<pre><code>'.htmlentities($invalidstring).'</code></pre></p> $message = getLocalString('arguments_missing') . '<pre>';
<p>'. getLocalString('valid_request_description'); $message .= '<code>'.htmlentities($invalidstring).'</code></pre></p>';
$message .= '<p>'. getLocalString('valid_request_description');
printError($message); printError($message);
exit; exit;
} elseif( } elseif(
...@@ -501,8 +502,9 @@ if ( ...@@ -501,8 +502,9 @@ if (
$invalidstring = preg_replace('/&/',"&\n",$invalidstring); $invalidstring = preg_replace('/&/',"&\n",$invalidstring);
if ($invalidstring == '') if ($invalidstring == '')
$invalidstring = getLocalString('no_arguments'); $invalidstring = getLocalString('no_arguments');
$message = getLocalString('arguments_missing') . '<pre><code>'.htmlentities($invalidstring).'</code></pre></p> $message = getLocalString('arguments_missing') . '</p><pre>';
<p>'. getLocalString('valid_saml2_request_description'); $message .= '<code>'.htmlentities($invalidstring).'</code></pre>';
$message .= '<p>'. getLocalString('valid_saml2_request_description');
printError($message); printError($message);
exit; exit;
...@@ -647,7 +649,10 @@ if ( ...@@ -647,7 +649,10 @@ if (
} elseif ( } elseif (
(isset($_POST['user_idp']) && checkIDP($_POST['user_idp'])) (isset($_POST['user_idp']) && checkIDP($_POST['user_idp']))
|| (isset($_COOKIE[$redirectCookieName]) && checkIDP($_COOKIE[$redirectCookieName], false)) || (
isset($_COOKIE[$redirectCookieName])
&& checkIDP($_COOKIE[$redirectCookieName], false)
)
){ ){
// Show confirmatin notice // Show confirmatin notice
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment