source: extensions/whois_online/default.tpl @ 11132

Last change on this file since 11132 was 6201, checked in by vdigital, 14 years ago

New: Piwigo 2.1 support
Fix: Non active menu => Icon is active
Fix: Active the right menu (Tools or Plugins) depending on the default access.
Change: CSS review.
Bug bypass on language.
Part of a code review.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1<div class="Online" style="float:right;text-align:center;margin-right:25px; margin-bottom:60px;">
2{if $Whois.Total > 0 and !$Whois.Slideshow}
3        {'Total hits:'|@translate} {if (is_admin())}<a href="./admin.php?page=plugin&amp;section=whois_online%2Fconfig.php&amp;tab=report" class="other">{$Whois.Total}</a>{else}{$Whois.Total}{/if}
4
5        {if $Whois.Current_10mins > 0}
6        <br />{if $Whois.Seen_url>''}<a href="{$Whois.Seen_url}" title="{'Your recently viewed pictures'|@translate}">{/if}
7        {'Most recent 10 minutes hits:'|@translate}
8        {if $Whois.Seen_url>''}</a>{/if}
9         {$Whois.Current_10mins}
10        {/if}
11
12        <br />
13        {if $Whois.Review_url>''}<a href="{$Whois.Review_url}" title="{'Some of recently viewed pictures by other users'|@translate}">{/if}
14        {'Current hour hits:'|@translate}
15        {if $Whois.Review_url>''}</a>{/if}
16         {$Whois.Current_hour}
17
18        {if $Whois.Yesterday > 0}
19        <br />
20        {'Yesterday hits:'|@translate} {$Whois.Yesterday}
21        {/if}
22
23        {if $Whois.Users_Last_day > 0}
24        <br />
25        {'Last 24h users:'|@translate} {$Whois.Users_Last_day}
26        {/if}
27
28        {if $Whois.Users_Last_hour > 0}
29        <br />
30        {'Last hour online users:'|@translate} {$Whois.Users_Last_hour}
31        {/if}
32
33        {if $Whois.Guests > 0}
34        <br />
35        {'Recent guest(s):'|@translate} {$Whois.Guests}
36        {/if}
37
38        {if count($Whois.Online) > 0}
39        <br />
40        {'Recent member(s):'|@translate} {','|@implode:$Whois.Online|@substr:0:70}{if (strlen(implode(',',$Whois.Online))>70)}...{/if}
41        {/if}
42       
43{/if}
44</div>
Note: See TracBrowser for help on using the repository browser.