Added fbModal button
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
<?php
|
||||
if(isset($acces_token)) {
|
||||
echo '<button id="fbBtn" class="button">Facebook registreer</button>';
|
||||
|
||||
}
|
||||
?>
|
||||
<!-- The Modal -->
|
||||
<div id="fbModal" class="modal">
|
||||
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"
|
||||
|
||||
@@ -69,7 +69,7 @@ $fb = new Facebook\Facebook([
|
||||
]);
|
||||
|
||||
// Redirect back to login.php after logging/canceling with facebook.
|
||||
$redirect = "https://myhyvesbookplus.nl/login.php";
|
||||
$redirect = "https://myhyvesbookplus.nl/~joey/login.php";
|
||||
$helper = $fb->getRedirectLoginHelper();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user