Welcome to mirror list, hosted at ThFree Co, Russian Federation.

login.tpl « templates « Login « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b177de3d52e2d8797dfb79593ba4c45add09593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{include file="Login/templates/header.tpl"}

<div id="login">

{* untrusted host warning *}
{if isset($isValidHost) && isset($invalidHostMessage) && !$isValidHost}
<div id="login_error">
	<strong>{'General_Warning'|translate}:&nbsp;</strong>{$invalidHostMessage}
</div>
{/if}

<div id="message_container">
	{if $form_data.errors}
	<div id="login_error">	
		{foreach from=$form_data.errors item=data}
			<strong>{'General_Error'|translate}</strong>: {$data}<br />
		{/foreach}
	</div>
	{/if}

	{if $AccessErrorString}
	<div id="login_error"><strong>{'General_Error'|translate}</strong>: {$AccessErrorString}<br /></div>
	{/if}

	{if $infoMessage}
	<p class="message">{$infoMessage}</p>
	{/if}
</div>

<form id="login_form" {$form_data.attributes}>
	<p>
		<label>{'General_Username'|translate}:<br/>
		<input type="text" name="form_login" id="login_form_login" class="input" value="" size="20" tabindex="10" />
		<input type="hidden" name="form_nonce" id="login_form_nonce" value="{$nonce}" /></label>
	</p>

	<p>
		<label>{'Login_Password'|translate}:<br />
		<input type="password" name="form_password" id="login_form_password" class="input" value="" size="20" tabindex="20" /></label>
	</p>
	
	<p class="forgetmenot">
		<label><input name="form_rememberme" type="checkbox" id="login_form_rememberme" value="1" tabindex="90" {if $form_data.form_rememberme.value}checked="checked" {/if}/> {'Login_RememberMe'|translate} </label>
	</p>
	<p>
		<input class="submit" id='login_form_submit' type="submit" value="{'Login_LogIn'|translate}" tabindex="100" />
	</p>
</form>

{if isset($isValidHost) && $isValidHost}
<form id="reset_form" style="display:none;">
	<p>
		<label>{'Login_LoginOrEmail'|translate}:<br />
		<input type="text" name="form_login" id="reset_form_login" class="input" value="" size="20" tabindex="10" />
		<input type="hidden" name="form_nonce" id="reset_form_nonce" value="{$nonce}" /></label>
	</p>

	<p>
		<label>{'Login_Password'|translate}:<br />
		<input type="password" name="form_password" id="reset_form_password" class="input" value="" size="20" tabindex="20" /></label>
	</p>
	
	<p>
		<label>{'Login_PasswordRepeat'|translate}:<br />
		<input type="password" name="form_password_bis" id="reset_form_password_bis" class="input" value="" size="20" tabindex="30" /></label>
	</p>
	
	<p>
		<span class="loadingPiwik" style="display:none;"><img src="themes/default/images/loading-blue.gif" /></span>
		<input class="submit" id='reset_form_submit' type="submit" value="{'Login_ChangePassword'|translate}" tabindex="100"/>
	</p>
	
	<input type="hidden" name="module" value="Login"/>
	<input type="hidden" name="action" value="resetPassword"/>
</form>
{/if}

<p id="nav">
{if isset($isValidHost) && $isValidHost}
<a id="login_form_nav" href="#" title="{'Login_LostYourPassword'|translate}">{'Login_LostYourPassword'|translate}</a>
<a id="alternate_reset_nav" href="#" style="display:none;" title="{'Login_LogIn'|translate}">{'Login_LogIn'|translate}</a>
{/if}
<a id="reset_form_nav" href="#" style="display:none;" title="{'Mobile_NavigationBack'|translate}">{'General_Cancel'|translate}</a>
</p>
{if isset($smarty.capture.poweredByPiwik)}
	<p id="piwik">
	{$smarty.capture.poweredByPiwik}
	</p>
{/if}

<div id="lost_password_instructions" style="display:none;">
	<p class="message">{'Login_ResetPasswordInstructions'|translate}</p>
</div>

</div>
</body>
</html>