Adjust links and resolve issues with german umlauts.
This commit is contained in:
@@ -30,7 +30,7 @@ if (!isset($_GET['action'])) {
|
||||
$ref .= "&action=speichern&pic=" . $_GET['pic']
|
||||
?>
|
||||
<form action="<?php echo $ref; ?>" method="post" enctype="multipart/form-data">
|
||||
<label>Foto auswählen</label>
|
||||
<label>Foto auswählen</label>
|
||||
<input type="file" name="Foto"/>
|
||||
<br/>
|
||||
<input type="submit" name="Speichern" value="Speichern"/>
|
||||
@@ -58,7 +58,7 @@ if (!isset($_GET['action'])) {
|
||||
imagedestroy($tmp);
|
||||
unlink($path . $_FILES['Foto']['name']);
|
||||
echo "<p>Bild hochgeladen</p>";
|
||||
echo "<a href=\"index.php?section=fotos&t=$_GET[t]\">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>\n";
|
||||
echo "<a href=\"index.php?section=fotos&t=$_GET[t]\">Zurück zur Übersicht</a>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user