diff options
Diffstat (limited to 'examples/consumer')
-rw-r--r-- | examples/consumer/common.php | 1 | ||||
-rw-r--r-- | examples/consumer/finish_auth.php | 1 | ||||
-rw-r--r-- | examples/consumer/index.php | 10 | ||||
-rw-r--r-- | examples/consumer/try_auth.php | 1 |
4 files changed, 8 insertions, 5 deletions
diff --git a/examples/consumer/common.php b/examples/consumer/common.php index 446c6cc..2f01ba0 100644 --- a/examples/consumer/common.php +++ b/examples/consumer/common.php @@ -94,3 +94,4 @@ function getTrustRoot() { dirname($_SERVER['PHP_SELF'])); } +?>
\ No newline at end of file diff --git a/examples/consumer/finish_auth.php b/examples/consumer/finish_auth.php index 0e71b9d..b19a665 100644 --- a/examples/consumer/finish_auth.php +++ b/examples/consumer/finish_auth.php @@ -95,3 +95,4 @@ function run() { run(); +?>
\ No newline at end of file diff --git a/examples/consumer/index.php b/examples/consumer/index.php index dd2f391..343a39c 100644 --- a/examples/consumer/index.php +++ b/examples/consumer/index.php @@ -2,7 +2,7 @@ require_once "common.php"; global $pape_policy_uris; - +?> <html> <head><title>PHP OpenID Authentication Example</title></head> <style type="text/css"> @@ -48,9 +48,9 @@ global $pape_policy_uris; is your identity URL. </p> - <?php if (isset($msg)) { print "<div class=\"alert\">$msg</div>"; } - <?php if (isset($error)) { print "<div class=\"error\">$error</div>"; } - <?php if (isset($success)) { print "<div class=\"success\">$success</div>"; } + <?php if (isset($msg)) { print "<div class=\"alert\">$msg</div>"; } ?> + <?php if (isset($error)) { print "<div class=\"error\">$error</div>"; } ?> + <?php if (isset($success)) { print "<div class=\"success\">$success</div>"; } ?> <div id="verify-form"> <form method="get" action="try_auth.php"> @@ -63,7 +63,7 @@ global $pape_policy_uris; <?php foreach ($pape_policy_uris as $i => $uri) { print "<input type=\"checkbox\" name=\"policies[]\" value=\"$uri\" />"; print "$uri<br/>"; - } + } ?> </p> <input type="submit" value="Verify" /> diff --git a/examples/consumer/try_auth.php b/examples/consumer/try_auth.php index 61d1828..7efec76 100644 --- a/examples/consumer/try_auth.php +++ b/examples/consumer/try_auth.php @@ -80,3 +80,4 @@ function run() { run(); +?>
\ No newline at end of file |