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

EOT; return $output; }