source: extensions/whois_online/default.tpl

Last change on this file was 32427, checked in by ddtddt, 3 years ago

[whois_online] check piwigo 11 / add class by line

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
RevLine 
[6201]1<div class="Online" style="float:right;text-align:center;margin-right:25px; margin-bottom:60px;">
[3319]2{if $Whois.Total > 0 and !$Whois.Slideshow}
[32427]3        <div id="Onlinehit">{'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}</div>
[3319]4
5        {if $Whois.Current_10mins > 0}
[32427]6        <div id="Onlinehit">{if $Whois.Seen_url>''}<a href="{$Whois.Seen_url}" title="{'Your recently viewed pictures'|@translate}" rel="nofollow">{/if}
[3319]7        {'Most recent 10 minutes hits:'|@translate}
8        {if $Whois.Seen_url>''}</a>{/if}
9         {$Whois.Current_10mins}
[32427]10         </div>
[3319]11        {/if}
12
[32427]13        <div id="Onlineotheruser">
[16631]14        {if $Whois.Review_url>''}<a href="{$Whois.Review_url}" title="{'Some of recently viewed pictures by other users'|@translate}" rel="nofollow">{/if}
[3319]15        {'Current hour hits:'|@translate}
16        {if $Whois.Review_url>''}</a>{/if}
17         {$Whois.Current_hour}
[32427]18        </div>
19       
[3319]20        {if $Whois.Yesterday > 0}
[32427]21        <div id="Onlineyesterdayhit">
[3319]22        {'Yesterday hits:'|@translate} {$Whois.Yesterday}
[32427]23        </div>
[3319]24        {/if}
25
26        {if $Whois.Users_Last_day > 0}
[32427]27        <div id="Onlinehit24">
[3319]28        {'Last 24h users:'|@translate} {$Whois.Users_Last_day}
[32427]29        </div>
[3319]30        {/if}
31
32        {if $Whois.Users_Last_hour > 0}
[32427]33        <div id="Onlinehithour">
[3319]34        {'Last hour online users:'|@translate} {$Whois.Users_Last_hour}
[32427]35        </div>
[3319]36        {/if}
37
38        {if $Whois.Guests > 0}
[32427]39        <div id="Onlinehitguest">
[3319]40        {'Recent guest(s):'|@translate} {$Whois.Guests}
[32427]41        </div>
[3319]42        {/if}
43
44        {if count($Whois.Online) > 0}
[32427]45        <div id="Onlinehitonline">
[3319]46        {'Recent member(s):'|@translate} {','|@implode:$Whois.Online|@substr:0:70}{if (strlen(implode(',',$Whois.Online))>70)}...{/if}
[32427]47        </div>
[3319]48        {/if}
49       
50{/if}
51</div>
Note: See TracBrowser for help on using the repository browser.