diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-14 20:44:18 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-14 20:44:18 +0000 |
commit | eb779faf48d89baea5b3b9b4ce09cb09e9cd9cfe (patch) | |
tree | 4734eba845f293e9bcb33c5aca5e0d5eaed2d821 /app/acf-util/password-html.lsp | |
parent | 309ecb7da28b78999d29eea937ebdd8eaa411d66 (diff) | |
download | acf-core-eb779faf48d89baea5b3b9b4ce09cb09e9cd9cfe.tar.bz2 acf-core-eb779faf48d89baea5b3b9b4ce09cb09e9cd9cfe.tar.xz |
Added suppress_view option to dispatch_component and return viewtable.
Removed hostname from pageinfo and replaced with component load in template.
A little cleanup to use pageinfo in views.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1119 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf-util/password-html.lsp')
-rwxr-xr-x | app/acf-util/password-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/acf-util/password-html.lsp b/app/acf-util/password-html.lsp index 9de2d4f..8b6d563 100755 --- a/app/acf-util/password-html.lsp +++ b/app/acf-util/password-html.lsp @@ -1,4 +1,4 @@ -<? local form = ... ?> +<? local form, viewlibrary, pageinfo = ... ?> <? require("viewfunctions") ?> <? --[[ DEBUG INFORMATION @@ -18,7 +18,7 @@ io.write("</span>") form.value.password_confirm.type = "password" end -- If not in newuser action, disable userid - if nil == string.find(ENV["PATH_INFO"], "/newuser") then + if pageinfo.action ~= "newuser" then form.value.userid.contenteditable = false end local order = { "userid", "username", "roles", "password", "password_confirm" } |