mlmmj-web-ll/templates/tpl-form.tpl

49 lines
2.1 KiB
Smarty

<!DOCTYPE html>
<html lang="de">
<head>
<title>{$server}: Un/subscribe mailing lists</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/picnic.min.css">
<link rel="stylesheet" href="css/leinelab.css">
</head>
<body>
<main class="intro">
<div class="container">
<h1>{$listname}@{$server}: {$action}</h1>
<div class="tabs two">
<input id='tab-1' type='radio' name='subscribe' />
<label class="pseudo button toggle" for="tab-1">Subscribe</label>
<input id='tab-2' type='radio' name='unsubscribe' />
<label class="pseudo button toggle" for="tab-2">Unsubscribe</label>
<div class="row">
<div>
<form action="mlmmj.php" method="post">
<input name="mailinglist" type="hidden" value="{$listname}@{$server}">
<input name="job" type="hidden" value="subscribe">
<input name="redirect_failure" type="hidden" value="http://www.failure.com/">
<input name="redirect_success" type="hidden" value="http://wiki.leinelab.org/">
<label class="form-label" for="input-email-sub">Your Mail Address</label>
<input class="form-label" id="input-email-sub" name="email" type="text" size="30" maxlength="254" placeholder="yourname@example.com" value="{$email}"><br>
<button class="primary">Subscribe</button>
</form>
</div>
<div>
<form action="mlmmj.php" method="post">
<input name="mailinglist" type="hidden" value="{$listname}@{$server}">
<input name="job" type="hidden" value="unsubscribe">
<input name="redirect_failure" type="hidden" value="http://www.failure.com/">
<input name="redirect_success" type="hidden" value="http://wiki.leinelab.de">
<label class="form-label" for="input-email-unsub">Your Mail Address</label>
<input class="form-label" id="input-email-unsub" name="email" type="text" size="30" maxlength="254" placeholder="yourname@example.com" value="{$email}"><br>
<button class="primary">Unsubscribe</button>
</form>
</div>
</div>
</div>
</div>
</main>
</body>
</html>