Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2013-10-19 17:01:50 +0400
committerMarc Delisle <marc@infomarc.info>2013-10-19 17:01:50 +0400
commit8c3e33d04367a5b58f21d34f05b0a3382d5f51ac (patch)
tree3cbff6a13047673107fc5c6d0e5508ecd4bb2690 /examples
parent5998945b03a4c06a51564d0f399b7fe1c6d576e3 (diff)
Fix coding style
Diffstat (limited to 'examples')
-rw-r--r--examples/openid.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/openid.php b/examples/openid.php
index 2e997958bf..a99603de4b 100644
--- a/examples/openid.php
+++ b/examples/openid.php
@@ -37,7 +37,7 @@ $AUTH_MAP = array(
*
* @return void
*/
-function show_page($contents)
+function Show_page($contents)
{
header('Content-Type: text/html; charset=utf-8');
echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
@@ -93,7 +93,7 @@ OpenID: <input type="text" name="identifier" /><br />
</form>
</body>
</html>';
- show_page($content);
+ Show_page($content);
exit;
}
@@ -113,7 +113,7 @@ try {
$contents = "<div class='relyingparty_results'>\n";
$contents .= "<pre>" . $e->getMessage() . "</pre>\n";
$contents .= "</div class='relyingparty_results'>";
- show_page($contents);
+ Show_page($contents);
exit;
}
@@ -125,7 +125,7 @@ if (isset($_POST['start'])) {
$contents = "<div class='relyingparty_results'>\n";
$contents .= "<pre>" . $e->getMessage() . "</pre>\n";
$contents .= "</div class='relyingparty_results'>";
- show_page($contents);
+ Show_page($contents);
exit;
}
@@ -154,7 +154,7 @@ if (isset($_POST['start'])) {
/* Redirect to phpMyAdmin (should use absolute URL here!) */
header('Location: ../index.php');
} else {
- show_page('<p>User not allowed!</p>');
+ Show_page('<p>User not allowed!</p>');
exit;
}
}