1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* Implementation of hook_panels_layouts
|
6 |
|
|
*/
|
7 |
|
|
function adaptivetheme_one_panels_layouts() {
|
8 |
|
|
$items['one'] = array(
|
9 |
|
|
'title' => t('AT One column'),
|
10 |
|
|
'category' => t('AT Responsive Panels - 1 column'),
|
11 |
|
|
'icon' => 'one.png',
|
12 |
|
|
'theme' => 'one',
|
13 |
|
|
'admin css' => 'one.admin.css',
|
14 |
|
|
'theme arguments' => array('id', 'content'),
|
15 |
|
|
'regions' => array(
|
16 |
|
|
'one_main' => t('Main'),
|
17 |
|
|
),
|
18 |
|
|
// AT Core
|
19 |
|
|
'type' => 'one',
|
20 |
|
|
);
|
21 |
|
|
return $items;
|
22 |
|
|
}
|
23 |
|
|
|
24 |
|
|
/**
|
25 |
|
|
* Preprocess variables for one.tpl.php
|
26 |
|
|
*/
|
27 |
|
|
function template_preprocess_one(&$vars) {
|
28 |
|
|
$vars['panel_prefix'] = '';
|
29 |
|
|
$vars['panel_suffix'] = '';
|
30 |
|
|
} |