From 125231ffb6d208648ab8cdff0ad0b6ddecee543e Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Fri, 10 Feb 2006 21:11:41 +0000 Subject: Use the content_type Description for drop down list --- edit_pigeonholes.php | 5 +++-- templates/edit_pigeonholes.tpl | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/edit_pigeonholes.php b/edit_pigeonholes.php index 0e5a347..41780d6 100644 --- a/edit_pigeonholes.php +++ b/edit_pigeonholes.php @@ -1,6 +1,6 @@ assign( 'contentList', $cList ); $gBitSmarty->assign( 'contentSelect', $contentSelect ); $gBitSmarty->assign( 'contentTypes', $contentTypes ); +$gBitSmarty->assign( 'contentDescs', $contentDescs ); $listHash['root_structure_id'] = !empty( $gContent->mInfo['root_structure_id'] ) ? $gContent->mInfo['root_structure_id'] : NULL; $listHash['force_extras'] = TRUE; diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl index f788d61..e753ddc 100644 --- a/templates/edit_pigeonholes.tpl +++ b/templates/edit_pigeonholes.tpl @@ -75,7 +75,7 @@
{formlabel label="Content" for="pigeonhole-content"} {forminput} - {html_options values=$contentTypes options=$contentTypes name=content_type_guid selected=$contentSelect} + {html_options values=$contentTypes options=$contentDescs name=content_type_guid selected=$contentSelect} {/forminput} {forminput} -- cgit v1.3