diff options
Diffstat (limited to 'linkshorter/view/templ-password.php')
| -rw-r--r-- | linkshorter/view/templ-password.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/linkshorter/view/templ-password.php b/linkshorter/view/templ-password.php new file mode 100644 index 0000000..2be90f3 --- /dev/null +++ b/linkshorter/view/templ-password.php @@ -0,0 +1,35 @@ +<?php + $title= "Passwort Required | Link Shorter"; + require 'view/templ-head.php'; +?> +<div class="container text-center pagination-centered"> + <div class="row"> + <form class="form-horizontal" action="<?php echo ADMINDOMAIN; ?>" method="POST"> + <fieldset> + + <!-- Form Name --> + <legend><h1>Password Required</h1><p>Enter the correct password and you will be redirected.</p></legend> + + <!-- Password input--> + <div class="form-group"> + <label class="col-md-4 control-label" for="password">Password</label> + <div class="col-md-4"> + <input id="password" name="password" placeholder="Password" class="form-control input-md" required="" type="password"> + </div> + </div> + <input type="hidden" name="checkpassword" value="1"> + <input type="hidden" name="short" value="<?php echo htmlentities($_REQUEST ["short"]); ?>"> + + <div class="form-group"> + <label class="col-md-4 control-label" for="singlebutton"></label> + <div class="col-md-4"> + <button id="singlebutton" name="singlebutton" class="btn btn-info" type="submit">Short!</button> + </div> + </div> + + </fieldset> + </form> + + </div> +</div> + <?php require("../tools/footer.php"); ?> |
