Go to the source code of this file.
Functions | |
| panels_threecol_33_34_33_panels_layouts () | |
| theme_panels_threecol_33_34_33 ($id, $content) | |
| panels_threecol_33_34_33_panels_layouts | ( | ) |
implementation of hook_panels_layouts
Definition at line 6 of file threecol_33_34_33.inc.
00006 { 00007 $items['threecol_33_34_33'] = array( 00008 'title' => t('Three column 33/34/33'), 00009 'icon' => 'layouts/threecol_33_34_33.png', 00010 'theme' => 'panels_threecol_33_34_33', 00011 'css' => 'layouts/threecol_33_34_33.css', 00012 'panels' => array( 00013 'left' => t('Left side'), 00014 'middle' => t('Middle column'), 00015 'right' => t('Right side') 00016 ), 00017 ); 00018 00019 return $items; 00020 }
| theme_panels_threecol_33_34_33 | ( | $ | id, | |
| $ | content | |||
| ) |
This function uses heredoc notation to make it easier to convert to a template.
Definition at line 26 of file threecol_33_34_33.inc.
00026 { 00027 if ($id) { 00028 $idstr = " id='$id'"; 00029 } 00030 00031 $output = <<<EOT 00032 <div class="panel-display panel-3col-33 clear-block" $idstr> 00033 <div class="panel-panel panel-col-first"> 00034 <div class="inside">$content[left]</div> 00035 </div> 00036 00037 <div class="panel-panel panel-col"> 00038 <div class="inside">$content[middle]</div> 00039 </div> 00040 00041 <div class="panel-panel panel-col-last"> 00042 <div class="inside">$content[right]</div> 00043 </div> 00044 </div> 00045 EOT; 00046 return $output; 00047 }
1.5.6