summaryrefslogtreecommitdiff
path: root/modules/mod_top_authors.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 04:56:46 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 04:56:46 +0000
commita7ac5b2649d93b059a7934cb46f281001788f731 (patch)
tree74e9b5580ec356f2ea2cd3fd0ac6632635530a89 /modules/mod_top_authors.php
parente98268f8ef07350b6f5652a4fc41bd25707ea420 (diff)
downloadliberty-a7ac5b2649d93b059a7934cb46f281001788f731.tar.gz
liberty-a7ac5b2649d93b059a7934cb46f281001788f731.tar.bz2
liberty-a7ac5b2649d93b059a7934cb46f281001788f731.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 required
Diffstat (limited to 'modules/mod_top_authors.php')
-rw-r--r--modules/mod_top_authors.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_top_authors.php b/modules/mod_top_authors.php
index 89292f1..77d399e 100644
--- a/modules/mod_top_authors.php
+++ b/modules/mod_top_authors.php
@@ -1,5 +1,5 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_top_authors.php,v 1.7 2008/09/02 05:26:59 laetzer Exp $
+// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_top_authors.php,v 1.8 2010/04/17 04:56:46 wjames5 Exp $
/**
* Params:
* - content_type_guid : if set, show only those content_type_guid's
@@ -13,7 +13,7 @@ extract( $moduleParams );
/* this doesn't work as expected. without it, the user can fill in the title himself
if( empty( $module_title ) ) {
if( !empty( $module_params['content_type_guid'] ) && !empty( $gLibertySystem->mContentTypes[$module_params['content_type_guid']] ) ) {
- $title = tra( "Top Authors" ).': '.tra( $gLibertySystem->mContentTypes[$module_params['content_type_guid']]['content_description'] );
+ $title = tra( "Top Authors" ).': '.$gLibertySystem->getContentTypeName( $module_params['content_type_guid'] );
} else {
$gBitSmarty->assign( 'showContentType', TRUE );
$title = tra( "Top Authors" );