diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 22:46:10 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 22:46:10 +0000 |
| commit | 34b57be8c124252088ed75567d101e8d7391b77f (patch) | |
| tree | 99a45ff204d23985116582de11eb630068dc0311 | |
| parent | 7ae99898bf44cecd28c43c68cd5d40ec19cfb216 (diff) | |
| download | stats-34b57be8c124252088ed75567d101e8d7391b77f.tar.gz stats-34b57be8c124252088ed75567d101e8d7391b77f.tar.bz2 stats-34b57be8c124252088ed75567d101e8d7391b77f.zip | |
SCHEMA CHANGE - liberty_content_types - change content_description to content_name, add column content_name_plural - update all class files and hashes where appropriate
| -rw-r--r-- | admin/schema_inc.php | 6 | ||||
| -rw-r--r-- | templates/stats.tpl | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 542bdfb..434e8f7 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -38,5 +38,7 @@ $gBitInstaller->registerUserPermissions( STATS_PKG_NAME, array( array('p_stats_view', 'Can view site stats', 'basic', STATS_PKG_NAME), ) ); - -?> +// Requirements +$gBitInstaller->registerRequirements( STATS_PKG_NAME, array( + 'liberty' => array( 'min' => '2.1.4' ), +)); diff --git a/templates/stats.tpl b/templates/stats.tpl index 5b0fae6..04d8b04 100644 --- a/templates/stats.tpl +++ b/templates/stats.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_stats/templates/stats.tpl,v 1.9 2010/04/17 03:45:08 wjames5 Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_stats/templates/stats.tpl,v 1.10 2010/04/17 22:46:10 wjames5 Exp $ *} <div class="display statistics"> <div class="header"> <h1>{tr}Stats{/tr}</h1> @@ -68,7 +68,7 @@ {smartlink ititle=All chart_type=points item_chart=1 ianchor="item_chart"} <br /> {foreach from=$gLibertySystem->mContentTypes item=contentType} - {smartlink ititle=$contentType.content_description content_type_guid=$contentType.content_type_guid chart_type=points item_chart=1 ianchor="item_chart"} + {smartlink ititle=$contentType.content_name content_type_guid=$contentType.content_type_guid chart_type=points item_chart=1 ianchor="item_chart"} <br /> {/foreach} {formhelp note="Please note that these graphs use a logarythmic y-axis."} |
