summaryrefslogtreecommitdiff
path: root/templates/view_gallery_files_inc.tpl
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2010-02-02 22:02:22 +0000
committerChristian Fowler <spider@viovio.com>2010-02-02 22:02:22 +0000
commit79b825be4ce37a1b5b2fe968da1f625df0729545 (patch)
treee656c416584433b42a73726a128f642defb0c184 /templates/view_gallery_files_inc.tpl
parent6a903ddcf98d4ee47095cd7de6a73c1f6e68291f (diff)
downloadfisheye-79b825be4ce37a1b5b2fe968da1f625df0729545.tar.gz
fisheye-79b825be4ce37a1b5b2fe968da1f625df0729545.tar.bz2
fisheye-79b825be4ce37a1b5b2fe968da1f625df0729545.zip
use ->getTitle() method instead of ->mInfo.title in templates to allow for cleaner polymorphism
Diffstat (limited to 'templates/view_gallery_files_inc.tpl')
-rw-r--r--templates/view_gallery_files_inc.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/view_gallery_files_inc.tpl b/templates/view_gallery_files_inc.tpl
index a217339..b35f56b 100644
--- a/templates/view_gallery_files_inc.tpl
+++ b/templates/view_gallery_files_inc.tpl
@@ -27,13 +27,13 @@
{assign var=item_id value=$gContent->mItems[ix]->mImageId}
<td>
<a href="{$smarty.const.BIT_ROOT_URL}{$gContent->mItems[ix]->mStorage.$item_id.storage_path}">
- <img class="thumb" src="{$gContent->mItems[ix]->getThumbnailUri()}" alt="{$gContent->mItems[ix]->mInfo.title|escape|default:'image'}" />
+ <img class="thumb" src="{$gContent->mItems[ix]->getThumbnailUri()}" alt="{$gContent->mItems[ix]->getTitle()|escape|default:'image'}" />
</a>
</td>
<td>
{if $gBitSystem->isFeatureActive( 'fisheye_gallery_list_image_titles' )}
- <h2>{$gContent->mItems[ix]->mInfo.title|escape}</h2>
+ <h2>{$gContent->mItems[ix]->getTitle()|escape}</h2>
{/if}
<a href="{$smarty.const.BIT_ROOT_URL}{$gContent->mItems[ix]->mStorage.$item_id.storage_path}">
{$gContent->mItems[ix]->mStorage.$item_id.filename}