コード例 #1
0
echo __('approach_height') . ' ' . elevation_selector('rappr');
?>
</div>
<div data-act-filter="1 2 3 4" style="display:none">
<?php 
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');
コード例 #2
0
<?php

use_helper('FilterForm', 'General');
$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 picto_tag('picto_maps') . __('Name:') . ' ' . input_tag('mnam', null, array('autofocus' => 'autofocus'));
echo __('Code:') . ' ' . input_tag('code');
?>
<br />
<?php 
echo __('Scale:') . ' ' . field_value_selector('scal', 'mod_maps_scales_list', array('blank' => true));
echo __('Editor:') . ' ' . field_value_selector('edit', 'mod_maps_editors_list', array('blank' => true));
?>
<br />
<?php 
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('mcult');
include_partial('documents/filter_sort');
コード例 #3
0
<?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') . __('&nbsp;:') . ' ' . 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');
コード例 #4
0
<?php

use_helper('FilterForm', 'General');
echo picto_tag('picto_areas') . __('region_name') . ' ' . input_tag('anam', null, array('autofocus' => 'autofocus'));
echo __('area_type') . ' ' . field_value_selector('atyp', 'mod_areas_area_types_list');
?>
<br />
<?php 
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('acult');
?>
<br />
<?php 
include_partial('documents/filter_sort');
コード例 #5
0
<?php

use_helper('FilterForm', 'General');
?>
<div class="fieldgroup">
<?php 
echo '<div class="fieldname">' . picto_tag('picto_books') . __('name') . ' </div>' . input_tag('bnam', null, array('autofocus' => 'autofocus'));
echo '<br /><br /><div class="fieldname">' . __('author') . ' </div>' . input_tag('auth');
echo '<br /><br /><div class="fieldname">' . __('editor') . ' </div>' . input_tag('edit');
?>
</div>
<?php 
echo __('book_types') . ' ' . field_value_selector('btyp', 'mod_books_book_types_list', array('keepfirst' => false, 'multiple' => true));
echo __('langs') . ' ' . field_value_selector('blang', 'app_languages_book', array('keepfirst' => false, 'multiple' => true));
?>
<br />
<?php 
$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' => false));
$activities_raw = $sf_data->getRaw('activities');
echo __('activities') . ' ' . activities_selector(false, true, $activities_raw);
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('bcult');
?>
<br />
<?php 
include_partial('documents/filter_sort');
コード例 #6
0
<?php

use_helper('FilterForm', 'General');
$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' => false));
?>
<div class="fieldgroup">
<?php 
echo '<div class="fieldname">' . picto_tag('picto_articles') . __('name') . ' </div>' . input_tag('cnam', null, array('autofocus' => 'autofocus'));
echo '<br /><br /><div class="fieldname">' . __('article_type') . ' </div>' . field_value_selector('ctyp', 'mod_articles_article_types_list', array('blank' => true));
?>
</div>
<?php 
echo __('categories') . ' ' . field_value_selector('ccat', 'mod_articles_categories_list', array('keepfirst' => false, 'multiple' => true, 'size' => 9));
?>
<br />
<?php 
$activities_raw = $sf_data->getRaw('activities');
echo __('activities') . ' ' . activities_selector(false, false, $activities_raw);
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('ccult');
?>
<br /><?php 
include_partial('documents/filter_sort');
コード例 #7
0
<?php

use_helper('General');
echo picto_tag('picto_summits') . __('Summit:') . ' ' . (isset($autofocus) ? input_tag('snam', null, array('autofocus' => 'autofocus')) : input_tag('snam'));
echo __('elevation') . ' ' . elevation_selector('salt');
echo '<br />';
echo __('summit_type') . ' ' . field_value_selector('styp', 'app_summits_summit_types', array('keepfirst' => false, 'multiple' => true, 'size' => 5));
コード例 #8
0
<?php 
echo __('equipment_rating') . ' ' . range_selector('tprat', 'app_equipment_ratings_list', null, true);
?>
<br />
<?php 
echo __('routes_quantity') . ' ' . elevation_selector('rqua', '');
?>
<br />
<?php 
echo __('mean_height') . ' ' . elevation_selector('tmhei');
echo __('mean_rating') . ' ' . range_selector('tmrat', 'app_routes_rock_free_ratings', null, true);
?>
<br />
<?php 
echo __('children_proof') . ' ' . field_value_selector('chil', 'mod_sites_children_proof_list', array('keepfirst' => false, 'multiple' => true));
echo __('rain_proof') . ' ' . field_value_selector('rain', 'mod_sites_rain_proof_list', array('keepfirst' => false, 'multiple' => true));
?>
<br />
<?php 
echo georef_selector();
?>
<br />
<?php 
include_partial('parkings/parkings_filter');
?>
<br />
<?php 
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('tcult');
?>
<br />
<?php 
コード例 #9
0
<?php

