source: trunk/gsdl/macros/authen.dm@ 599

Last change on this file since 599 was 599, checked in by sjboddie, 25 years ago

fixed small, frustrating bug. 'b' cgi argument was being used for two
different things and was creating problems with the authentication stuff

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1package authen
2
3
4#######################################################################
5# page content
6#######################################################################
7
8_pagetitle_ {Greenstone Digital Library}
9_imagethispage_ {_imagegreenstone_}
10
11_content_ {
12_messagestatus_
13
14<form name="login" method="post" action="_gwcgi_">
15<input type=hidden name="e" value="_If_(_cgiarger_,_cgiarger_,_compressedoptions_)">
16_hiddenargs_
17
18<table border=0>
19<tr><td>username</td><td><input type="text" name="un" value="_cgiargun_" size=10></td></tr>
20<tr><td>password</td><td><input type="password" name="pw" size=10></td></tr>
21<tr><td></td><td><input type="submit" value="sign in"></td></tr>
22</table>
23</form>
24}
25
26
27_messageinvalid_ {The page you have requested requires you to sign in.
28Please enter your username
29and password.}
30
31_messagefailed_ {Either your user name or password was incorrect.}
32
33_messageenabled_ {}
34
35_messagedisabled_ {Sorry, you account has been disabled. Please contact
36the webmaster for this site.}
37
38_messagepermissiondenied_ {Sorry, you do not have permission to access this page.}
39
40_messagestalekey_ {The link you have followed is now stale.
41Please enter your password to access this page.}
42
43
44#################################
45# when authentication is accepted
46#################################
47
48package authenok
49
50
51#######################################################################
52# page content
53#######################################################################
54
55_pagetitle_ {Greenstone Digital Library}
56_imagethispage_ {_imagegreenstone_}
57
58_content_ {
59_authen:messagestatus_
60}
Note: See TracBrowser for help on using the repository browser.