diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 03:45:08 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 03:45:08 +0000 |
| commit | e6ccc6d9ccb583c7232b44329b4c827655053f6d (patch) | |
| tree | 083d521750bd1b436e9659d1254a357b971102ca | |
| parent | a6e1e230dde0733af62ba07e8606dade9727fcce (diff) | |
| download | stats-e6ccc6d9ccb583c7232b44329b4c827655053f6d.tar.gz stats-e6ccc6d9ccb583c7232b44329b4c827655053f6d.tar.bz2 stats-e6ccc6d9ccb583c7232b44329b4c827655053f6d.zip | |
step one of contenttype name plural - new methods to fetch name in libertycontent and libertysystem, deprecate old and redundant methods - sill utilize content_description param in new methods until schema change
| -rw-r--r-- | templates/stats.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/stats.tpl b/templates/stats.tpl index 6b835d9..5b0fae6 100644 --- a/templates/stats.tpl +++ b/templates/stats.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_stats/templates/stats.tpl,v 1.8 2007/06/22 12:35:26 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_stats/templates/stats.tpl,v 1.9 2010/04/17 03:45:08 wjames5 Exp $ *} <div class="display statistics"> <div class="header"> <h1>{tr}Stats{/tr}</h1> @@ -27,7 +27,7 @@ {foreach from=$contentOverview item=site key=guid} <tr class="{cycle values="odd,even"}"> - <td>{if $contentStats.$guid}<a href="#{$guid}">{/if}{$gLibertySystem->getContentTypeDescription($guid)}{if $contentStats.$guid}</a>{/if}</td> + <td>{if $contentStats.$guid}<a href="#{$guid}">{/if}{$gLibertySystem->getContentTypeName($guid)}{if $contentStats.$guid}</a>{/if}</td> <td style="text-align:right;">{$site.content_count}</td> <td style="text-align:right;">{$site.total_hits|default:0}</td> </tr> @@ -40,7 +40,7 @@ <caption>{tr}Package Statistics{/tr}</caption> {foreach from=$contentStats item=stats key=guid} <tr> - <th colspan="2">{$gLibertySystem->getContentTypeDescription($guid)}</th> + <th colspan="2">{$gLibertySystem->getContentTypeName($guid)}</th> </tr> <a name="{$guid}"></a> {foreach from=$stats item=item} |
