</div> <?php } elseif (isset($field['config']['search_options']) && $field['config']['search_options'] == 'range') { ?> <?php echo form_helper::select($name . '__from', array('' => __('range_from', 'system')) + $field['items'], form_helper::setSelect($name . '__from', isset($value[$name . '__from']) ? $value[$name . '__from'] : ''), array('class' => 'select ' . (isset($field['class']) && $field['class'] ? $field['class'] : ''), 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'id' => $id . '__from')); ?> - <?php echo form_helper::select($name . '__to', array('' => __('range_to', 'system')) + $field['items'], form_helper::setSelect($name . '__to', isset($value[$name . '__to']) ? $value[$name . '__to'] : ''), array('class' => 'select ' . (isset($field['class']) && $field['class'] ? $field['class'] : ''), 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'id' => $id . '__to')); ?> <?php } else { ?> <?php echo form_helper::select($name, array('' => isset($field['select']) && $field['select'] ? __('select', 'system') : __('any', 'system')) + $field['items'], form_helper::setSelect($name, isset($value[$name]) ? $value[$name] : ''), array('class' => 'select ' . (isset($field['class']) && $field['class'] ? $field['class'] : ''), 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'id' => $id)); ?> <?php } ?> <?php break; ?> <?php case 'checkmark': ?> <div class="checkbox <?php echo isset($field['class']) && $field['class'] ? $field['class'] : ''; ?>
<?php if (isset($actions) && $actions) { ?> <div class="actions"> <?php echo __('actions', 'system'); ?> <?php echo form_helper::select('action', $actions, '', array('class' => 'select', 'onchange' => "confirmForm('" . __('action_apply?', 'system') . "', '" . $form . "');this.value=0;")); ?> </div> <?php }
if (isset($hidden['columns_number'])) { ?> <?php echo form_helper::hidden('columns_number', isset($field['config']['columns_number']) ? $field['config']['columns_number'] : $hidden['columns_number'], array('id' => 'input_edit_system_field_columns_number')); ?> <?php } else { ?> <div class="row" id="input_row_system_field_columns_number"> <label for="input_edit_system_field_columns_number"><?php echo __('config_columns', 'system_fields'); ?> </label> <div class="field"> <?php echo form_helper::select('columns_number', array(1 => 1, 2 => 2, 3 => 3, 4 => 4), form_helper::setSelect('columns_number', isset($field['config']['columns_number']) ? $field['config']['columns_number'] : 2), array('class' => 'select', 'id' => 'input_edit_system_field_columns_number')); ?> <?php echo form_helper::error('columns_number'); ?> </div> </div> <?php } ?> <?php if (isset($hidden['class'])) { ?> <?php echo form_helper::hidden('class', isset($field['class']) ? $field['class'] : $hidden['class'], array('id' => 'input_edit_system_field_class'));