source: trunk/template/yoga/menubar.tpl @ 1877

Last change on this file since 1877 was 1869, checked in by vdigital, 18 years ago

Bug: Minor HTML change to keep HTML 4.01 Strict level (category_cats.inc.php)

New: Label over quick search (and different display solutions in themes: center, left, italic, hidden, pre-filling hidden).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.0 KB
Line 
1<!-- $Id: menubar.tpl 1869 2007-03-04 19:00:43Z vdigital $ -->
2<div id="menubar">
3<!-- BEGIN links -->
4<dl id="mbLinks">
5  <dt>{lang:Links}</dt>
6  <dd>
7    <ul>
8      <!-- BEGIN link -->
9      <li>
10        <a href="{links.link.URL}"
11        <!-- BEGIN new_window -->
12         onclick="window.open(this.href,
13                              '{links.link.new_window.name}',
14                              '{links.link.new_window.features}'
15                              ); return false;"
16        <!-- END new_window -->
17        >{links.link.LABEL}
18        </a>
19      </li>
20      <!-- END link -->
21    </ul>
22  </dd>
23</dl>
24<!-- END links -->
25  <!-- BEGIN start_filter -->
26  <a href="{start_filter.URL}" title="{lang:start_filter_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/start_filter.png" class="button" alt="{lang:start_filter_hint}"></a>
27  <!-- END start_filter -->
28  <!-- BEGIN stop_filter -->
29  <a href="{stop_filter.URL}" title="{lang:stop_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter.png" class="button" alt="{lang:stop_filter_hint}"></a>
30  <!-- END stop_filter -->
31<dl id="mbCategories">
32  <dt><a href="{U_CATEGORIES}">{lang:Categories}</a></dt>
33  <dd>
34    {MENU_CATEGORIES_CONTENT}
35  <!-- BEGIN upload -->
36  <ul><li>
37    <a href="{upload.U_UPLOAD}">{lang:upload_picture}</a>
38  </li></ul>
39  <!-- END upload -->
40    <p class="totalImages">{NB_PICTURE} {lang:total}</p>
41  </dd>
42
43</dl>
44
45<!-- BEGIN tags -->
46<dl id="mbTags">
47  <dt>{lang:Related tags}</dt>
48  <dd>
49    <ul id="menuTagCloud">
50      <!-- BEGIN tag -->
51      <li>
52        <!-- BEGIN add -->
53        <a href="{tags.tag.add.URL}" title="{tags.tag.add.TITLE}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/add_tag.png" alt="+"></a>
54        <!-- END add -->
55        <a href="{tags.tag.URL}" class="{tags.tag.CLASS}" title="{tags.tag.TITLE}">{tags.tag.NAME}</a>
56      </li>
57      <!-- END tag -->
58    </ul>
59  </dd>
60</dl>
61<!-- END tags -->
62
63<dl id="mbSpecial">
64  <dt>{lang:special_categories}</dt>
65  <dd>
66    <ul>
67      <!-- BEGIN special_cat -->
68      <li><a href="{special_cat.URL}" title="{special_cat.TITLE}" {special_cat.REL}>{special_cat.NAME}</a></li>
69      <!-- END special_cat -->
70    </ul>
71  </dd>
72</dl>
73<dl id="mbMenu">
74  <dt>{lang:title_menu}</dt>
75  <dd>
76      <!-- BEGIN summary -->
77      <!-- BEGIN quick_search -->
78      <form action="{pwg_root}qsearch.php" method="get" id="quicksearch">
79      <p><span class="qsearch">{lang:qsearch}<br /></span>
80      <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />
81      </p>
82      </form>
83      <script type="text/javascript">var qsearch_prompt="{lang:search}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
84      <!-- END quick_search -->
85      <!-- END summary -->
86    <ul>
87      <!-- BEGIN summary -->
88      <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}" {summary.REL}>{summary.NAME}</a></li>
89      <!-- END summary -->
90
91    </ul>
92  </dd>
93</dl>
94<dl id="mbIdentification">
95  <dt>{lang:identification}</dt>
96  <dd>
97    <!-- BEGIN hello -->
98    <p>{lang:hello}&nbsp;{USERNAME}&nbsp;!</p>
99    <!-- END hello -->
100    <ul>
101      <!-- BEGIN register -->
102      <li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow">{lang:Register}</a></li>
103      <!-- END register -->
104      <!-- BEGIN login -->
105      <li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li>
106      <!-- END login -->
107      <!-- BEGIN logout -->
108      <li><a href="{U_LOGOUT}">{lang:logout}</a></li>
109      <!-- END logout -->
110      <!-- BEGIN profile -->
111      <li><a href="{U_PROFILE}" title="{lang:hint_customize}">{lang:customize}</a></li>
112      <!-- END profile -->
113      <!-- BEGIN admin -->
114      <li><a href="{U_ADMIN}" title="{lang:hint_admin}">{lang:admin}</a></li>
115      <!-- END admin -->
116    </ul>
117    <!-- BEGIN quickconnect -->
118    <form method="post" action="{F_IDENTIFY}" class="filter" id="quickconnect">
119      <fieldset>
120        <legend>{lang:Quick connect}</legend>
121
122        <label>
123          {lang:Username}
124          <input type="text" name="username" size="15" value="">
125        </label>
126
127        <label>
128          {lang:Password}
129          <input type="password" name="password" size="15">
130        </label>
131
132        <!-- BEGIN remember_me -->
133        <label>
134          {lang:remember_me}
135          <input type="checkbox" name="remember_me" value="1">
136        </label>
137        <!-- END remember_me -->
138
139        <p>
140         <input class="submit" type="submit" name="login" value="{lang:submit}">
141        </p>
142    <ul class="actions">
143      <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li>
144      <!-- BEGIN register -->
145      <li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li>
146      <!-- END register -->
147    </ul>
148
149      </fieldset>
150    </form>
151    <!-- END quickconnect -->
152
153  </dd>
154</dl>
155</div> <!-- menubar -->
Note: See TracBrowser for help on using the repository browser.