aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/test_menu/menu_templates/menubar_identification.tpl
blob: c0c3891fea99e556e6fd8c1397696c677dbeebd1 (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
<!-- identification menu bar -->
<dt>{$section.NAME|@translate}</dt>
<dd>
  {if isset($section.ITEMS.USERNAME)}
  <p>{'hello'|@translate}&nbsp;{$section.ITEMS.USERNAME}&nbsp;!</p>
  {/if}

<ul>
  {if isset($section.ITEMS.U_REGISTER)}
  <li><a href="{$section.ITEMS.U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
  {/if}

  {if isset($section.ITEMS.U_IDENTIFY)}
  <li><a href="{$section.ITEMS.U_IDENTIFY}" rel="nofollow">{'Connection'|@translate}</a></li>
  {/if}

  {if isset($section.ITEMS.U_LOGOUT)}
  <li><a href="{$section.ITEMS.U_LOGOUT}">{'logout'|@translate}</a></li>
  {/if}

  {if isset($section.ITEMS.U_PROFILE)}
  <li><a href="{$section.ITEMS.U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li>
  {/if}

  {if isset($section.ITEMS.U_ADMIN)}
  <li><a href="{$section.ITEMS.U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li>
  {/if}
</ul>

{if isset($section.ITEMS.U_IDENTIFY)}
<form method="post" action="{$section.ITEMS.U_IDENTIFY}" class="filter" id="quickconnect">
<fieldset>
  <legend>{'Quick connect'|@translate}</legend>

  <label>
    {'Username'|@translate}
    <input type="text" name="username" size="15" value="" id="iusername">
  </label>

  <label>
    {'Password'|@translate}
    <input type="password" name="password" size="15" id="ipassword">
  </label>

  {if $section.ITEMS.AUTHORIZE_REMEMBERING}
  <label>
    {'remember_me'|@translate}
    <input type="checkbox" name="remember_me" value="1" id="iremember_me">
  </label>
  {/if}
  <p>
    <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
  </p>

  <ul class="actions">
    <li><a href="{$section.ITEMS.U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
    {if isset($section.ITEMS.U_REGISTER)}
    <li><a href="{$section.ITEMS.U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li>
    {/if}
  </ul>

</fieldset>
</form>
  {/if}

</dd>