Project

General

Profile

« Previous | Next » 

Revision 8605

added inputs/VegBIEN/TWiki/templates/login.tmpl

View differences:

inputs/VegBIEN/TWiki/templates/login.tmpl
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
%TMPL:END%
16

  
17
%TMPL:DEF{"titlestep"}%<div class="twikiFormStep">
18
%TMPL:P{"title"}%
19
%TMPL:P{"notestep"}%
20
%TMPL:P{"errorstep"}%</div><!-- /twikiFormStep-->%TMPL:END%
21

  
22

  
23
%TMPL:DEF{"notestep"}%<div style="display:%IF{'defined ERROR or defined NOTE or defined BANNER' then='block' else='none'}%;">
24
%IF{"defined NOTE AND $NOTE != ''" then='---+++ %NOTE%'}%</div>%TMPL:END%
25

  
26

  
27
%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%
28

  
29
%TMPL:DEF{"error"}%%MAKETEXT{"Error: [_1]" args="%ERROR%"}%%TMPL:END%
30

  
31
%TMPL:DEF{"authrealm"}%%AUTHREALM%%TMPL:END%
32

  
33
%TMPL:DEF{"formstart"}%<form action='%SCRIPTURLPATH{"login"}%/%WEB%/%TOPIC%' name='loginform' method='post'>%TMPL:END%
34

  
35
%TMPL:DEF{"formend"}%<literal>
36
%QUERYPARAMS{encoding="entity" format="<input type='hidden' name='$name' value='$value' />"}%
37
</literal><input type="hidden" name="origurl" value="%ORIGURL%" /></form>%TMPL:END%
38

  
39
%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%
40

  
41
%TMPL:DEF{"usernamestep"}%<div class="twikiFormStep">
42
---+++ %MAKETEXT{"Username"}%
43

  
44
%TMPL:P{"usernamefield"}% %TMPL:P{"usernamefieldhelp"}%
45

  
46
</div><!-- /twikiFormStep-->%TMPL:END%
47

  
48
%TMPL:DEF{"usernamenote"}%%TMPL:P{"authrealm"}%%TMPL:END%
49

  
50
%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%
51

  
52
%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%
53

  
54
%TMPL:DEF{"autocomplete_off"}% autocomplete='off' %TMPL:END%
55

  
56
%TMPL:DEF{"passwordfieldnoteremember"}%%TMPL:P{"passwordfield"}% %TMPL:P{"passwordnote"}%
57
%TMPL:P{context="can_remember_login" then="rememberbox"}%%TMPL:END%
58

  
59
%TMPL:DEF{"passwordstep"}%<div class="twikiFormStep">
60
---+++ %MAKETEXT{"Password"}%
61

  
62
%TMPL:P{"passwordfieldnoteremember"}%
63
</div><!-- /twikiFormStep-->%TMPL:END%
64

  
65
%TMPL:DEF{"passwordnote"}%<span class="twikiUnvisited">[[%SYSTEMWEB%.ResetPassword][%MAKETEXT{"I forgot my password"}%]]</span>%TMPL:END%
66

  
67
%TMPL:DEF{"rememberbox"}%%BR%<input tabindex='3' id="remember" name="remember" type="checkbox" value="1" /><label for="remember">&nbsp;%MAKETEXT{"Remember me on this computer"}%</label>%TMPL:END%
68

  
69
%TMPL:DEF{"submitstep"}%<div class="twikiFormStep">%TMPL:P{"submit"}%</div><!-- /twikiFormStep-->%TMPL:END%
70

  
71
%TMPL:DEF{"submit"}%<input tabindex='4' type='submit' class='twikiSubmit' value='%MAKETEXT{"Logon"}%' />%TMPL:END%
72

  
73
%{ please keep the spaces between the div and the TMPL seealsonote, it allows TWiki to process the emailaddress }%
74
%TMPL:DEF{"seealsostep"}%<div class="twikiFormStep twikiGrayText twikiLast"> %TMPL:P{"seealsonote"}% </div><!-- /twikiFormStep-->%TMPL:END%
75

  
76
%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%
77

  
78
%TMPL:DEF{"form"}%<div id="twikiLogin">
79
<div class="twikiFormSteps">%TMPL:P{"formstart"}%%TMPL:P{"titlestep"}%
80
%TMPL:P{"usernamestep"}%%TMPL:P{"passwordstep"}%%TMPL:P{"submitstep"}%
81
%TMPL:P{"formend"}%
82
%TMPL:P{"seealsostep"}%
83
</div><!-- /twikiFormSteps-->
84
</div><!-- /twikiLogin-->%TMPL:END%
85

  
86
%TMPL:DEF{"content"}%%TMPL:P{"form"}%%TMPL:END%

Also available in: Unified diff