/** * @todo this alternate gallery view needs to be moved to an html file and added as a template parameter */ function _showBox($kids, $subgalleries) { ?> <div class="rsg_box_block"> <?php $i = 0; foreach ($kids as $kid) { $i++; if ($i > 3) { $i = 1; } ?> <div class="rsg_box_box_<?php echo $i; ?> "> <div class="rsg_galleryblock"> <div> <div class="rsg2-galleryList-status"><?php echo $kid->status; ?> </div> <?php echo $kid->galleryName; ?> <sup><span class='rsg2-galleryList-newImages'><?php echo galleryUtils::newImages($kid->get('id')); ?> </span></sup> <div class='rsg2-galleryList-totalImages'>(<?php echo galleryUtils::getFileCount($kid->get('id')) . JText::_(' Images'); ?> )</div> </div> <div> <div class="rsg2-galleryList-thumb_box"> <?php echo $kid->thumbHTML; ?> </div> <div class="rsg2-galleryList-text_box"> <?php echo $this->_showGalleryDetails($kid); ?> </div> </div> <div class="rsg2-galleryList-description_box"> <?php echo $kid->description; ?> </div> <div class="rsg_sub_url"><?php $this->_subGalleryList($kid); ?> </span> </div> </div> </div> <?php } ?> </div> <?php }