forked from vern/website
Check for code
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
e752fcca82
commit
a57558e1be
|
@ -43,7 +43,7 @@
|
|||
} else {
|
||||
$err = "E-mail is required";
|
||||
}
|
||||
if (empty($_GET['action']) || ($_GET['action'] != "sub" && $_GET['action'] != "unsub") || !empty($err)) {
|
||||
if (empty($_GET['action']) || ($_GET['action'] != "sub" && $_GET['action'] != "unsub") || !empty($err) && empty($_GET['code'])) {
|
||||
?>
|
||||
<div class=h><h1 id=list>Mailing List</h1> <a aria-hidden=true href=#list>#list</a></div>
|
||||
<form method="get" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]) ?>">
|
||||
|
@ -97,7 +97,7 @@
|
|||
<div class=h><h1 id=confirm>Confirm Action</h1> <a aria-hidden=true href=#confirm>#confirm</a></div>
|
||||
<p>A confirmation code was sent to <?php echo htmlspecialchars($email); ?></p>
|
||||
<form method="get" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]) ?>">
|
||||
<input type="text" id="email" name="email" value="<?php echo htmlspecialchars($email); ?>" disabled hidden>
|
||||
<input type="text" id="email" name="email" value="<?php echo htmlspecialchars($email); ?>" hidden>
|
||||
|
||||
<p>Code <span class="red">* <?php echo $code_err; ?></span>
|
||||
<input type="text" name="code"></p>
|
||||
|
|
Loading…
Reference in New Issue