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