Ejemplo n.º 1
0
<?php

use_helper('General');
?>
<br /><br />
<?php 
echo '<div class="fieldname">' . picto_tag('picto_routes') . __('Route:') . ' </div>' . (isset($autofocus) ? input_tag('rnam', null, array('autofocus' => 'autofocus')) : input_tag('rnam'));
echo georef_selector('With GPS track:');
?>
<br /><br />
<?php 
$activities_raw = $sf_data->getRaw('activities');
$paragliding_tag = sfConfig::get('app_tags_paragliding');
$paragliding_tag = implode('/', $paragliding_tag);
echo __('activities') . ' ' . field_value_selector('acttyp', 'mod_routes_activities_type_list', array('keepfirst' => false, 'filled_options' => false));
echo activities_selector(true, true, $activities_raw, array(8 => $paragliding_tag));
?>
<fieldset>
<?php 
echo __('max_elevation') . ' ' . elevation_selector('malt');
echo __('height_diff_up') . ' ' . elevation_selector('hdif');
?>
<div data-act-filter="1 2 3 4 5" style="display:none">
<?php 
echo __('difficulties_start_elevation') . ' ' . elevation_selector('ralt');
echo __('difficulties_height') . ' ' . elevation_selector('dhei');
echo __('approach_height') . ' ' . elevation_selector('rappr');
?>
</div>
<div data-act-filter="1 2 3 4" style="display:none">
<?php 
Ejemplo n.º 2
0
<?php

use_helper('FilterForm', 'Form', 'General', 'MyForm');
echo around_selector('farnd');
$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));
include_partial('products_filter', array('autofocus' => true));
echo '<br />' . georef_selector();
?>
<br />
<?php 
// FIXME : dont show tpty select due to Doctrine bug - see ticket #687
include_partial('parkings/parkings_filter', array('show_tpty' => false));
?>
<br />
<?php 
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('fcult');
?>
<br />
<?php 
include_partial('documents/filter_sort');
Ejemplo n.º 3
0
<?php

use_helper('FilterForm');
echo around_selector('parnd');
$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));
include_partial('parkings_filter', array('autofocus' => true));
?>
<br />
<?php 
echo georef_selector();
?>
<br />
<?php 
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('pcult');
?>
<br />
<?php 
include_partial('documents/filter_sort');