aboutsummaryrefslogtreecommitdiff
path: root/static/modal-edit-gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'static/modal-edit-gallery.php')
-rw-r--r--static/modal-edit-gallery.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/static/modal-edit-gallery.php b/static/modal-edit-gallery.php
new file mode 100644
index 0000000..e5a2c48
--- /dev/null
+++ b/static/modal-edit-gallery.php
@@ -0,0 +1,40 @@
+<!-- Modal -->
+<form class="form-horizontal" method="POST" action="/?page=action&amp;task=editGallery&amp;gallery=<?php echo htmlentities($_SESSION['gallery']); ?>">
+<div class="modal fade" id="modal-edit-gallery" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
+ <h4 class="modal-title" id="myModalLabel">Ändern</h4>
+ </div>
+ <div class="modal-body">
+<fieldset>
+
+<!-- Text input-->
+<div class="form-group">
+ <label class="col-md-4 control-label" for="name">Galerie Name</label>
+ <div class="col-md-6">
+ <input id="name" name="name" value="<?php echo htmlentities($row["name"]); ?>" placeholder="Wie heißt die neue Foto Galerie? (Pflicht)" class="form-control input-md" required="" type="text">
+
+ </div>
+</div>
+
+<!-- Text input-->
+<div class="form-group">
+ <label class="col-md-4 control-label" for="desc">Beschreibung</label>
+ <div class="col-md-6">
+ <input id="desc" name="desc" value="<?php echo htmlentities($row["description"]); ?>" placeholder="Kurze Zusammenfassung. (Pflicht)" class="form-control input-md" required="" type="text">
+
+ </div>
+</div>
+
+</fieldset>
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">Schließen</button>
+ <button id="btn-send" type="submit" class="btn btn-primary" data-loading-text="Lade...">Änderung speichern</button>
+ </div>
+ </div>
+ </div>
+</div>
+</form>