<?php

return array(
    'type' => 'home_configuration',
    'model' => 'HomeTemplateConfiguration',
    'label' => 'Home Page Template Configuration',
    'label_singular' => 'Home Page template configuration',
    'parent' => array(
        'field' => 'entry_id',
        'contentType' => 'page',
    ),
    'group' => 'none',
    'template' => false,
    'order' => false,
    'fields' => array(
        array(
            'name' => 'section_1_title',
            'label' => 'Título Primeira Secção',
            'type' => 'textBox',
            'maxLength' => 150,
            'multiLanguage' => true,
            'preValidation' => 'xss_clean|trim',
            'validation' => 'required|max:150',
        ),
        array(
            'name' => 'section_2_title',
            'label' => 'Título Home Banner',
            'type' => 'textBox',
            'maxLength' => 500,
            'multiLanguage' => true,
            'preValidation' => 'trim',
            'validation' => 'required|max:500',
        ),
        array(
            'name' => 'section_2_subtitle',
            'label' => 'Subtítulo Home Banner',
            'type' => 'textBox',
            'maxLength' => 500,
            'multiLanguage' => true,
            'preValidation' => 'trim',
            'validation' => 'required|max:500',
        ),
        array(
            'name' => 'section_3_title',
            'label' => 'Título Perguntas',
            'type' => 'textBox',
            'maxLength' => 150,
            'multiLanguage' => true,
            'preValidation' => 'trim',
            'validation' => 'required|max:500',
        ),
        array(
            'name' => 'section_3_description',
            'label' => 'Subtítulo Perguntas',
            'type' => 'textBox',
            'maxLength' => 500,
            'multiLanguage' => true,
            'preValidation' => 'trim',
            'validation' => 'required|max:500',
        ),
        array(
            'name' => 'section_8_title',
            'label' => 'Título Oitava Secção',
            'type' => 'textBox',
            'maxLength' => 500,
            'multiLanguage' => true,
            'preValidation' => 'trim',
            'validation' => 'required|max:500',
        ),
        array(
            'name' => 'section_8_subtitle',
            'label' => 'Subtítulo Oitava Secção',
            'type' => 'textBox',
            'maxLength' => 500,
            'multiLanguage' => true,
            'preValidation' => 'trim',
            'validation' => 'required|max:500',
        ),
        array(
            "name"          => "titulo_grafico_evolucao_rendimentos",
            "label"         => "Título do gráfico da evolução de rendimentos",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => true,
            "preValidation" => "trim",
            "validation"    => "max:150",
            "info"          => "Nota: Para inserir uma quebra de linha utilize um \"&lt;br&gt;\". As palavras que não são a negrito coloque entre as tags &lt;span&gt;&lt;/span&gt;",
        ),
        array(
            "name"          => "subtitulo_um_grafico_evolucao_redimentos",
            "label"         => "Subtítulo 1 do gráfico da evolução de rendimentos",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => true,
            "preValidation" => "trim",
            "validation"    => "max:150",
            "info"          => "Nota: Para inserir uma quebra de linha utilize um \"&lt;br&gt;\".",
        ),
        array(
            "name"          => "subtitulo_dois_grafico_evolucao_redimentos",
            "label"         => "Subtítulo 2 do gráfico da evolução de rendimentos",
            "type"          => "textBox",
            "maxLength"     => 150,
            "multiLanguage" => true,
            "preValidation" => "trim",
            "validation"    => "max:150",
            "info"          => "Nota: Para inserir uma quebra de linha utilize um \"&lt;br&gt;\".",
        ),
    ),
    'actions' => array(
        'insert', 'edit', 'delete',
    ),
);
