1 | {* $Id: menubar.tpl 2409 2008-07-01 02:09:21Z rvelices $ *} |
---|
2 | <div id="menubar"> |
---|
3 | <table id="table_menu"> |
---|
4 | <tr id="up"> |
---|
5 | <td class="mb_left"> </td> |
---|
6 | <td class="mb_middle"> </td> |
---|
7 | <td class="mb_right"> </td> |
---|
8 | </tr> |
---|
9 | {if not empty($links)} |
---|
10 | <tr id="Links" class="middle"> |
---|
11 | <td class="mb_left"> </td> |
---|
12 | <td class="mb_middle"><dl id="mbLinks"> |
---|
13 | <dt class="titre_acordeon"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]"><a href="#">{'Links'|@translate}</a></dt> |
---|
14 | <dd> |
---|
15 | <ul> |
---|
16 | {foreach from=$links item=link} |
---|
17 | <li> <a href="{$link.URL}" |
---|
18 | {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if} |
---|
19 | > {$link.LABEL} </a> </li> |
---|
20 | {/foreach}{*links*} |
---|
21 | </ul> |
---|
22 | </dd> |
---|
23 | </dl></td> |
---|
24 | <td class="mb_right"> </td> |
---|
25 | </tr> |
---|
26 | {/if}{*links*} |
---|
27 | <tr id="Categories" class="middle"> |
---|
28 | <td class="mb_left"> </td> |
---|
29 | <td class="mb_middle"> {if isset($U_START_FILTER)} <a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> {/if} |
---|
30 | {if isset($U_STOP_FILTER)} <a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> {/if} |
---|
31 | <dl id="mbCategories"> |
---|
32 | <dt class="titre_acordeon_0"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]"><a href="#">{'Categories'|@translate}</a></dt> |
---|
33 | <dd> {$MENU_CATEGORIES_CONTENT} |
---|
34 | {if isset($U_UPLOAD)} <img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/upload.png" alt="--"/><a href="{$U_UPLOAD}">{'upload_picture'|@translate}</a> {/if} |
---|
35 | <p class="totalImages">{$pwg->l10n_dec('%d element', '%d elements', $NB_PICTURE)}</p> |
---|
36 | </dd> |
---|
37 | </dl></td> |
---|
38 | <td class="mb_right"> </td> |
---|
39 | </tr> |
---|
40 | {if not empty($related_tags)} |
---|
41 | <tr id="Tags" class="middle"> |
---|
42 | <td class="mb_left"> </td> |
---|
43 | <td class="mb_middle"><dl id="mbTags"> |
---|
44 | <dt class="titre_acordeon"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]"><a href="#">{'Related tags'|@translate}</a></dt> |
---|
45 | <dd> |
---|
46 | <ul id="menuTagCloud"> |
---|
47 | {foreach from=$related_tags item=tag} |
---|
48 | <li> {if !empty($tag.U_ADD) } <a href="{$tag.U_ADD}" |
---|
49 | title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" |
---|
50 | rel="nofollow"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> </a> {/if} <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a> </li> |
---|
51 | {/foreach} |
---|
52 | </ul> |
---|
53 | </dd> |
---|
54 | </dl></td> |
---|
55 | <td class="mb_right"> </td> |
---|
56 | </tr> |
---|
57 | {/if} |
---|
58 | <tr id="Special" class="middle"> |
---|
59 | <td class="mb_left"> </td> |
---|
60 | <td class="mb_middle"><dl id="mbSpecial"> |
---|
61 | <dt class="titre_acordeon"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]"><a href="#">{'special_categories'|@translate}</a></dt> |
---|
62 | <dd> |
---|
63 | <ul> |
---|
64 | {foreach from=$special_categories item=cat} |
---|
65 | <li><a href="{$cat.URL}" title="{$cat.TITLE}" {if isset($cat.REL)}{$cat.REL}{/if}>{$cat.NAME}</a></li> |
---|
66 | {/foreach} |
---|
67 | </ul> |
---|
68 | </dd> |
---|
69 | </dl></td> |
---|
70 | <td class="mb_right"> </td> |
---|
71 | </tr> |
---|
72 | <tr id="Identification" class="middle"> |
---|
73 | <td class="mb_left"> </td> |
---|
74 | <td class="mb_middle"><dl id="mbIdentification"> |
---|
75 | <dt class="titre_acordeon"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]"><a href="#">{'identification'|@translate}</a></dt> |
---|
76 | <dd> {if isset($USERNAME)} |
---|
77 | <p>{'hello'|@translate} {$USERNAME} !</p> |
---|
78 | {/if} |
---|
79 | <ul> |
---|
80 | {if isset($U_REGISTER)} |
---|
81 | <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li> |
---|
82 | {/if} |
---|
83 | |
---|
84 | {if isset($U_IDENTIFY)} |
---|
85 | <li><a href="{$U_IDENTIFY}" rel="nofollow">{'Connection'|@translate}</a></li> |
---|
86 | {/if} |
---|
87 | |
---|
88 | {if isset($U_LOGOUT)} |
---|
89 | <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li> |
---|
90 | {/if} |
---|
91 | |
---|
92 | {if isset($U_PROFILE)} |
---|
93 | <li><a href="{$U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li> |
---|
94 | {/if} |
---|
95 | |
---|
96 | {if isset($U_ADMIN)} |
---|
97 | <li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li> |
---|
98 | {/if} |
---|
99 | </ul> |
---|
100 | {if isset($U_IDENTIFY)} |
---|
101 | <form method="post" action="{$U_IDENTIFY}" class="filter" id="quickconnect"> |
---|
102 | <fieldset> |
---|
103 | <legend>{'Quick connect'|@translate}</legend> |
---|
104 | <label> {'Username'|@translate} |
---|
105 | <input type="text" name="username" size="15" value=""> |
---|
106 | </label> |
---|
107 | <label> {'Password'|@translate} |
---|
108 | <input type="password" name="password" size="15"> |
---|
109 | </label> |
---|
110 | {if $AUTHORIZE_REMEMBERING} |
---|
111 | <label> {'remember_me'|@translate} |
---|
112 | <input type="checkbox" name="remember_me" value="1"> |
---|
113 | </label> |
---|
114 | {/if} |
---|
115 | <p> |
---|
116 | <input class="submit" type="submit" name="login" value="{'Submit'|@translate}"> |
---|
117 | </p> |
---|
118 | <ul class="actions"> |
---|
119 | <li><a href="{$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> |
---|
120 | {if isset($U_REGISTER)} |
---|
121 | <li><a href="{$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> |
---|
122 | {/if} |
---|
123 | </ul> |
---|
124 | </fieldset> |
---|
125 | </form> |
---|
126 | {/if} </dd> |
---|
127 | </dl></td> |
---|
128 | <td class="mb_right"> </td> |
---|
129 | </tr> |
---|
130 | <tr id="bottom"> |
---|
131 | <td class="mb_left"> </td> |
---|
132 | <td class="mb_middle"> </td> |
---|
133 | <td class="mb_right"> </td> |
---|
134 | </tr> |
---|
135 | </table> |
---|
136 | </div> |
---|
137 | <!-- menubar --> |
---|