Update of /cvsroot/phpwiki/phpwiki/templates
In directory usw-pr-cvs1:/tmp/cvs-serv1029/templates
Modified Files:
browse.html
Log Message:
Added support for bogo-logins.
One can now "login" using any WikiWord as a user ID.
(Unless logging in as the admin user, any password will work.)
Currently, the sole effect of logging in is that the
the logged-in user ID is recorded as the author of any
page edits. Thus, "logging in" allows one to control
the author which appears in RecentChanges and the page
info display.
Index: browse.html
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/templates/browse.html,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** browse.html 2001/06/26 18:13:00 1.18
--- browse.html 2001/07/20 17:40:12 1.19
***************
*** 16,19 ****
--- 16,20 ----
href="###ACTION###search&searchtype=full&searchterm=###PAGEURL###"
><span class='wikiword'>###PAGE###</span></a></h1>
+
###IF:!ANONYMOUS###
<p>You are logged in as <em>###USERID###</em>.
***************
*** 27,30 ****
--- 28,38 ----
<hr noshade>
###ENDIF:!ANONYMOUS###
+
+ ###IF:ANONYMOUS###
+ If you would like to, you may
+ <a class="wikiaction" href="###ACTION###login">log in</a>
+ (use any WikiWord as a user ID, any password.)</p>
+ ###ENDIF:ANONYMOUS###
+
<table class="outer" width="100%" cellspacing=2 border=0>
<tr><td><table class="inner" width="100%" border=0 cellspacing=0 cellpadding=5>
|