<commit_before><?php
use_helper('FilterForm', 'General', 'MyForm');

$is_connected = $sf_user->isConnected();

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') . __('&nbsp;:') . ' ' . date_selector(array('month' => true, 'year' => true, 'day' => true));
?>
<br />
<?php echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('ocult');
if ($is_connected)
{
    echo label_for('myoutings', __('Search in my outings')) . ' ' . checkbox_tag('myoutings', 1, false);
}
?>
<br />
<?php
include_partial('documents/filter_sort', array('orderby_default' => 'date', 'order_default' => 'desc'));

echo label_for('cond', __('Show conditions'), array('title' => __('show conditions of the outings'))) . ' ' . checkbox_tag('cond', 1, false);
?>
<br /><br />
<?php<commit_msg>new outings fields : avalanche, route description<commit_after><?php
use_helper('FilterForm', 'General', 'MyForm');

$is_connected = $sf_user->isConnected();

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') . __('&nbsp;:') . ' ' . date_selector(array('month' => true, 'year' => true, 'day' => true));
?>
<div data-act-filter="1 2 5 7" style="display:none">
<?php
echo __('avalanche_info_title') . __('&nbsp;:') . ' ' . select_tag('avdate', options_for_select(array('>2' => __('yes'), '1' => __('no'), ' ' => __('filled in'), '-' => __('nonwell informed')),
                                                                   '', array('include_blank' => true)));
?>
</div>
<br />
<?php
echo __('filter language') . __('&nbsp;:') . ' ' . lang_selector('ocult');
if ($is_connected)
{
    echo label_for('myoutings', __('Search in my outings')) . ' ' . checkbox_tag('myoutings', 1, false);
}
?>
<br />
<?php
include_partial('documents/filter_sort', array('orderby_default' => 'date', 'order_default' => 'desc'));

echo label_for('cond', __('Show conditions'), array('title' => __('show conditions of the outings'))) . ' ' . checkbox_tag('cond', 1, false);
?>
<br /><br />
<?php
{'fraction_non_alphanumeric': 0.22268907563025211, 'fraction_numerical': 0.0028011204481792717, 'mean_word_length': 6.0295275590551185, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 72, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5709576', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1232, 'n_words': 226}