source: trunk/themes/default/template/password.tpl @ 18750

Revision 18750, 1.9 KB checked in by rvelices, 7 years ago (diff)

rollback remove empty <ul> ( -r18748 )

  • Property svn:eol-style set to LF
Line 
1{if isset($MENUBAR)}{$MENUBAR}{/if}
2<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
3  <div class="titrePage">
4    <ul class="categoryActions">
5    </ul>
6
7    <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{$title}</h2>
8  </div>
9
10{include file='infos_errors.tpl'}
11
12{if $action ne 'none'}
13<form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&amp;key={$key}{/if}" method="post">
14  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
15
16  {if $action eq 'lost'}
17  <div class="message">{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}</div>
18
19  <p>
20    <label>
21      {'Username or email'|@translate}
22      <br>
23      <input type="text" id="username_or_email" name="username_or_email" size="40" maxlength="40"{if isset($username_or_email)} value="{$username_or_email}"{/if}>
24    </label>
25  </p>
26
27  <p class="bottomButtons"><input type="submit" name="submit" value="{'Change my password'|@translate}"></p>
28  {elseif $action eq 'reset'}
29
30  <div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div>
31
32  <p>
33    <label>
34      {'New password'|@translate}
35      <br>
36      <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
37    </label>
38  </p>
39
40  <p>
41    <label>
42      {'Confirm Password'|@translate}
43      <br>
44      <input type="password" name="passwordConf" id="passwordConf" value="">
45    </label>
46  </p>
47
48  <p class="bottomButtons"><input type="submit" name="submit" value="{'Submit'|@translate}"></p>
49  {/if}
50
51</form>
52{/if} {* $action ne 'none' *}
53
54<script type="text/javascript">
55{if $action eq 'lost'}
56{literal}try{document.getElementById('username_or_email').focus();}catch(e){}{/literal}
57{elseif $action eq 'reset'}
58{literal}try{document.getElementById('use_new_pwd').focus();}catch(e){}{/literal}
59{/if}
60</script>
61
62</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.