approach was old and crusty.
Panels 6.x-dev
==============
#655268: Fix a problem retrieving cached content created by #634746.
+Removed the old and crufty panels_print_layout().
Panels 6.x-3.3 (2010-Feb-01)
==============
Add 'defaults' property to content types.
Panels views cleanup, including making exposed form blocks available.
#391788 by guix: Simple cache should not unserialize data that is now already unserialized.
-#367635 by lee20: View title built too early and so lost arguments.
\ No newline at end of file
+#367635 by lee20: View title built too early and so lost arguments.
}
/**
- * For external use: Given a layout ID and a $content array, return the
- * panel display. The content array is filled in based upon the content
- * available in the layout. If it's a two column with a content
- * array defined like array('left' => t('Left side'), 'right' =>
- * t('Right side')), then the $content array should be array('left' =>
- * $output_left, 'right' => $output_right)
- * @render
- */
-function _panels_print_layout($id, $content) {
- $layout = panels_get_layout($id);
- if (!$layout) {
- return;
- }
-
- return panels_render_layout($layout, $content);
-}
-
-/**
* Given a full layout structure and a content array, render a panel display.
* @render
*/
return theme('form', $form);
}
-/**
- * For external use: Given a layout ID and a $content array, return the
- * panel display. The content array is filled in based upon the content
- * available in the layout. If it's a two column with a content
- * array defined like array('left' => t('Left side'), 'right' =>
- * t('Right side')), then the $content array should be array('left' =>
- * $output_left, 'right' => $output_right)
- * @render
- */
-function panels_print_layout($id, $content) {
- panels_load_include('plugins');
- return _panels_print_layout($id, $content);
-}
-
// @layout
function panels_print_layout_icon($id, $layout, $title = NULL) {
drupal_add_css(panels_get_path('css/panels_admin.css'));