'panels', 'path' => 'layouts', 'title' => t('Two column stacked'), 'icon' => 'layouts/twocol_stacked.png', 'theme' => 'panels_twocol_stacked', 'css' => 'layouts/twocol_stacked.css', 'content areas' => array('top' => t('Top'), 'left' => t('Left side'), 'right' => t('Right side'), 'bottom' => t('Bottom')), ); return $items; } /** * This function uses heredoc notation to make it easier to convert * to a template. */ function theme_panels_twocol_stacked($id, $content) { if ($id) { $idstr = " id='$id'"; } $output = <<
$content[top]
$content[left]
$content[right]
$content[bottom]

EOT; return $output; }