function layouter_layouter_templates in Layouter - WYSIWYG layout templates 7
Implements hook_layouter_templates().
File
- includes/
layouter.inc, line 144 - Functions for layout processing.
Code
function layouter_layouter_templates() {
$items = array(
'image_only' => array(
'title' => t('One big image only'),
'form' => 'layouter_img_only_form',
'theme' => 'layouter_image_only',
),
'two_columns' => array(
'title' => t('Two columns of continuous text'),
'form' => 'layouter_two_columns_form',
'theme' => 'layouter_two_column',
),
'two_columns_img_left_text_right' => array(
'title' => t('Two columns with an image (with an optional description) on the left side and a text on the right'),
'form' => 'layouter_img_caption_text_form',
'theme' => 'layouter_two_columns_img_left_text_right',
),
'two_columns_img_right_text_left' => array(
'title' => t('Two columns with an image (with an optional description) on the right side and a text on the left'),
'form' => 'layouter_img_caption_text_form',
'theme' => 'layouter_two_columns_img_right_text_left',
),
'two_columns_text_img_left' => array(
'title' => t('Two columns of continuous text with an image on top left'),
'form' => 'layouter_text_img_form',
'theme' => 'layouter_two_columns_text_img_left',
),
'big_img_text_below' => array(
'title' => t('Big image on top with a text below'),
'form' => 'layouter_text_img_form',
'theme' => 'layouter_big_img_text_below',
),
'big_img_text_above' => array(
'title' => t('Big image at bottom with a text above'),
'form' => 'layouter_text_img_form',
'theme' => 'layouter_big_img_text_above',
),
'big_img_two_column_text_below' => array(
'title' => t('Big image on top with a two columns of text below'),
'form' => 'layouter_text_img_form',
'theme' => 'layouter_big_img_two_column_text_below',
),
'big_img_two_column_text_above' => array(
'title' => t('Big image at bottom with a two columns of text above'),
'form' => 'layouter_text_img_form',
'theme' => 'layouter_big_img_two_column_text_above',
),
);
return $items;
}