Added imprint and privacey links

This commit is contained in:
Tobias Herre 2021-12-11 11:41:32 +01:00
parent d7132e1f0d
commit b80587ca54
3 changed files with 43 additions and 9 deletions

View file

@ -187,15 +187,16 @@
</div> </div>
<div class="is-row"> <div class="is-row">
<div class="is-col">
<button type="button" onclick="downloadDocument(false);"
class="button is-orange"><?=_("Antrag herunterladen und später einreichen")?></button>
</div>
<div class="is-col"> <div class="is-col">
<button type="button" onclick="downloadDocument(true);" <button type="button" onclick="downloadDocument(true);"
class="button is-green"><?=_("Antrag elektronisch direkt an WMDE schicken")?></button> class="button is-green"><?=_("Antrag elektronisch direkt an WMDE schicken")?></button>
</div> </div>
<div class="is-col">
<button type="button" onclick="downloadDocument(false);"
class="button is-orange"><?=_("Antrag herunterladen und später einreichen")?></button>
</div>
</div> </div>
</fieldset> </fieldset>

View file

@ -65,9 +65,12 @@
</div> </div>
</div> </div>
Impressum: <a href="https://www.wikimedia.de/impressum/">https://www.wikimedia.de/impressum</a><br>
Datenschutz: <a href="https://www.wikimedia.de/datenschutz/">https://www.wikimedia.de/datenschutz</a>
</div> </div>
</div> </div>
<script src="js/kube.min.js"></script> <script src="js/kube.min.js"></script>
<script src="addons/upload/kube.upload.min.js"></script> <script src="addons/upload/kube.upload.min.js"></script>
<script src="addons/kube-addons.min.js"></script> <script src="addons/kube-addons.min.js"></script>

View file

@ -1,3 +1,19 @@
<html>
<head>
<title>Kostenerstattungsforumlar</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Kube CSS -->
<link rel="stylesheet" href="css/kube.min.css">
<link rel="stylesheet" href="addons/kube-addons.min.css" />
<link rel="stylesheet" href="master.css" />
</head>
<body>
<?php <?php
session_start(); session_start();
@ -432,16 +448,30 @@ if ($_POST['sendmail']=='yes'){
echo 'Mailer Error: ' . $mail->ErrorInfo; echo 'Mailer Error: ' . $mail->ErrorInfo;
die; die;
} }
echo "Dein Antrag wurde versendet.<BR>"; echo "Dein Antrag wurde versendet.<BR>";
?>
<div class="is-col">
<button type="button" onclick="downloadDocument(false);"
class="button is-orange"><?=_("Kopie des Antrags herunterladen")?></button>
</div>
<?php
echo '<a href="./"> echo '<a href="./">
Weiteren Antrag auf Kostenerstattung stellen</a><BR>'; Weiteren Antrag auf Kostenerstattung stellen</a><BR>';
die;
} }
$file = "$resultnam.pdf"; ?>
header('Content-Disposition: attachment; filename="'. basename($file) . '"'); <script src="js/kube.min.js"></script>
header('Content-Length: ' . filesize($file)); <script src="addons/upload/kube.upload.min.js"></script>
readfile($file); <script src="addons/kube-addons.min.js"></script>
<script src="kaform.js"></script>
<script src="iban.js/iban.js"></script>
</body>
</html>