source: extensions/memories/menubar_pfoya_modus.tpl @ 32376

Last change on this file since 32376 was 32197, checked in by ddtddt, 5 years ago

[photos_from_one_year_ago] to memories

File size: 959 bytes
Line 
1{html_style}
2#mbpfoya dd ul li span:nth-child(2n) {
3    background-color: #777;
4    border-radius: 0px;
5    color: #ddd;
6}
7#mbpfoya dd ul li span:nth-child(2n) {
8    margin-left: 5px;
9    padding: 2px 5px;
10    font-size: 12px;
11    font-weight: normal;
12}
13{/html_style}
14
15<dt><a href="{$PFOAYALINKM}">{'Memories'|@translate}</a></dt>
16<dd>
17  <ul>
18  {foreach from=$pfoyasblock item=pfoya}
19        {if ($pfoya.NB_IMAGES==0)}
20          <li><span>{$pfoya.LABEL}</span>  </li>
21        {else}
22          <li>
23                <a {if isset($pfoya.NB_IMAGES)} title="{$pfoya.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if} href="{$pfoya.URL}">{$pfoya.LABEL}</a>
24                <span class="menuInfoCat badge" {if isset($pfoya.NB_IMAGES)} title="{$pfoya.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if}>{if isset($pfoya.NB_IMAGES)}{$pfoya.NB_IMAGES}{/if}</span>
25          </li>
26        {/if}
27  {/foreach}
28  </lu>
29  <p class="totalImages">{$BNIPFOYA|@translate_dec:'%d photo':'%d photos'}</p>
30</dd>
31
Note: See TracBrowser for help on using the repository browser.