forked from mpalmer/jekyll-static-comments
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomment_received.html
More file actions
23 lines (23 loc) · 865 Bytes
/
comment_received.html
File metadata and controls
23 lines (23 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<?php if (isset($_POST['return_url']))
{
$return_url = $_POST['return_url'];
$return_delay = 5; //Number of seconds to linger on this page before redirecting back to the static site
echo "<meta http-equiv=\"refresh\" content=\"$return_delay;url='$return_url'\" />";
} ?>
<title>Comment Received</title>
</head>
<body>
<h1>Comment Received</h1>
<p>Thank you for your comment. It will be reviewed and published shortly.</p>
<?php if (isset($return_url))
{
echo '<p>You are now returning to the page you were on. Click the link if you are not redirected automatically.</p>';
echo '<p><a href="'.$return_url.'">'.$return_url.'</a></p>';
} ?>
</body>
</html>