Clean up the Ansel_View_Base::json method.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 3 Aug 2009 19:00:42 +0000 (15:00 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 3 Aug 2009 19:00:42 +0000 (15:00 -0400)
commitda8edf29b881d9fb43485e61f4853e4be136b7dd
tree03371a5dd78edd9a167204ee57f9775eb5ca364c
parente9cc53c947b3979d09f1fbf35594859fdde9ad6f
Clean up the Ansel_View_Base::json method.

Let the method take an array of paramters instead of a bunch of
optional params.

Pass the full link to the image view for each image instead of building
it in JS to avoid issues with pretty vs GET based urls
ansel/js/slideshow.js
ansel/lib/View/Base.php
ansel/lib/View/EmbeddedRenderer/Mini.php
ansel/lib/View/GalleryRenderer/GalleryLightbox.php
ansel/templates/view/slideshow.inc