summaryrefslogtreecommitdiff
path: root/templates/edit_gallery.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/edit_gallery.tpl')
-rw-r--r--templates/edit_gallery.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl
index 4642352..2968d09 100644
--- a/templates/edit_gallery.tpl
+++ b/templates/edit_gallery.tpl
@@ -17,8 +17,8 @@ function updateGalleryPagination() {
<div class="edit fisheye">
<div class="header">
<h1>
- {if $gContent->mInfo.title}
- {tr}Edit Gallery{/tr}: {$gContent->mInfo.title|escape}
+ {if $gContent->getTitle()}
+ {tr}Edit Gallery{/tr}: {$gContent->getTitle()|escape}
{else}
{tr}Create Image Gallery{/tr}
{/if}
@@ -37,7 +37,7 @@ function updateGalleryPagination() {
<div class="row">
{formlabel label="Title" for="gallery-title" mandatory="y"}
{forminput}
- <input type="text" name="title" id="gallery-title" value="{$gContent->mInfo.title|escape}" maxlength="160" size="50"/>
+ <input type="text" name="title" id="gallery-title" value="{$gContent->getTitle()|escape}" maxlength="160" size="50"/>
{/forminput}
</div>