?> <?php } else { ?> <p style="font-size: 15px; color: red; padding: 10px;"> Your form type is "Custom" and so you can NOT add/edit the form fields (code) in the wizard, any fields you add here now <strong>will NOT be saved</strong>. </p> <?php } ?> <?php } ?> </div> <?php echo $DropTabsHelper->tabEnd(); ?> <?php echo $DropTabsHelper->tabStart('events'); ?> <div class="droppable" id="droppable_area_actions"> <?php $max_action_index = -1; if (isset($form->events_actions_map) && !empty($form->events_actions_map)) { $eventscode = unserialize(base64_decode($form->events_actions_map)); $actionsarray = array(); if (isset($formactions) && !empty($formactions)) { foreach ($formactions as $action_index => $action_data) { $actionsarray['cfaction_' . $action_data->type . '_' . $action_data->order] = $action_data; if ($action_data->order > $max_action_index) { $max_action_index = $action_data->order + 1;
?> <fieldset> <legend>DatePicker Settings</legend> <?php echo $HtmlHelper->input('params[datepicker_config]', array('type' => 'text', 'label' => 'DateTime Picker config', 'class' => 'big_input', 'style' => 'width:700px;', 'maxlength' => 500, 'value' => $params->get('datepicker_config', ''), 'smalldesc' => "Enter any extension config to the default datepicker classes loaded, this will affect all the default date fields in the form, custom ones will not be affected, e.g:<br />days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], startView: 'decades'")); ?> <?php echo $HtmlHelper->input('params[datepicker_type]', array('type' => 'select', 'label' => 'DatePicker Type', 'value' => $params->get('datepicker_type', 0), 'options' => array(0 => 'Default (by MonkeyPhysics)', 1 => 'Mootools DatePicker'), 'default' => 0, 'smalldesc' => 'Select the date/time picker type you want to load, the "Mootools" picker is available for J1.6 and later only, selecting this option in J1.5 will simply load the default picker.')); ?> <?php echo $HtmlHelper->input('params[datepicker_moo_style]', array('type' => 'select', 'label' => 'Moo DatePicker Style', 'value' => $params->get('datepicker_moo_style', 'datepicker_dashboard'), 'options' => array('datepicker_dashboard' => 'DashBoard', 'datepicker_jqui' => 'JQUI', 'datepicker_vista' => 'Vista'), 'default' => 'datepicker_dashboard', 'smalldesc' => 'Select the Mootools datepicker style, this is available for Joomla 1.6 and above ONLY.')); ?> </fieldset> <?php echo $TabsHelper->tabEnd(); ?> <?php echo $TabsHelper->tabStart('code'); ?> <?php echo $HtmlHelper->input('form_type', array('type' => 'select', 'label' => 'Form type', 'options' => array(0 => 'Custom', 1 => 'Wizard'), 'default' => 0, 'smalldesc' => 'Custom forms HTML code will not be affected when using it in the wizard, Wizard forms code will be overwritten though.')); ?> <?php echo $HtmlHelper->input('content', array('type' => 'textarea', 'label' => 'HTML code', 'rows' => 30, 'cols' => 100, 'smalldesc' => 'May contain PHP code with tags', 'value' => $form ? htmlspecialchars($form->content) : '')); ?> <?php echo $TabsHelper->tabEnd(); ?> <?php echo $TabsHelper->tabStart('jsval');