summaryrefslogtreecommitdiff
path: root/templates/delete.tmpl
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2013-08-30 23:21:42 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2013-08-30 23:30:52 +0200
commit143f638a4b1bafdc4a2a811a9f4c97a5392a0acc (patch)
treea3f5e445ef7c597c25890b57b1b224504746405d /templates/delete.tmpl
parent3c42d5d76da5eda2ce6bedd954269161259b2289 (diff)
Added settings for registrations and uploads.
* create_active_users: Controls whether new user accounts are created as 'active'; accounts that are not marked as active will not be able to log in, and will be automatically logged out if they're already logged in. * allow_registration: Allow or disallow creation of new user accounts. Any attempts to access the registration page will result in an error message. * allow_anonymous_uploads: Allow or disallow uploading of files by anonymous (not logged in) users. Combined with either allow_registration or create_active_users, this will effectively create a private filebin where the admin must explicitly create or activate new users.
Diffstat (limited to 'templates/delete.tmpl')
-rw-r--r--templates/delete.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/delete.tmpl b/templates/delete.tmpl
index 62216d5..a3ed7be 100644
--- a/templates/delete.tmpl
+++ b/templates/delete.tmpl
@@ -2,8 +2,8 @@
#def header: delete
#extends templates.base
#def content
- <form method="post" action="${root}d/$hash">
+ <form method="post" action="${settings.virtual_root}d/$hash">
<p>Are you sure you want to delete the file $filename?</p>
- <p><input type="submit" value="Yes" /> <input type="button" value="No" onclick="document.location = '${root}u'" /></p>
+ <p><input type="submit" value="Yes" /> <input type="button" value="No" onclick="document.location = '${settings.virtual_root}u'" /></p>
</form>
#end def