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 | a04bc40b99d9dd1d25acb282b1f536f1bbb4d29b (patch) | |
| tree | 3677eef1eb0e18f46539434d1351d22ea9d9b11b /modules | |
| parent | 9be7990bc49a43770a5096f2ff1c0827d84ecf70 (diff) | |
| download | users-a04bc40b99d9dd1d25acb282b1f536f1bbb4d29b.tar.gz users-a04bc40b99d9dd1d25acb282b1f536f1bbb4d29b.tar.bz2 users-a04bc40b99d9dd1d25acb282b1f536f1bbb4d29b.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')
| -rw-r--r-- | modules/mod_user_pages.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_user_pages.php b/modules/mod_user_pages.php index 37daef7..642202b 100644 --- a/modules/mod_user_pages.php +++ b/modules/mod_user_pages.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_users/modules/mod_user_pages.php,v 1.5 2008/07/29 18:10:24 lsces Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/modules/mod_user_pages.php,v 1.6 2010/04/17 04:56:46 wjames5 Exp $ /** * Params: * - content_type_guid : if set, show only those content_type_guid's @@ -19,7 +19,7 @@ if( !empty( $gQueryUser->mUserId ) ) { if( empty( $module_title ) ) { if( !empty( $module_params['content_type_guid'] ) && !empty( $gLibertySystem->mContentTypes[$module_params['content_type_guid']] ) ) { - $title = tra( "Last Changes" ).': '.tra( $gLibertySystem->mContentTypes[$module_params['content_type_guid']]['content_description'] ); + $title = tra( "Last Changes" ).': '.$gLibertySystem->getContentTypeName( $module_params['content_type_guid'] ); $gBitSmarty->assign( 'contentType', $module_params['content_type_guid'] ); } else { $gBitSmarty->assign( 'userContentType', FALSE ); |
