Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $/layouts/panels/ju_23# ls
- ju_23.inc ju_23.png ju_23.tpl.php
- $/layouts/panels/ju_23# cat ju_23.inc
- <?php
- /**
- * @file ju_23.inc
- * @date 02/03/14
- * @brief The panels layout plugin for the ju_23 panels layout.
- *
- *
- */
- // Plugin definition
- $plugin = array(
- 'title' => t('Ju 23'),
- 'icon' => 'ju_23.png',
- 'category' => t('Columns: 3'),
- 'theme' => 'ju_23',
- 'css' => '../../../css/mytheme.styles.css',
- 'regions' => array(
- 'row1left' => t('Row 1: Left'),
- 'row1right' => t('Row 1: Right'),
- 'row2left' => t('Row 2: Left'),
- 'row2centre' => t('Row 2: Centre'),
- 'row2right' => t('Row 2: Right'),
- ),
- );
- $/layouts/panels/ju_23# cat ju_23.tpl.php
- <div class="panel-display">
- <div class="ju-23-wrapper panel-display">
- <div class="ju-23-row-1-wrapper panel-panel">
- <div class="ju-23-row-1 panel-panel">
- <div class="ju-23-row-1-left panel-panel">
- <?php print $content['row1left']; ?>
- </div> <!--end ju-23-row-1-left -->
- <div class="ju-23-row-1-right">
- <?php print $content['row1right']; ?>
- </div> <!--end ju-23-row-1-right-->
- </div> <!--end ju-23-row-1-->
- </div> <!--end ju-23-row-1-wrapper -->
- <div class="ju-23-row-2-wrapper">
- <div class="ju-23-row-2">
- <div class="ju-23-row-2-left">
- <?php print $content['row2left']; ?>
- </div> <!--end ju-23-row-2-left -->
- <div class="ju-23-row-2-centre">
- <?php print $content['row2centre']; ?>
- </div> <!--end ju-23-row-2-centre -->
- <div class="ju-23-row-2-right">
- <?php print $content['row2right']; ?>
- </div> <!--end ju-23-row-2-right-->
- </div> <!--end ju-23-row-2-->
- </div> <!--end ju-23-row-2-wrapper -->
- </div> <!--end ju-23-wrapper-->
- </div> <!--end panel-display-->
- $/layouts/panels/ju_23#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement