- gallery-contentsprocedure
Get the contents of the currently selected gallery (as determined by gallery-var).
Returns two values: The first value is a list of subgalleries in that gallery, the second value is a list of entries (ie, pictures) in that gallery.