diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 04:56:46 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 04:56:46 +0000 |
| commit | 7ae99898bf44cecd28c43c68cd5d40ec19cfb216 (patch) | |
| tree | 4822ead34001340b81f22ac28b16522af399b166 /item_chart.php | |
| parent | e6ccc6d9ccb583c7232b44329b4c827655053f6d (diff) | |
| download | stats-7ae99898bf44cecd28c43c68cd5d40ec19cfb216.tar.gz stats-7ae99898bf44cecd28c43c68cd5d40ec19cfb216.tar.bz2 stats-7ae99898bf44cecd28c43c68cd5d40ec19cfb216.zip | |
step three of contenttype name plural - replace all instances where name is accessed though systme hash with get name method call, still no schema change requiredpre_ctype_desc_name_schmeachange
Diffstat (limited to 'item_chart.php')
| -rw-r--r-- | item_chart.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/item_chart.php b/item_chart.php index ee772ab..f3a4182 100644 --- a/item_chart.php +++ b/item_chart.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_stats/item_chart.php,v 1.10 2010/02/08 21:27:25 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_stats/item_chart.php,v 1.11 2010/04/17 04:56:46 wjames5 Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See below for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details * - * $Id: item_chart.php,v 1.10 2010/02/08 21:27:25 wjames5 Exp $ + * $Id: item_chart.php,v 1.11 2010/04/17 04:56:46 wjames5 Exp $ * @package stats * @subpackage functions */ @@ -45,9 +45,9 @@ foreach( $data['data'] as $guid => $info ) { $graph->SetXLabelAngle( ( count( $info ) > 5 ) ? 90 : 0 ); $graph->SetNewPlotAreaPixels( 75, 30 + ( $i * 390 ), 580, 370 + ( $i * 390 ) ); if( !empty( $_REQUEST['content_type_guid'] ) ) { - $graph->SetYLabel( $gLibertySystem->mContentTypes[$_REQUEST['content_type_guid']]['content_description'].' '.tra( 'Hits' ).' ('.tra( "log" ).')' ); + $graph->SetYLabel( $gLibertySystem->getContentTypeName( $_REQUEST['content_type_guid'] ).' '.tra( 'Hits' ).' ('.tra( "log" ).')' ); } else { - $graph->SetYLabel( $gLibertySystem->mContentTypes[$guid]['content_description'].' '.tra( 'Hits' ).' ('.tra( "log" ).')' ); + $graph->SetYLabel( $gLibertySystem->getContentTypeName( $guid ).' '.tra( 'Hits' ).' ('.tra( "log" ).')' ); } $graph->DrawGraph(); $i++; |
