1
|
%{ This is a default template }%%TMPL:INCLUDE{"twiki"}%
|
2
|
|
3
|
%TMPL:DEF{"webaction"}%%MAKETEXT{"TWiki User Authentication"}%%TMPL:END%
|
4
|
%TMPL:DEF{"titleaction"}%%MAKETEXT{"(login)"}% %TMPL:END%
|
5
|
%TMPL:DEF{"LOG_IN_BANNER"}%%TMPL:END%
|
6
|
%TMPL:DEF{"LOGGED_IN_BANNER"}%%MAKETEXT{"[_1] is currently logged in" args="%USERSWEB%.%WIKINAME%"}%%TMPL:END%
|
7
|
%TMPL:DEF{"NEW_USER_NOTE"}%%MAKETEXT{"Enter a new username and password to change identity"}%%TMPL:END%
|
8
|
%TMPL:DEF{"UNRECOGNISED_USER"}%%MAKETEXT{"Oops: we could not recognize you. Try again or [[[_1]][reset your password]]." args="%SYSTEMWEB%.ResetPassword"}%%TMPL:END%
|
9
|
|
10
|
%TMPL:DEF{"pagetitle"}%%TMPL:END%
|
11
|
|
12
|
%TMPL:DEF{"titleaction"}%%MAKETEXT{"([_1] login)" args="<nop>%WIKITOOLNAME%"}%%TMPL:END%
|
13
|
|
14
|
%TMPL:DEF{"title"}%---++ %MAKETEXT{"Please enter your username and password"}%
|
15
|
<p> </p>
|
16
|
---+ *%MAKETEXT{"If you do not yet have an account, go to TWiki.TWikiRegistration to register"}%*
|
17
|
%TMPL:END%
|
18
|
|
19
|
%TMPL:DEF{"titlestep"}%<div class="twikiFormStep">
|
20
|
%TMPL:P{"title"}%
|
21
|
%TMPL:P{"notestep"}%
|
22
|
%TMPL:P{"errorstep"}%</div><!-- /twikiFormStep-->%TMPL:END%
|
23
|
|
24
|
|
25
|
%TMPL:DEF{"notestep"}%<div style="display:%IF{'defined ERROR or defined NOTE or defined BANNER' then='block' else='none'}%;">
|
26
|
%IF{"defined NOTE AND $NOTE != ''" then='---+++ %NOTE%'}%</div>%TMPL:END%
|
27
|
|
28
|
|
29
|
%TMPL:DEF{"errorstep"}%%IF{"defined BANNER AND $BANNER != ''" then='<div class="twikiNotification twikiAlert twikiUnvisited patternLoginNotification">%BANNER%%IF{"defined ERROR AND $ERROR != ''" then='<!--%TMPL:P{"error"}%-->'}%</div>'}%%TMPL:END%
|
30
|
|
31
|
%TMPL:DEF{"error"}%%MAKETEXT{"Error: [_1]" args="%ERROR%"}%%TMPL:END%
|
32
|
|
33
|
%TMPL:DEF{"authrealm"}%%AUTHREALM%%TMPL:END%
|
34
|
|
35
|
%TMPL:DEF{"formstart"}%<form action='%SCRIPTURLPATH{"login"}%/%WEB%/%TOPIC%' name='loginform' method='post'>%TMPL:END%
|
36
|
|
37
|
%TMPL:DEF{"formend"}%<literal>
|
38
|
%QUERYPARAMS{encoding="entity" format="<input type='hidden' name='$name' value='$value' />"}%
|
39
|
</literal><input type="hidden" name="origurl" value="%ORIGURL%" /></form>%TMPL:END%
|
40
|
|
41
|
%TMPL:DEF{"usernamefield"}%<input tabindex='1' type='text' class='twikiInputField twikiFocus' size='40' name='username' value='%URLPARAM{"usernamestep"}%' %TMPL:P{context="no_auto_complete_login" then="autocomplete_off"}% />%TMPL:END%
|
42
|
|
43
|
%TMPL:DEF{"usernamestep"}%<div class="twikiFormStep">
|
44
|
---+++ %MAKETEXT{"Username"}%
|
45
|
|
46
|
%TMPL:P{"usernamefield"}% %TMPL:P{"usernamefieldhelp"}%
|
47
|
|
48
|
</div><!-- /twikiFormStep-->%TMPL:END%
|
49
|
|
50
|
%TMPL:DEF{"usernamenote"}%%TMPL:P{"authrealm"}%%TMPL:END%
|
51
|
|
52
|
%TMPL:DEF{"usernamefieldhelp"}%%TWISTY{mode="span" showlink="%MAKETEXT{"Help"}%" hidelink="%MAKETEXT{"Hide help"}%" remember="on"}% <div class="twikiHelp">%TMPL:P{"usernamenote"}%</div> %ENDTWISTY%%TMPL:END%
|
53
|
|
54
|
%TMPL:DEF{"passwordfield"}%<input tabindex='2' type='password' class='twikiInputField' size='40' name='password' value='' %TMPL:P{context="no_auto_complete_login" then="autocomplete_off"}% />%TMPL:END%
|
55
|
|
56
|
%TMPL:DEF{"autocomplete_off"}% autocomplete='off' %TMPL:END%
|
57
|
|
58
|
%TMPL:DEF{"passwordfieldnoteremember"}%%TMPL:P{"passwordfield"}% %TMPL:P{"passwordnote"}%
|
59
|
%TMPL:P{context="can_remember_login" then="rememberbox"}%%TMPL:END%
|
60
|
|
61
|
%TMPL:DEF{"passwordstep"}%<div class="twikiFormStep">
|
62
|
---+++ %MAKETEXT{"Password"}%
|
63
|
|
64
|
%TMPL:P{"passwordfieldnoteremember"}%
|
65
|
</div><!-- /twikiFormStep-->%TMPL:END%
|
66
|
|
67
|
%TMPL:DEF{"passwordnote"}%<span class="twikiUnvisited">[[%SYSTEMWEB%.ResetPassword][%MAKETEXT{"I forgot my password"}%]]</span>%TMPL:END%
|
68
|
|
69
|
%TMPL:DEF{"rememberbox"}%%BR%<input tabindex='3' id="remember" name="remember" type="checkbox" value="1" /><label for="remember"> %MAKETEXT{"Remember me on this computer"}%</label>%TMPL:END%
|
70
|
|
71
|
%TMPL:DEF{"submitstep"}%<div class="twikiFormStep">%TMPL:P{"submit"}%</div><!-- /twikiFormStep-->%TMPL:END%
|
72
|
|
73
|
%TMPL:DEF{"submit"}%<input tabindex='4' type='submit' class='twikiSubmit' value='%MAKETEXT{"Logon"}%' />%TMPL:END%
|
74
|
|
75
|
%{ please keep the spaces between the div and the TMPL seealsonote, it allows TWiki to process the emailaddress }%
|
76
|
%TMPL:DEF{"seealsostep"}%<div class="twikiFormStep twikiGrayText twikiLast"> %TMPL:P{"seealsonote"}% </div><!-- /twikiFormStep-->%TMPL:END%
|
77
|
|
78
|
%TMPL:DEF{"seealsonote"}% %MAKETEXT{"If you have any questions, please contact [_1]" args="%IF{"defined WIKIWEBMASTER AND $WIKIWEBMASTER != ''" then="%WIKIWEBMASTER%" else="your TWiki administrator"}%"}% %TMPL:END%
|
79
|
|
80
|
%TMPL:DEF{"form"}%<div id="twikiLogin">
|
81
|
<div class="twikiFormSteps">%TMPL:P{"formstart"}%%TMPL:P{"titlestep"}%
|
82
|
%TMPL:P{"usernamestep"}%%TMPL:P{"passwordstep"}%%TMPL:P{"submitstep"}%
|
83
|
%TMPL:P{"formend"}%
|
84
|
%TMPL:P{"seealsostep"}%
|
85
|
</div><!-- /twikiFormSteps-->
|
86
|
</div><!-- /twikiLogin-->%TMPL:END%
|
87
|
|
88
|
%TMPL:DEF{"content"}%%TMPL:P{"form"}%%TMPL:END%
|