forked from newscoop/theme-Tommy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauth_password-restore-finish.tpl
executable file
·36 lines (31 loc) · 1.6 KB
/
auth_password-restore-finish.tpl
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
{{ config_load file="{{ $gimme->language->english_name }}.conf" }}
{{ include file="_tpl/_html-head.tpl" }}
<body>
<!--[if lt IE 7]>
<p class="chromeframe">{{ #outdatedBrowser# }}</p>
<![endif]-->
{{ include file="_tpl/header.tpl" }}
<main role="main" class="main site-pw">
<section class="main-alpha">
<h1>{{ #setNewPassword# }}</h1>
{{ if $form->isErrors() }}
<p class="info info-error"><span aria-hidden="true" class="icon-blocked"></span> {{ #yourPasswordCouldNotBeChanged# }}</p>
{{ /if }}
<form class="form" action="{{ $form->getAction() }}" class="zend_form" method="{{ $form->getMethod() }}">
{{ $form->password->setLabel("Neues Passwort")->removeDecorator('Errors') }}
{{ if $form->password->hasErrors() }}
<p class="info info-error"><span aria-hidden="true" class="icon-blocked"></span> {{ #pleaseEnterYourNewPassword# }}</p>
{{ /if }}
{{ $form->password_confirm->setLabel("Retype your password")->removeDecorator('Errors') }}
{{ if $form->password_confirm->hasErrors() && !$form->password->hasErrors() }}
<p class="info info-error"><span aria-hidden="true" class="icon-blocked"></span> {{ #theConfirmationPasswordDoesNotMatch# }}</span>
{{ /if }}
<input type="submit" id="submit" class="button" value="{{ #savePassword# }}" />
</form>
</section>
<aside class="main-beta clearfix">
{{ include file="_tpl/user-sidebar.tpl" }}
</aside>
</main>
{{ include file="_tpl/footer.tpl" }}
{{ include file="_tpl/_html-foot.tpl" }}