1 | package 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.
|
---|
28 | Please enter your username
|
---|
29 | and 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
|
---|
36 | the 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.
|
---|
41 | Please enter your password to access this page.}
|
---|
42 |
|
---|
43 |
|
---|
44 | #################################
|
---|
45 | # when authentication is accepted
|
---|
46 | #################################
|
---|
47 |
|
---|
48 | package authenok
|
---|
49 |
|
---|
50 |
|
---|
51 | #######################################################################
|
---|
52 | # page content
|
---|
53 | #######################################################################
|
---|
54 |
|
---|
55 | _pagetitle_ {Greenstone Digital Library}
|
---|
56 | _imagethispage_ {_imagegreenstone_}
|
---|
57 |
|
---|
58 | _content_ {
|
---|
59 | _authen:messagestatus_
|
---|
60 | }
|
---|