diff --git a/panels/views-bonus-panels-threecol-term.tpl.php b/panels/views-bonus-panels-threecol-term.tpl.php index 6c27552..298fb3b 100644 --- a/panels/views-bonus-panels-threecol-term.tpl.php +++ b/panels/views-bonus-panels-threecol-term.tpl.php @@ -1,9 +1,9 @@ array ( + 'variables' => array ('view' => NULL, 'options' => NULL, 'rows' => NULL, 'title' => NULL) + ) + ); +} + +/** + * @todo Please document this function. + * @see http://drupal.org/node/1354 + */ +function theme_views_bonus_panels_render($variables) { + $view = $variables['view']; + $options = $variables['options']; + $rows = $variables['rows']; + $title = $variables['title']; + list($panel_name, $content) = views_bonus_panels_shared_preprocess($view->plugin_name, $rows); return panels_print_layout($panel_name, $content); } @@ -28,7 +44,7 @@ function template_preprocess_views_bonus_panels_threecol_term(&$vars) { * Shared preprocess to devide out rendered rows into panel sections. * * @param plugin_name - * + * * @param $rows * An array of rendered views rows. * @return diff --git a/panels/views_bonus_panels.views.inc b/panels/views_bonus_panels.views.inc index ad78f59..e85b1d5 100644 --- a/panels/views_bonus_panels.views.inc +++ b/panels/views_bonus_panels.views.inc @@ -1,12 +1,12 @@