summaryrefslogtreecommitdiff
path: root/templates/image_order.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/image_order.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/image_order.tpl')
-rw-r--r--templates/image_order.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/image_order.tpl b/templates/image_order.tpl
index db27568..1ef9af3 100644
--- a/templates/image_order.tpl
+++ b/templates/image_order.tpl
@@ -1,7 +1,7 @@
{strip}
<div class="admin fisheye">
<div class="header">
- <h1>{tr}Gallery Images{/tr}: <a href="{$smarty.const.FISHEYE_PKG_URL}view.php?gallery_id={$gContent->mGalleryId}">{$gContent->mInfo.title|escape}</a></h1>
+ <h1>{tr}Gallery Images{/tr}: <a href="{$smarty.const.FISHEYE_PKG_URL}view.php?gallery_id={$gContent->mGalleryId}">{$gContent->getTitle()|escape}</a></h1>
</div>
<div class="body">
@@ -36,7 +36,7 @@
<tr class="{$pageClass}">
{counter name=imageCount print=false}
<td class="{$galItem->mType.content_type_guid}">
- <a href="{$galItem->getDisplayUrl()|escape}"><img class="thumb" src="{$gContent->mItems.$itemContentId->getThumbnailUri()|replace:"&":"&amp;"}{if $batchEdit.$itemContentId ne ''}?{math equation="1 + rand(1,9999)"}{/if}" alt="{$galItem->mInfo.title|escape}" /></a>
+ <a href="{$galItem->getDisplayUrl()|escape}"><img class="thumb" src="{$gContent->mItems.$itemContentId->getThumbnailUri()|replace:"&":"&amp;"}{if $batchEdit.$itemContentId ne ''}?{math equation="1 + rand(1,9999)"}{/if}" alt="{$galItem->getTitle()|escape}" /></a>
</td>
<td>