🐛 Subscribe link works now (#97)
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit was merged in pull request #97.
This commit is contained in:
@@ -1,21 +1,18 @@
|
|||||||
<footer class="footer mt-auto py-3">
|
<footer class="footer mt-auto py-3">
|
||||||
<div class="container">
|
<div class="text-center text-muted">
|
||||||
<span class="pull-left text-muted">
|
<?php
|
||||||
<?php
|
echo( $_ENV['APP_NAME'] . " v" . $_ENV['APP_VERSION']);
|
||||||
echo( $_ENV['APP_NAME'] . " v" . $_ENV['APP_VERSION']);
|
if ($_ENV['APP_NAME'] != "FHeD") {echo(", powered by FHeD");};
|
||||||
if ($_ENV['APP_NAME'] != "FHeD") {echo(", powered by FHeD");};
|
?><br>
|
||||||
?>
|
|
||||||
</span>
|
|
||||||
<?php if (is_signed_in()) { ?>
|
<?php if (is_signed_in()) { ?>
|
||||||
<span class="pull-right text-muted">
|
<form id="mailer-subscribe" method="post" action="https://mailer.tainton.uk/subscription/form" style="margin-top: -1%;">
|
||||||
<form method="post" action="https://mailer.tainton.uk/subscription/form" class="listmonk-form">
|
<div class="form-group">
|
||||||
<div class="form-group">
|
<input hidden type="text" class="form-control" id="name" name="name" value="<?php echo($_SESSION['full_name']); ?>">
|
||||||
<input hidden type="text" class="form-control" id="name" name="name" value="<?php echo($_SESSION['full_name']); ?>">
|
<input hidden type="text" class="form-control" id="email" name="email" value="<?php echo($_SESSION['email']); ?>">
|
||||||
<input hidden type="text" class="form-control" id="email" name="email" value="<?php echo($_SESSION['email']); ?>">
|
<input hidden type="text" class="form-control" id="bdce4" name="l" value="bdce4805-ff03-41f1-be2c-60b28c444e83">
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-secondary">Subscribe</button>
|
<a href="#" onclick="document.getElementById('mailer-subscribe').submit();">Subscribe</a>
|
||||||
</form>
|
</form>
|
||||||
</span>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user