diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-03 12:50:54 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-03 12:50:54 +0000 |
commit | 7688a7cbb6c4906f70d87b56cd6e90d028e99666 (patch) | |
tree | e197ac0fef76f918e100ae1e45c582309d3e99d8 /template/yoga/admin/stats.tpl | |
parent | 14bfa8a3e6e5fa81fa3eba565a1b696840f351cd (diff) |
- history, stats and redirect go smarty
- lang correction
- small change in calling check_server_plugins (use by ref param instead of global)
git-svn-id: http://piwigo.org/svn/trunk@2245 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin/stats.tpl')
-rw-r--r-- | template/yoga/admin/stats.tpl | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/template/yoga/admin/stats.tpl b/template/yoga/admin/stats.tpl index 08ac8b7f8..95331b7ef 100644 --- a/template/yoga/admin/stats.tpl +++ b/template/yoga/admin/stats.tpl @@ -1,34 +1,38 @@ -<!-- DEV TAG: not smarty migrated --> -<!-- $Id$ --> +{* $Id$ *} + <div class="titrePage"> <ul class="categoryActions"> <li> <a - href="{U_HELP}" + href="{$U_HELP}" onclick="popuphelp(this.href); return false;" - title="{lang:Help}" + title="{'Help'|@translate}" > - <img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"> + <img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"> </a> </li> </ul> - <h2>{lang:History} {TABSHEET_TITLE}</h2> - {TABSHEET} + <h2>{'History'|@translate} {$TABSHEET_TITLE}</h2> + {$TABSHEET} </div> -<h3>{L_STAT_TITLE}</h3> +<h3>{$L_STAT_TITLE}</h3> <table class="table2" id="dailyStats"> - <tr class="throw"> - <th>{PERIOD_LABEL}</th> - <th>{lang:Pages seen}</th> - <th></th> - </tr> -<!-- BEGIN statrow --> - <tr> - <td style="white-space: nowrap">{statrow.VALUE}</td> - <td class="number">{statrow.PAGES}</td> - <td><div class="statBar" style="width:{statrow.WIDTH}px"></div></td> - </tr> -<!-- END statrow --> + <tr class="throw"> + <th>{$PERIOD_LABEL}</th> + <th>{'Pages seen'|@translate}</th> + <th></th> + </tr> + +{if not empty($statrows)} +{foreach from=$statrows item=row} + <tr> + <td style="white-space: nowrap">{$row.VALUE}</td> + <td class="number">{$row.PAGES}</td> + <td><div class="statBar" style="width:{$row.WIDTH}px"></div></td> + </tr> +{/foreach} +{/if} + </table> |