From 386223888da3104ef985b3b85b340c2f34508e1a Mon Sep 17 00:00:00 2001 From: wjames5 Date: Sat, 17 Apr 2010 15:36:07 +0000 Subject: 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 required --- templates/edit_collection.tpl | 2 +- templates/edit_gallery.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/edit_collection.tpl b/templates/edit_collection.tpl index d0cc42a..e85d76a 100644 --- a/templates/edit_collection.tpl +++ b/templates/edit_collection.tpl @@ -2,7 +2,7 @@
-

{tr}Edit {$gStructure->mInfo.content_type.content_description}{/tr}

+

{tr}Edit {$gLibertySystem->getContentTypeName(gStructure->mInfo.content_type_guid)}{/tr}

diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl index 2968d09..94afbc8 100644 --- a/templates/edit_gallery.tpl +++ b/templates/edit_gallery.tpl @@ -131,7 +131,7 @@ function updateGalleryPagination() { {legend legend="Gallery Memberships"} {tr}If you would like this gallery to be a sub-gallery, check the parent gallery below. It is possible to belong to multiple galleries. If no parent is checked, this gallery will appear as a top-level gallery.{/tr}
- {formlabel label="`$gContent->mInfo.content_description` Belongs to These Galleries"} + {formlabel label=$gContent->getContentTypeName()|cat:" Belongs to These Galleries"} {forminput} {foreach from=$galleryList key=galId item=gal} {if $galId != $gContent->mGalleryId} -- cgit v1.3