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

@ -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 };
}