echo __('configuration') . ' ' . field_value_selector('conf', 'mod_routes_configurations_list', array('keepfirst' => false, 'multiple' => true)); ?> </div> <div> <?php echo __('facing') . ' ' . facings_selector('fac'); ?> </div> <?php echo __('route_type') . ' ' . field_value_selector('rtyp', 'mod_routes_route_types_list', array('keepfirst' => false, 'multiple' => true)); echo __('duration') . ' ' . range_selector('time', 'mod_routes_durations_list', 'days'); ?> <div data-act-filter="1 2 3" style="display:none"> <?php echo __('is_on_glacier') . ' ' . bool_selector('glac'); ?> </div> </fieldset> <div data-act-filter="1 2 3 4 5 6 7" style="display:none"> <br /> <fieldset> <div data-act-filter="2 3 4 5" style="display:none"> <?php echo __('global_rating') . ' ' . range_selector('grat', 'app_routes_global_ratings'); echo __('engagement_rating') . ' ' . range_selector('erat', 'app_routes_engagement_ratings'); ?> <br /> <?php echo __('equipment_rating') . ' ' . range_selector('prat', 'app_equipment_ratings_list', null, true); ?>
<?php use_helper('General'); ?> <br /> <?php echo '<div class="fieldname">' . picto_tag('picto_huts') . __('Hut:') . ' </div>' . input_tag('hnam'); echo __('elevation') . ' ' . elevation_selector('halt'); echo __('is_staffed') . ' ' . bool_selector('hsta');
echo around_selector('sarnd'); $ranges_raw = $sf_data->getRaw('ranges'); $selected_areas_raw = $sf_data->getRaw('selected_areas'); include_partial('areas/areas_selector', array('ranges' => $ranges_raw, 'selected_areas' => $selected_areas_raw, 'use_personalization' => true)); ?> <br /> <br /> <?php echo '<div class="fieldname">' . picto_tag('picto_outings') . __('name') . ' </div>' . input_tag('onam', null, array('autofocus' => 'autofocus')); echo georef_selector('With GPS track:'); $activities_raw = $sf_data->getRaw('activities'); include_partial('routes_filter', array('activities' => $activities_raw)); include_partial('summits/summits_short_filter'); include_partial('huts/huts_short_filter'); include_partial('parkings/parkings_filter'); echo __('outing_with_public_transportation') . ' ' . bool_selector('owtp'); ?> <br /><br /> <?php echo __('Date') . __(' :') . ' ' . date_selector(array('month' => true, 'year' => true, 'day' => true)); ?> <div data-act-filter="1 2 5 7" style="display:none"> <?php echo __('avalanche_infos') . ' ' . select_tag('avdate', options_for_select(array('2-3-4-5' => __('yes'), '1' => __('no'), ' ' => __('filled in'), '-' => __('nonwell informed')), '', array('include_blank' => true))); ?> </div> <br /> <?php echo __('filter language') . __(' :') . ' ' . lang_selector('ocult'); if ($is_connected) { echo label_for('myoutings', __('Search in my outings')) . ' ' . checkbox_tag('myoutings', 1, false);
<?php use_helper('General'); ?> <br /> <?php echo picto_tag('picto_huts') . __('Hut:') . ' ' . (isset($autofocus) ? input_tag('hnam', null, array('autofocus' => 'autofocus')) : input_tag('hnam')); echo __('elevation') . ' ' . elevation_selector('halt'); ?> <br /> <?php echo __('shelter_type') . ' ' . field_value_selector('htyp', 'mod_huts_shelter_types_list', array('keepfirst' => false, 'multiple' => true)); echo __('is_staffed') . __(' :') . ' ' . bool_selector('hsta'); ?> <br /> <?php echo __('staffed_capacity') . ' ' . elevation_selector('hscap', null); ?> <br /> <?php echo __('unstaffed_capacity') . ' ' . elevation_selector('hucap', null); ?> <br /> <?php echo __('has_unstaffed_matress') . ' ' . field_value_selector('hmat', 'app_boolean_list'); echo __('has_unstaffed_blanket') . ' ' . field_value_selector('hbla', 'app_boolean_list'); echo __('has_unstaffed_gas') . ' ' . field_value_selector('hgas', 'app_boolean_list'); echo __('has_unstaffed_wood') . ' ' . field_value_selector('hwoo', 'app_boolean_list');
function georef_selector($title = '') { if ($title == '') { $title = 'geom_wkt'; } $out = __($title) . ' '; $out .= bool_selector('geom'); return $out; }