You are here

function theme_gallery_assist_block_display in Gallery Assist 6

Theme the block output for the "Gallery Block". the Gallery Block shows a in the proportion minimized Gallery Assist Container. By more as one node setup the block shows galleries randomly.

Parameters

$boxes: A string containing the html rendered gallery boxes.

$conf: An associative array containing the gallery settings data.

$type: A string containing the node type.

$more: Currently not used variable. Reserved for future options or conditions.

2 theme calls to theme_gallery_assist_block_display()
gallery_assist_display in ./gallery_assist_display.inc
Display the Gallery Assist Container as grid.
gallery_assist_display_list in ./gallery_assist_list_display.inc
Display the Gallery Assist Container as list.

File

./gallery_assist.module, line 4953
Drupal content type with gallery functionality.

Code

function theme_gallery_assist_block_display($boxes, $conf, $type = 'gallery_assist', $more = '') {
  $output = '<div id="blok-gallery-container" class="' . $type . ' gallery-container ' . $conf['op'] . ' clear-block"' . $conf['my_attr'] . '>';
  $output .= $boxes;
  $output .= '</div>';
  return $output;
}