From:
[email protected]
Jayen Ashar wrote:
so does that mean the real fix should be to change albums.php to ((check
the recursive option and have visible items) or have visible photos) and
the same for view_album.php? maybe they could use a common function that does this calculation and also checks if slideshows are enabled?
The upstream fix was to view_album.php. If you have further
suggestions, I'd post them in the Suggestions and Feedback forum at
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewforum&f=2
diff -u -d -r1.252 -r1.253
--- view_album.php 2 Aug 2004 11:05:44 -0000 1.252
+++ view_album.php 17 Aug 2004 01:34:15 -0000 1.253
@@ -461,7 +461,7 @@
}
$userCommands = '';
-if ($gallery->album->fields["slideshow_type"] != "off" && $numPhotos !=0) { +if ($gallery->album->fields["slideshow_type"] != "off" && ($numPhotos != 0 || ($numVisibleItems != 0 && $gallery->album->fields['slideshow_recursive'] == "yes"))) {
$userCommands .= "<a class=\"admin\" href=\"" .
makeGalleryUrl("slideshow.php",
array("set_albumName" => $albumName)) .
--
----------------------------
Michael Schultheiss
E-mail:
[email protected]
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)