Make sure that the gallery obeys the displayTitle flag. Many gallery

templates were altered to support this.
This commit is contained in:
Colin Kuskie 2009-02-13 23:47:30 +00:00
parent 47889613b9
commit 9fd2d511a0
13 changed files with 12 additions and 1 deletions

View file

@ -2,6 +2,7 @@
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.
- fixed: Do not show the Edit entry in the More menu in the asset manager if the asset is locked.
- fixed #9677: no output from form helper template variable sticky.form and stick.label
- fixed #9738: Gallery Title [TEMPLATE]
7.6.11
- fixed: Asset Manager can generate URLs that are too long

View file

@ -537,7 +537,7 @@ sub getTemplateVars {
# Add some specific vars from the Gallery
my $galleryVar = $gallery->getTemplateVars;
for my $key ( qw{ title menuTitle url } ) {
for my $key ( qw{ title menuTitle url displayTitle } ) {
$var->{ "gallery_" . $key } = $galleryVar->{ $key };
}

View file

@ -124,6 +124,10 @@ our $HELP = {
name => 'gallery_url',
description => 'helpvar gallery_url',
},
{
name => 'gallery_displayTitle',
description => 'helpvar gallery_displayTitle',
},
],
},

View file

@ -490,6 +490,12 @@ our $I18N = {
context => q{Description of template variable},
},
'helpvar gallery_displayTitle' => {
message => q{Whether the Gallery containing this File is set to display its title, or not.},
lastUpdated => 0,
context => q{Description of template variable},
},
'helpvar isPending' => {
message => q{A flag to set if the GalleryAlbum is not yet approved. Users who can edit the GalleryAlbum are allowed to see them before they are approved.},
lastUpdated => 0,