Browse Source

Added imprint and privacey links

master
Tobias Herre 2 years ago
parent
commit
b80587ca54
3 changed files with 43 additions and 9 deletions
  1. +5
    -4
      form.php
  2. +3
    -0
      index.php
  3. +35
    -5
      submit.php

+ 5
- 4
form.php View File

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

+ 3
- 0
index.php View File

@ -65,9 +65,12 @@
</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>
<script src="js/kube.min.js"></script>
<script src="addons/upload/kube.upload.min.js"></script>
<script src="addons/kube-addons.min.js"></script>

+ 35
- 5
submit.php 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
session_start();
@ -432,16 +448,30 @@ if ($_POST['sendmail']=='yes'){
echo 'Mailer Error: ' . $mail->ErrorInfo;
die;
}
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="./">
Weiteren Antrag auf Kostenerstattung stellen</a><BR>';
die;
}
$file = "$resultnam.pdf";
header('Content-Disposition: attachment; filename="'. basename($file) . '"');
header('Content-Length: ' . filesize($file));
readfile($file);
?>
<script src="js/kube.min.js"></script>
<script src="addons/upload/kube.upload.min.js"></script>
<script src="addons/kube-addons.min.js"></script>
<script src="kaform.js"></script>
<script src="iban.js/iban.js"></script>
</body>
</html>

Loading…
Cancel
Save