summaryrefslogtreecommitdiff
path: root/templates/authenticate.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/authenticate.tpl')
-rw-r--r--templates/authenticate.tpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/authenticate.tpl b/templates/authenticate.tpl
new file mode 100644
index 0000000..46bd2eb
--- /dev/null
+++ b/templates/authenticate.tpl
@@ -0,0 +1,21 @@
+{strip}
+<div class="body">
+ {formfeedback error=$failedLogin}
+ <h2>{$gContent->mInfo.title}</h2>
+
+ This gallery has been password protected by the owner. "{$PHP_SELF}"
+
+ {form ifile="$PHP_SELF" legend="Authenticate"}
+ <input type="hidden" name="content_id" value="{$gContent->mContentId}" />
+
+ <h3>{$gContent->mInfo.access_question}:</h3>
+ <div class="row">
+ {formlabel label="Answer" for="try-access-answer"}
+ {forminput}
+ <input type="text" name="try_access_answer" id="try-access-answer" value="" maxlength="128" size="50"/>
+ <input type="submit" name="submit_answer" value="Submit Answer"/>
+ {/forminput}
+ </div>
+ {/form}
+</div>
+{/strip}