AAAAwww/administrator/components/com_chronoforms/form_widgets/multi_upload/input_multi_upload.ctp000060400000014714151374765400032225 0ustar00home/academiac
Multi Upload
input('chronofield[{n}][input_multi_upload_{n}_label_text]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_label_text', 'value' => $element_params['label_text'])); ?> input('chronofield[{n}][input_multi_upload_{n}_input_name]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_input_name', 'value' => $element_params['input_name'])); ?> input('chronofield[{n}][input_multi_upload_{n}_limit]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_limit', 'value' => $element_params['limit'])); ?> input('chronofield[{n}][input_multi_upload_{n}_label_over]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_label_over', 'value' => $element_params['label_over'])); ?> input('chronofield[{n}][input_multi_upload_{n}_hide_label]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_hide_label', 'value' => $element_params['hide_label'])); ?> input('chronofield[{n}][input_multi_upload_{n}_data_path]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_data_path', 'value' => $element_params['data_path'])); ?> input('chronofield[{n}][input_multi_upload_{n}_data_path_name]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_data_path_name', 'value' => $element_params['data_path_name'])); ?> input('chronofield[{n}][input_multi_upload_{n}_data_path_original_name]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_data_path_original_name', 'value' => $element_params['data_path_original_name'])); ?> input('chronofield[{n}][input_multi_upload_{n}_data_path_id]', array('type' => 'hidden', 'id' => 'input_multi_upload_{n}_data_path_id', 'value' => $element_params['data_path_id'])); ?>
Header(array('general' => 'General', 'republish' => 'Data Republish', 'other' => 'Other', 'validation' => 'Validation'), 'input_multi_upload_element_config_{n}'); ?> tabStart('general'); ?> input('input_multi_upload_{n}_label_text_config', array('type' => 'text', 'label' => 'Label Text', 'class' => 'small_input', 'value' => '')); ?> input('input_multi_upload_{n}_input_name_config', array('type' => 'text', 'label' => 'Field Name', 'class' => 'small_input', 'value' => '', 'smalldesc' => "Don't forget to add 2 square brackets [] after the field name to post array of files, e.g: attachments[]")); ?> input('input_multi_upload_{n}_limit_config', array('type' => 'text', 'label' => 'Limit', 'class' => 'small_input', 'value' => '')); ?> tabEnd(); ?> tabStart('republish'); ?> input('input_multi_upload_{n}_data_path_config', array('type' => 'text', 'label' => "Files Data Path", 'class' => 'medium_input', 'smalldesc' => 'The data array key under which the files data will be available in the form->data array.')); ?> input('input_multi_upload_{n}_data_path_name_config', array('type' => 'text', 'label' => "File Name", 'smalldesc' => 'The array key under which the file name is stored, leave empty if the names are under the data path directly.')); ?> input('input_multi_upload_{n}_data_path_original_name_config', array('type' => 'text', 'label' => "File Original Name", 'smalldesc' => 'The array key under which the file original name is stored.')); ?> input('input_multi_upload_{n}_data_path_id_config', array('type' => 'text', 'label' => "File ID", 'smalldesc' => 'The array key under which the file id is stored.')); ?> input('input_multi_upload_{n}_target_path_config', array('type' => 'text', 'label' => "Target Data Path", 'smalldesc' => 'The data array key under which the files data will be stored after submission.')); ?> tabEnd(); ?> tabStart('other'); ?> input('input_multi_upload_{n}_label_over_config', array('type' => 'checkbox', 'label' => 'Label Over', 'value' => '1', 'rule' => "bool")); ?> input('input_multi_upload_{n}_hide_label_config', array('type' => 'checkbox', 'label' => 'Hide Label', 'value' => '1', 'rule' => "bool")); ?> input('input_multi_upload_{n}_instructions_config', array('type' => 'textarea', 'label' => 'Instructions for users', 'rows' => 5, 'cols' => 50)); ?> input('input_multi_upload_{n}_tooltip_config', array('type' => 'textarea', 'label' => 'Tooltip', 'rows' => 5, 'cols' => 50)); ?> tabEnd(); ?> tabStart('validation'); ?> input('input_multi_upload_{n}_validations_config', array('type' => 'checkbox', 'label' => 'Required', 'class' => 'small_input', 'value' => 'required', 'rule' => "split", 'splitter' => ",")); ?> tabEnd(); ?>