You are here

function theme_gallery_assist_display in Gallery Assist 6

Theme the Gallery Assist Container as grid.

1 theme call to theme_gallery_assist_display()
gallery_assist_display in ./gallery_assist_display.inc
Display the Gallery Assist Container as grid.

File

./gallery_assist_display.inc, line 491
Build and display the Gallery Assist Container. This file will be included if the parameter "show_layout" is setted to "grid"

Code

function theme_gallery_assist_display($pager, $boxes, $conf, $type = 'gallery_assist') {
  $output = '<div id="gallery-container-' . $conf['nid'] . '" class="' . $type . ' gallery-container ' . $conf['op'] . ' clear-block"' . $conf['my_attr'] . '>';
  $output .= $conf['pager_position'] == 'top' || $conf['pager_position'] == 'both' ? $pager : '';
  $output .= $boxes;
  $output .= $conf['pager_position'] == 'bottom' || $conf['pager_position'] == 'both' ? $pager : '';
  $output .= '</div>';
  return $output;
}