Adjust links and resolve issues with german umlauts.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<h3>Neues Bild hinzuf<EFBFBD>gen</h3>
|
||||
<h3>Neues Bild hinzufügen</h3>
|
||||
|
||||
<?php
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
?>
|
||||
|
||||
<form action="index.php?section=fotos&t=bilder" method="post" enctype="multipart/form-data">
|
||||
<label>Foto auswählen</label>
|
||||
<label>Foto auswählen</label>
|
||||
<input type="hidden" name="add" value="speichern"/>
|
||||
<input type="file" name="Foto"/>
|
||||
<br/>
|
||||
<label>Bild<EFBFBD>berschrift</label>
|
||||
<label>Bildüberschrift</label>
|
||||
<input type="text" name="Text"/>
|
||||
<br/>
|
||||
<input type="submit" name="Speichern" value="Speichern"/>
|
||||
@@ -53,6 +53,6 @@ if (!isset($_POST['Speichern'])) {
|
||||
imagedestroy($tmp);
|
||||
unlink($uploaddir . $_FILES['Foto']['name']);
|
||||
}
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -14,7 +14,7 @@ if (!isset($_POST['Speichern'])) {
|
||||
<input type="hidden" name="id" value="<?php echo $_POST['Titel']; ?>"/>
|
||||
<input type="hidden" name="file" value="<?php echo $file; ?>"/>
|
||||
<br/>
|
||||
<input type="submit" name="Speichern" value="L<EFBFBD>schen"/>
|
||||
<input type="submit" name="Speichern" value="Löschen"/>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
@@ -31,7 +31,7 @@ if (!isset($_POST['Speichern'])) {
|
||||
} else {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zurück zur Übersicht</a>';
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -31,7 +31,7 @@ if (!isset($_POST['Speichern'])) {
|
||||
if (!$stmt2->execute()) {
|
||||
die ('Query konnte nicht ausgef<65>hrt werden: ' . $stmt->error);
|
||||
}
|
||||
echo "Die <EFBFBD>berschrift wurde gespeichert<br />";
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
|
||||
echo "Die Überschrift wurde gespeichert<br />";
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -19,14 +19,14 @@ $result1 = $db->query($sql1);
|
||||
</select>
|
||||
<br/>
|
||||
<fieldset>
|
||||
<legend>Bild<EFBFBD>berschrift eines Fotos <EFBFBD>ndern</legend>
|
||||
<legend>Bildüberschrift eines Fotos ändern</legend>
|
||||
<input type="submit" name="edit" value="Bearbeiten"/>
|
||||
<br/>
|
||||
</fieldset>
|
||||
<br/>
|
||||
<fieldset>
|
||||
<legend>bestehendes Foto l<EFBFBD>schen</legend>
|
||||
<input type="submit" name="del" value="L<EFBFBD>schen"/>
|
||||
<legend>bestehendes Foto löschen</legend>
|
||||
<input type="submit" name="del" value="Löschen"/>
|
||||
<br/>
|
||||
</fieldset>
|
||||
</fieldset>
|
||||
Reference in New Issue
Block a user