Changeset 32427 for extensions


Ignore:
Timestamp:
Jan 24, 2021, 9:06:30 AM (3 years ago)
Author:
ddtddt
Message:

[whois_online] check piwigo 11 / add class by line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/default.tpl

    r16631 r32427  
    11<div class="Online" style="float:right;text-align:center;margin-right:25px; margin-bottom:60px;">
    22{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}
     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>
    44
    55        {if $Whois.Current_10mins > 0}
    6         <br />{if $Whois.Seen_url>''}<a href="{$Whois.Seen_url}" title="{'Your recently viewed pictures'|@translate}" rel="nofollow">{/if}
     6        <div id="Onlinehit">{if $Whois.Seen_url>''}<a href="{$Whois.Seen_url}" title="{'Your recently viewed pictures'|@translate}" rel="nofollow">{/if}
    77        {'Most recent 10 minutes hits:'|@translate}
    88        {if $Whois.Seen_url>''}</a>{/if}
    99         {$Whois.Current_10mins}
     10         </div>
    1011        {/if}
    1112
    12         <br />
     13        <div id="Onlineotheruser">
    1314        {if $Whois.Review_url>''}<a href="{$Whois.Review_url}" title="{'Some of recently viewed pictures by other users'|@translate}" rel="nofollow">{/if}
    1415        {'Current hour hits:'|@translate}
    1516        {if $Whois.Review_url>''}</a>{/if}
    1617         {$Whois.Current_hour}
    17 
     18        </div>
     19       
    1820        {if $Whois.Yesterday > 0}
    19         <br />
     21        <div id="Onlineyesterdayhit">
    2022        {'Yesterday hits:'|@translate} {$Whois.Yesterday}
     23        </div>
    2124        {/if}
    2225
    2326        {if $Whois.Users_Last_day > 0}
    24         <br />
     27        <div id="Onlinehit24">
    2528        {'Last 24h users:'|@translate} {$Whois.Users_Last_day}
     29        </div>
    2630        {/if}
    2731
    2832        {if $Whois.Users_Last_hour > 0}
    29         <br />
     33        <div id="Onlinehithour">
    3034        {'Last hour online users:'|@translate} {$Whois.Users_Last_hour}
     35        </div>
    3136        {/if}
    3237
    3338        {if $Whois.Guests > 0}
    34         <br />
     39        <div id="Onlinehitguest">
    3540        {'Recent guest(s):'|@translate} {$Whois.Guests}
     41        </div>
    3642        {/if}
    3743
    3844        {if count($Whois.Online) > 0}
    39         <br />
     45        <div id="Onlinehitonline">
    4046        {'Recent member(s):'|@translate} {','|@implode:$Whois.Online|@substr:0:70}{if (strlen(implode(',',$Whois.Online))>70)}...{/if}
     47        </div>
    4148        {/if}
    4249       
Note: See TracChangeset for help on using the changeset viewer.