summaryrefslogtreecommitdiff
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
commit386223888da3104ef985b3b85b340c2f34508e1a (patch)
tree37c46c29ef77fac4fb3ca8da9cadaeb9f2cc85ed
parent6d44c2c104f53c2adebde75463ca60cfd1233b1c (diff)
downloadfisheye-386223888da3104ef985b3b85b340c2f34508e1a.tar.gz
fisheye-386223888da3104ef985b3b85b340c2f34508e1a.tar.bz2
fisheye-386223888da3104ef985b3b85b340c2f34508e1a.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 required
-rw-r--r--templates/edit_collection.tpl2
-rw-r--r--templates/edit_gallery.tpl2
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 @@
<div class="admin structure">
<div class="header">
- <h1>{tr}Edit {$gStructure->mInfo.content_type.content_description}{/tr}</h1>
+ <h1>{tr}Edit {$gLibertySystem->getContentTypeName(gStructure->mInfo.content_type_guid)}{/tr}</h1>
</div>
<div class="body">
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}
<div class="row">
- {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}