AAAAinput_custom.ctp 0000666 00000006665 15137453736 0010044 0 ustar 00
Custom Element (HTML/PHP)
Header(array('general' => 'General'), 'input_custom_element_config_{n}'); ?>
tabStart('general'); ?>
input('input_custom_{n}_input_name_config', array('type' => 'text', 'label' => 'Field Name', 'class' => 'small_input', 'value' => '', 'smalldesc' => 'can be used to show the server side error messages.')); ?>
input('input_custom_{n}_input_id_config', array('type' => 'text', 'label' => 'Field ID', 'class' => 'small_input', 'value' => '')); ?>
input('input_custom_{n}_label_text_config', array('type' => 'text', 'label' => 'Label Text', 'class' => 'small_input', 'value' => '')); ?>
input('input_custom_{n}_clean_config', array('type' => 'checkbox', 'label' => 'Pure code', 'class' => 'small_input', 'value' => '1', 'rule' => "bool", 'smalldesc' => 'Should the code be rendered without being included inside any containers ?')); ?>
input('input_custom_{n}_code_config', array('type' => 'textarea', 'label' => 'Code', 'rows' => 15, 'cols' => 50, 'style' => 'width:450px !important;')); ?>
input('input_custom_{n}_instructions_config', array('type' => 'textarea', 'label' => 'Instructions for users', 'rows' => 5, 'cols' => 50)); ?>
input('input_custom_{n}_tooltip_config', array('type' => 'textarea', 'label' => 'Tooltip', 'rows' => 5, 'cols' => 50)); ?>
tabEnd(); ?>