use_helper('FilterForm');
echo around_selector('uarnd');
$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));
echo '<br /><br />' . __('User:'******' ' . input_tag('unam', null, array('autofocus' => 'autofocus'));
echo select_tag('nam_type', options_for_select(array('unam' => __('topoguide name only'), 'ufnam' => __('forum name only'), 'utfnam' => __('forum and topoguide names')), 'unam'), array('onchange' => '$("#unam").attr("name", this.value)'));
?>
<br />
<?php 
echo __('category') . ' ' . field_value_selector('ucat', 'mod_users_category_list', array('keepfirst' => false, 'multiple' => true));
echo georef_selector();
?>
<br />
<?php 
$activities_raw = $sf_data->getRaw('activities');
echo __('activities') . ' ' . activities_selector(false, true, $activities_raw);
include_partial('documents/filter_sort');
コード例 #10
0
<?php

use_helper('General');
?>
<br />
<?php 
echo '<div class="fieldname">' . picto_tag('picto_summits') . __('Summit:') . ' </div>' . input_tag('snam');
echo __('elevation') . ' ' . elevation_selector('salt');
echo __('summit_type') . ' ' . field_value_selector('styp', 'app_summits_summit_types', array('blank' => true));
コード例 #11
0
<?php

use_helper('General');
?>
<br /><br />
<?php 
$activities_raw = $sf_data->getRaw('activities');
echo __('activities') . ' ' . field_value_selector('acttyp', 'mod_outings_activities_type_list', array('keepfirst' => false, 'filled_options' => false));
echo activities_selector(true, true, $activities_raw);
echo __('max_elevation') . ' ' . elevation_selector('oalt');
echo __('height_diff_up') . ' ' . elevation_selector('odif');
?>
<br />
<?php 
echo __('facing') . ' ' . facings_selector('fac');
?>
 
<div data-act-filter="1 2 3 4 5" style="display:none">
</div>
<div data-act-filter="1 2 3" style="display:none">
<?php 
echo __('is_on_glacier') . ' ' . bool_selector('glac');
?>
</div>
<div data-act-filter="2 3 4 5" style="display:none">
<br />
<?php 
echo __('global_rating') . ' ' . range_selector('grat', 'app_routes_global_ratings');
echo __('engagement_rating') . ' ' . range_selector('erat', 'app_routes_engagement_ratings');
?>
<br />
コード例 #12
0
include_partial('areas/areas_selector', array('ranges' => $ranges_raw, 'selected_areas' => $selected_areas_raw, 'use_personalization' => true));
?>
<br />
<?php 
include_partial('summits/summits_short_filter');
$activities_raw = $sf_data->getRaw('activities');
include_partial('routes_filter', array('autofocus' => true, 'activities' => $activities_raw));
?>
<br />
<fieldset>
<?php 
if (!c2cTools::mobileVersion()) {
    echo '<span data-act-filter="1 2 3 4 6 7" style="display:none">', bool_selector_from_list('sub', 'mod_routes_sub_activities_list', 8), '</span>';
    echo '<span data-act-filter="1 3 4 6" style="display:none">', bool_selector_from_list('sub', 'mod_routes_sub_activities_list', 6), '</span>';
}
include_partial('huts/huts_short_filter');
include_partial('parkings/parkings_filter');
?>
</fieldset>
<br />
<?php 
if (!c2cTools::mobileVersion()) {
    echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('rcult');
    if ($is_connected) {
        echo __('Search in my routes') . ' ' . field_value_selector('myroutes', 'mod_routes_myroutes_list', array('filled_options' => false));
    }
    ?>
    <br />
    <?php 
}
include_partial('documents/filter_sort');
コード例 #13
0
<?php

use_helper('General');
if (!isset($show_tpty)) {
    $show_tpty = true;
}
?>
<br />
<?php 
echo '<div class="fieldname">' . picto_tag('picto_parkings') . __('Access point:') . ' </div>' . (isset($autofocus) ? input_tag('pnam', null, array('autofocus' => 'autofocus')) : input_tag('pnam'));
echo __('elevation') . ' ' . elevation_selector('palt');
?>
<br />
<?php 
echo __('public_transportation_rating short') . ' ' . field_value_selector('tp', 'app_parkings_public_transportation_ratings', array('keepfirst' => false, 'multiple' => true));
if ($show_tpty) {
    echo __('public_transportation_types short') . ' ' . field_value_selector('tpty', 'app_parkings_public_transportation_types', array('keepfirst' => false, 'multiple' => true, 'exclude' => 9));
}
echo bool_selector_from_list('tpty', 'app_parkings_public_transportation_types', 9);
// cable car
コード例 #14
0
<?php

use_helper('General');
?>
<br />
<?php 
echo picto_tag('picto_products') . __('Product:') . ' ' . (isset($autofocus) ? input_tag('fnam', null, array('autofocus' => 'autofocus')) : input_tag('fnam'));
echo __('elevation') . ' ' . elevation_selector('falt');
?>
<br />
<?php 
echo __('product_type') . ' ' . field_value_selector('ftyp', 'mod_products_types_list', array('keepfirst' => false, 'multiple' => true));