ok
Direktori : /home2/selectio/public_html/bharath/application/config/ |
Current File : /home2/selectio/public_html/bharath/application/config/form-builder.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); // array(/* HIDDEN */ // 'id' => 'id', // 'type' => 'hidden', // 'value' => $item->id // ), // array(/* INPUT */ // 'id' => 'color', // 'placeholder' => 'Item Color', // 'input_addons' => array( // 'pre' => 'color: #', // 'post' => ';' // ), // 'help' => 'this is a help block' // ), // array(/* DROP DOWN */ // 'id' => 'published', // 'type' => 'dropdown', // 'options' => array( // '1' => 'Published', // '2' => 'Disabled' // ) // ), // array(/* TEXTAREA */ // 'id' => 'description', // 'type' => 'textarea', // 'class' => 'wysihtml5', // 'placeholder' => 'Item Description (HTML or rich text)', // 'value' => html_entity_decode($item->description) // ), // array(/* COMBINE */ // 'id' => 'expiration_date', // 'type' => 'combine', /* use `combine` to put several input inside the same block */ // 'elements' => array( // array( // 'id' => 'cc_exp_month', // 'label' => 'Expiration Date', // 'autocomplete' => 'cc-exp-month', // 'type' => 'dropdown', // 'options' => $exp_month_options, // 'class' => $input_span . 'required input-small', // 'required' => '', // 'data-items' => '4', // 'pattern' => '\d{1,2}', // 'style' => 'width: auto;', // 'value' => (isset($cc_exp_month) ? $cc_exp_month : '') // ), // array( // 'id' => 'cc_exp_year', // 'label' => 'Expiration Date', // 'autocomplete' => 'cc-exp-year', // 'type' => 'dropdown', // 'options' => $exp_year_options, // 'class' => $input_span . 'required input-small', // 'required' => '', // 'data-items' => '4', // 'pattern' => '\d{4}', // 'style' => 'width: auto; margin-left: 5px;', // 'value' => (isset($cc_exp_year) ? $cc_exp_year : '') // ) // ) // ), // array(/* DATE */ // 'id' => 'date', // 'type' => 'date' // ), // array(/* CHECKBOX */ // 'id' => 'checkbox_group', // 'label' => 'Checkboxes', // 'type' => 'checkbox', // 'options' => array( // array( // 'id' => 'checkbox1', // 'value' => 1 // // If no label is set, the value will be used // ), // array( // 'id' => 'checkbox2', // 'value' => 2, // 'label' => 'Two' // ) // ) // ), // array(/* RADIO */ // 'id' => 'radio_group', // 'label' => 'Radio buttons', // 'type' => 'radio', // 'options' => array( // array( // 'id' => 'radio_button_yes', // 'value' => 1, // 'label' => 'Yes' // ), // array( // 'id' => 'radio_button_no', // 'value' => 0, // 'label' => 'No' // ) // ) // ), // array(/* SUBMIT */ // 'id' => 'submit', // 'type' => 'submit' // ) // Config variables $config['contact_us'] = array( 'email_title' => array(/* HIDDEN */ 'id' => 'email_title', 'type' => 'hidden', 'value' => 'New Inquiry from Contact US', 'mail_response' => 'We will contact You soon' ), 'name' => array( 'id' => 'name', 'placeholder' => lang('enter') . " " . lang('your') . " " . lang('name'), 'validation' => 'trim|required|xss_clean', ), 'email' => array( 'id' => 'email', 'type' => 'email', 'placeholder' => lang('enter') . " " . lang('your') . " " . lang('email'), 'validation' => 'trim|required|valid_email|xss_clean', ), 'subject' => array( 'id' => 'subject', 'placeholder' => lang('enter') . " " . lang('subject'), 'validation' => 'trim|required|xss_clean', ), 'description' => array(/* TEXTAREA */ 'id' => 'description', 'type' => 'textarea', 'placeholder' =>lang('enter') . " " . lang('description'), ), 'submit' => array(/* SUBMIT */ 'id' => 'submit', 'type' => 'submit' ) ); $config['complain'] = array( 'email_title' => array(/* HIDDEN */ 'id' => 'email_title', 'type' => 'hidden', 'value' => 'New Inquiry from Complain', 'mail_response' => 'Thank you for your complain.' ), 'name' => array( 'id' => 'name', 'placeholder' => lang('enter') . " " . lang('your') . " " . lang('name'), 'validation' => 'trim|required|xss_clean', ), 'email' => array( 'id' => 'email', 'type' => 'email', 'placeholder' => lang('enter') . " " . lang('your') . " " . lang('email'), 'validation' => 'trim|required|valid_email|xss_clean', ), 'contact_no' => array( 'id' => 'contact_no', 'placeholder' =>lang('enter') . " " . lang('contact_number'), 'validation' => 'trim|required|xss_clean', ), 'description' => array(/* TEXTAREA */ 'id' => 'description', 'type' => 'textarea', 'placeholder' => lang('enter') . " " . lang('description'), ), 'submit' => array(/* SUBMIT */ 'id' => 'submit', 'type' => 'submit' ) );