first import
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_structure.layouts.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_panels_layout().
|
||||
*/
|
||||
function popsu_structure_default_panels_layout() {
|
||||
$export = array();
|
||||
|
||||
$layout = new stdClass();
|
||||
$layout->disabled = FALSE; /* Edit this to true to make a default layout disabled initially */
|
||||
$layout->api_version = 1;
|
||||
$layout->name = 'popsu_70_30_accordion';
|
||||
$layout->admin_title = 'POPSU 74/26 accordion';
|
||||
$layout->admin_description = 'Layout 74/26 avec accordéon';
|
||||
$layout->category = 'POPSU Layout';
|
||||
$layout->plugin = 'flexible';
|
||||
$layout->settings = array(
|
||||
'items' => array(
|
||||
'canvas' => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'column',
|
||||
'children' => array(
|
||||
0 => 1,
|
||||
1 => 2,
|
||||
),
|
||||
'parent' => NULL,
|
||||
'class' => 'accordion-h2-layout',
|
||||
'column_class' => '',
|
||||
'row_class' => '',
|
||||
'region_class' => '',
|
||||
'no_scale' => FALSE,
|
||||
'fixed_width' => '',
|
||||
'column_separation' => '0',
|
||||
'region_separation' => '0',
|
||||
'row_separation' => '0',
|
||||
),
|
||||
1 => array(
|
||||
'type' => 'column',
|
||||
'width' => '74.05175820679584',
|
||||
'width_type' => '%',
|
||||
'parent' => 'canvas',
|
||||
'children' => array(
|
||||
0 => 3,
|
||||
1 => 4,
|
||||
),
|
||||
'class' => '',
|
||||
),
|
||||
2 => array(
|
||||
'type' => 'column',
|
||||
'width' => '25.94824179320417',
|
||||
'width_type' => '%',
|
||||
'parent' => 'canvas',
|
||||
'children' => array(
|
||||
0 => 5,
|
||||
),
|
||||
'class' => 'accordion-content',
|
||||
),
|
||||
3 => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'region',
|
||||
'children' => array(
|
||||
0 => 'title',
|
||||
),
|
||||
'parent' => '1',
|
||||
'class' => 'accordion-trigger layout-88p',
|
||||
),
|
||||
'title' => array(
|
||||
'type' => 'region',
|
||||
'title' => 'title',
|
||||
'width' => 100,
|
||||
'width_type' => '%',
|
||||
'parent' => '3',
|
||||
'class' => '',
|
||||
),
|
||||
4 => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'region',
|
||||
'children' => array(
|
||||
0 => 'left',
|
||||
),
|
||||
'parent' => '1',
|
||||
'class' => 'accordion-content layout-88p',
|
||||
),
|
||||
'left' => array(
|
||||
'type' => 'region',
|
||||
'title' => 'left',
|
||||
'width' => 100,
|
||||
'width_type' => '%',
|
||||
'parent' => '4',
|
||||
'class' => '',
|
||||
),
|
||||
5 => array(
|
||||
'type' => 'row',
|
||||
'contains' => 'region',
|
||||
'children' => array(
|
||||
0 => 'right',
|
||||
),
|
||||
'parent' => '2',
|
||||
'class' => '',
|
||||
),
|
||||
'right' => array(
|
||||
'type' => 'region',
|
||||
'title' => 'right',
|
||||
'width' => 100,
|
||||
'width_type' => '%',
|
||||
'parent' => '5',
|
||||
'class' => '',
|
||||
),
|
||||
),
|
||||
);
|
||||
$export['popsu_70_30_accordion'] = $layout;
|
||||
|
||||
return $export;
|
||||
}
|
||||
Reference in New Issue
Block a user