summaryrefslogtreecommitdiff
path: root/assign_content.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 15:36:07 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 15:36:07 +0000
commit74e6d7495046fcdc85b757a6e8f4b63ec0756738 (patch)
treeafc6241b272116a6a3443e819aedf93017056250 /assign_content.php
parent90a27eeb2a952708b3948aac544d95e79cf490dd (diff)
downloadpigeonholes-74e6d7495046fcdc85b757a6e8f4b63ec0756738.tar.gz
pigeonholes-74e6d7495046fcdc85b757a6e8f4b63ec0756738.tar.bz2
pigeonholes-74e6d7495046fcdc85b757a6e8f4b63ec0756738.zip
step three of contenttype name plural - replace all instances where name is accessed though type hash with get name method call, still no schema change requiredpre_ctype_desc_name_schmeachange
Diffstat (limited to 'assign_content.php')
-rw-r--r--assign_content.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/assign_content.php b/assign_content.php
index 21330b7..44b8ee3 100644
--- a/assign_content.php
+++ b/assign_content.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.18 2010/02/08 21:27:24 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.19 2010/04/17 15:36:07 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: assign_content.php,v 1.18 2010/02/08 21:27:24 wjames5 Exp $
+ * $Id: assign_content.php,v 1.19 2010/04/17 15:36:07 wjames5 Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -29,7 +29,7 @@ $gBitSmarty->assign_by_ref( 'feedback', $feedback );
$contentTypes = array( '' => tra( 'All Content' ) );
foreach( $gLibertySystem->mContentTypes as $cType ) {
if( $cType['content_type_guid'] != PIGEONHOLES_CONTENT_TYPE_GUID ) {
- $contentTypes[$cType['content_type_guid']] = $cType['content_description'];
+ $contentTypes[$cType['content_type_guid']] = $gLibertySystem->getContentTypeName( $cType['content_type_guid'] );
}
}
$gBitSmarty->assign( 'contentTypes', $contentTypes );