Beispiel #1
0
            }
            ?>
		<?php 
        }
        ?>

		<?php 
        break;
        ?>

	<?php 
    case 'country':
        ?>

		<?php 
        echo form_helper::select($name, array('' => isset($field['select']) && $field['select'] ? __('select', 'system') : __('any', 'system')) + geo_helper::getCountries(), 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 
        break;
        ?>

	<?php 
    case 'birthday':
        ?>

		<?php 
        echo form_helper::select($name . '__from', array('' => __('range_from', 'system')) + array_helper::buildArray(isset($field['config']['min_age']) ? $field['config']['min_age'] : 18, isset($field['config']['max_age']) ? $field['config']['max_age'] : 99), 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