Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ApacheGallery] GalleryEXIFMode and templates
Hi
When I set GalleryEXIFMode to 'variables' A::G always use the
nopictureinfo.tpl template file. I'm not sure whether this is
intentionally or a bug. However, I have attached a patch that make A::G
use nopictureinfo.tpl only when neither file info nor a comment is
found.
regards
Thomas
--- Gallery.pm-0.7 Thu Dec 4 17:51:04 2003
+++ Gallery.pm-modified Thu Dec 4 17:51:13 2003
@@ -575,7 +575,7 @@
$tpl->assign(INFO => "");
}
- if (($exif_mode eq 'namevalue' && $foundinfo) or $foundcomment) {
+ if ($foundinfo or $foundcomment) {
$tpl->parse(PICTUREINFO => 'pictureinfo');
$tpl->assign(EXIFVALUES => "");
}