AAAAcomponents/com_chronoforms/form_actions/custom_datepicker_moo/custom_datepicker_moo.ctp 0000604 00000011015 15140160061 0034507 0 ustar 00 home/academiac/www/administrator
Header(array('settings' => 'Settings', 'help' => 'Help'), 'custom_datepicker_moo_config_{n}'); ?>
tabStart('settings'); ?>
input('action_custom_datepicker_moo_{n}_field_class_config', array('type' => 'text', 'label' => "Field Class", 'class' => 'medium_input', 'smalldesc' => "The class name assigned to the field(s) which will be used as date field.")); ?>
input('action_custom_datepicker_moo_{n}_pickerClass_config', array('type' => 'select', 'label' => "Picker Style", 'options' => array('datepicker_dashboard' => 'DashBoard', 'datepicker_jqui' => 'JQUI', 'datepicker_vista' => 'Vista'), 'smalldesc' => "The class for the picker itself, will control how the calendar looks like.")); ?>
input('action_custom_datepicker_moo_{n}_format_config', array('type' => 'text', 'label' => "Date format shown", 'class' => 'medium_input', 'smalldesc' => "The format shown inside the visible field for the user in the form.")); ?>
input('action_custom_datepicker_moo_{n}_allowEmpty_config', array('type' => 'select', 'label' => 'Allow Empty ?', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Allow the field to be empty, will load the field with empty value.')); ?>
input('action_custom_datepicker_moo_{n}_timePicker_config', array('type' => 'select', 'label' => 'Load Time picker ?', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Load the time picker after selecting a date ?')); ?>
input('action_custom_datepicker_moo_{n}_pickOnly_config', array('type' => 'select', 'label' => 'Pick Only', 'options' => array(0 => 'Disabled', 'time' => 'Time', 'days' => 'Days', 'months' => 'Months', 'years' => 'Years'), 'smalldesc' => 'Should this date field pick some specific data only ?')); ?>
input('action_custom_datepicker_moo_{n}_content1_config', array('type' => 'textarea', 'label' => "Extra options extension", 'rows' => 10, 'cols' => 50, 'smalldesc' => "Add extra picker options here, e.g:
days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], startView: 'decades'")); ?>
tabEnd(); ?>
tabStart('help'); ?>
- Add your fields class then start configuring your picker.
- All picker options and config are available here:
http://mootools.net/forge/p/mootools_datepicker
tabEnd(); ?>