diff options
| author | root | 2014-11-27 02:41:21 +0100 |
|---|---|---|
| committer | root | 2014-11-27 02:41:21 +0100 |
| commit | 92babb43a2a0041a71b54db35cbc9d2fba908a63 (patch) | |
| tree | 8971101b53b6a6b12a092b456dc11a4dbfc034a3 /linkshorter/view/templ-password.php | |
| parent | 2b24f3ef0e800f878177973eefcb28380a292503 (diff) | |
| download | tools.iamfabulous.de-92babb43a2a0041a71b54db35cbc9d2fba908a63.tar.gz | |
Rewrote the linkshorter.
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"); ?> |
