stats.tpl 1.29 KB
Newer Older
1
{if $sitedata.weekly}
Evonne Cheung's avatar
Evonne Cheung committed
2
    <div id="site-stats-graph">
3
4
      <img src="{$sitedata.weekly}" alt="" />
    </div>
5
{/if}
Evonne Cheung's avatar
Evonne Cheung committed
6
7
  <div class="site-stats-table">
    <div><strong>{str tag=siteinstalled section=admin}:</strong> {$sitedata.installdate}</div>
8
    {if $sitedata.users}
9
    <div><strong>{str tag=users}:</strong> {$sitedata.users}<br />
Evonne Cheung's avatar
Evonne Cheung committed
10
    {str tag=activeusers section=admin}: {$sitedata.usersloggedin}</div>
11
12
    {/if}
    {if $sitedata.groups}
13
    <div><strong>{str tag=groups}:</strong> {$sitedata.groups}</br />
Evonne Cheung's avatar
Evonne Cheung committed
14
    {$sitedata.strgroupmemberaverage}</div>
15
16
    {/if}
    {if $sitedata.views}
Sean Brennan's avatar
Sean Brennan committed
17
    <div><strong>{str tag=Views section=view}:</strong> {$sitedata.views}<br />
Evonne Cheung's avatar
Evonne Cheung committed
18
    {$sitedata.strviewsperuser}</div>
19
    {/if}
Evonne Cheung's avatar
Evonne Cheung committed
20
    <div><strong>{str tag=databasesize section=admin}:</strong> {$sitedata.dbsize|display_size}</div>
21
    {if $sitedata.diskusage}
Evonne Cheung's avatar
Evonne Cheung committed
22
    <div><strong>{str tag=diskusage section=admin}:</strong> {$sitedata.diskusage|display_size}</div>
23
    {/if}
Evonne Cheung's avatar
Evonne Cheung committed
24
25
    <div><strong>{str tag=maharaversion section=admin}:</strong> {$sitedata.release}{if $sitedata.strlatestversion} ({$sitedata.strlatestversion|clean_html|safe}){/if}</div>
    <div><strong>{str tag=Cron section=admin}:</strong> {if $sitedata.cronrunning}{str tag=runningnormally section=admin}{else}{str tag=cronnotrunning section=admin}{/if}</div>
26
  </div>