function theme_brightcove_cck_browse_items in Brightcove Video Connect 6
Same name and namespace in other branches
- 6.2 brightcove_cck/theme.inc \theme_brightcove_cck_browse_items()
Theme callback for Brightcove browse table.
Parameters
$items: Array of video items.
Return value
Themed browse table.
1 theme call to theme_brightcove_cck_browse_items()
- brightcove_cck_browse in brightcove_cck/brightcove_cck.browse.inc 
- This function is a callback for modalframe window, providing an access to browse videos.
File
- brightcove_cck/theme.inc, line 41 
Code
function theme_brightcove_cck_browse_items($items) {
  $rowcount = 0;
  $activerow = 0;
  $rows = array();
  foreach ($items as $item) {
    $themed = theme('brightcove_cck_browse_item', $item);
    $rowcount++;
    if ($rowcount == 4) {
      $activerow++;
      $rowcount = 1;
    }
    $rows[$activerow][] = $themed;
  }
  return theme('table', array(), $rows);
}