[pmwiki-users] pmwiki-users Digest, Vol 26, Issue 15

Chris Cox ccox at airmail.net
Mon Aug 6 14:51:24 CDT 2007


David Murray wrote:
>> From: Chris Cox <ccox at airmail.net>
...
>> You could edit the Site login form and put the message as described
>> in it.  Of course, you still want them to be able to login, so you
>> could wrap a conditional around the login form data there so that
>> they have to navigate to the form directly in order to see the login
>> form (you can put a link somewhere called "login" to make that easier).
>> Shoot.. the login link could even be inside the Site login form
>> page itself... so you get the message "This article has not been
>> written..." and there will be a link to "login" after the message.
>>
>> Anything is possible.
> 
> Chris,
> It displays text "password required" above the form where the password is to 
> be entered. Unfortunately, I haven't been able to find which file is 
> rendering this text. Any ideas? I've checked "authuser" "pagenotfound" 
> "crypt.php" and several more.

Sorry.. I should have said.  If using AuthUser it's in Site.AuthForm

For example, I changed mine to look like this (just a prettier
version of the default one).

'''$[Please login]'''
(:messages:)
(:if enabled InvalidLogin:)* $[Name/password not recognized]
(:if:)
(:input auth_form:)
(:table:)
(:cell:)
(:if enabled EnableAuthUser:)$[Name]:
(:ifend:)
(:cell:)
(:if enabled EnableAuthUser:)(:input text name=authid:)
(:ifend:)
(:cellnr:)
$[Password]:
(:cell:)
(:input password name=authpw:)\\
(:input submit value='OK':)
(:tableend:)
(:input end:)



More information about the pmwiki-users mailing list