<commit_before><?php
use_helper('Forum','Button', 'Link', 'ModalBox', 'General');

$c2c_news_forum = PunbbTopics::getC2cNewsForumId($lang);
?>
    <div id="menu_content">
        <ul>
            <li><?php echo link_to(__('Home'), '@homepage') ?>
                <ul>
                    <li><?php
                        echo picto_tag('action_informations')
                           . link_to(__('Kesako?'), getMetaArticleRoute('know_more')) ?></li>
                    <li><?php
                        echo picto_tag('action_help')
                           . link_to(__('FAQ short'), getMetaArticleRoute('faq')) ?></li>
                    <li class="lilast"><?php
                        echo picto_tag('action_help')
                           . link_to(__('Global help'), getMetaArticleRoute('help')) ?></li>
                </ul>
            </li>
            <li><?php echo link_to(__('Guidebook / Map'), getMetaArticleRoute('help_guide')) ?>
                <ul>
	            <li><?php
                        echo picto_tag('picto_maps')
                           . link_to(__('Map tool'), '@map') ?></li>
                    <li><?php
                        echo picto_tag('picto_outings')
                           . link_to(ucfirst(__('outings')), '@default_index?module=outings') ?>
                        <ul>
                            <li><?php
                                echo picto_tag('action_create');
                                if ($is_connected)
                                {
                                    echo m_link_to(__('Add'), 'outings/wizard',
                                                   array('title'=> __('Create new outing with some help')),
                                                   array('width' => 600));
                                }
                                else
                                {
                                    echo m_link_to(__('Add'), '@login',
                                                   array('title' => __('Create new outing unconnected'),
                                                         'query_string' => 'redirect=outings/wizard'),
                                                   array('width' => 600));
                                }
                            ?></li>
                            <li><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=outings') ?></li>
                            <li><?php
                                echo picto_tag('action_list')
                                   . link_to(__('cond short'), '@default?module=outings&action=conditions&orderby=date&order=desc') ?></li>
                            <li class="lilast"><?php
                                echo picto_tag('action_list')
                                   . link_to(__('avalanche_infos_short'), '@default?module=outings&action=conditions&avdate=2-3-4-5&date=2W&perso=areas-cult-ifon&orderby=date&order=desc') ?></li>
                        </ul>
                    </li>
                    <li><?php echo picto_tag('picto_routes')
                                 . link_to(ucfirst(__('routes')), '@default_index?module=routes') ?>
                        <ul>
                            <li><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=routes') ?></li>
                            <?php if ($is_connected): ?>
                            <li><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), getMetaArticleRoute('help_guide', false, 'route')) ?></li>
                            <?php endif ?>
                            <li class="lilast"><?php
                                echo picto_tag('picto_tools')
                                   . m_link_to(__('cotometre'), '@tool?action=cotometre',
                                               array('title'=> __('cotometre long')),
                                               array('width' => 600)) ?></li>
                        </ul>
                    </li>
                    <li><?php echo picto_tag('picto_summits')
                                 . link_to(ucfirst(__('summits')), '@default_index?module=summits') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=summits') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=summits&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_sites')
                           . link_to(ucfirst(__('sites')), '@default_index?module=sites') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=sites') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=sites&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_xreports')
                           . link_to(ucfirst(__('xreports')), '@default_index?module=xreports') ?>
                        <ul>
                            <li><?php
                                echo picto_tag('action_create');
                                if ($is_connected)
                                {
                                    echo link_to(__('Add'), '@document_edit?module=xreports&id=&lang=');
                                }
                                else
                                {
                                    echo m_link_to(__('Add'), '@login',
                                                   array('title' => __('Create new xreport unconnected'),
                                                         'query_string' => 'redirect=xreports/edit'),
                                                   array('width' => 600));
                                }
                            ?></li>
                            <li><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=xreports') ?></li>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_parkings')
                           . link_to(ucfirst(__('parkings')), '@default_index?module=parkings') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=parkings') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=parkings&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_huts')
                           . link_to(ucfirst(__('huts')), '@default_index?module=huts') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=huts') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=huts&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_products')
                           . link_to(ucfirst(__('products')), '@default_index?module=products') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=products') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=products&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_books')
                           . link_to(ucfirst(__('books')), '@default_index?module=books') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=books') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=books&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('action_filter')
                           . link_to(ucfirst(__('tags')), 'articles/list?ccat=10') ?></li>
                    <li class="lilast"><?php
                        echo picto_tag('action_help')
                           . link_to(__('Help'), getMetaArticleRoute('help_guide')) ?></li>
                </ul>
            </li>
            <li><?php
                echo link_to(__('Articles'), '@default_index?module=articles') ?>
                <ul>
                    <li><?php echo picto_tag('action_list')
                                 . link_to(ucfirst(__('Summary')), getMetaArticleRoute('home_articles')) ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('mountain environment')), 'articles/list?ccat=1') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('gear and technique')), 'articles/list?ccat=2') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('topoguide supplements')), 'articles/list?ccat=4') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('soft mobility')), 'articles/list?ccat=7') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('expeditions')), 'articles/list?ccat=8') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('stories')), 'articles/list?ccat=3') ?></li>
                    <li><?php
                        echo picto_tag('action_query')
                           . link_to(__('Search'), '@filter?module=articles') ?></li>
                    <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                        echo picto_tag('action_help')
                           . link_to(__('Help'), getMetaArticleRoute('help_articles')) ?></li>
                    <?php if ($is_connected): ?>
                    <li class="lilast"><?php
                        echo picto_tag('action_create')
                           . link_to(__('Add'), '@document_edit?module=articles&id=&lang=') ?></li>
                    <?php endif ?>
                </ul>
            </li>
            <li><?php
                echo link_to(__('Gallery'), '@default_index?module=images') ?>
                <ul>
                    <li><?php
                        echo picto_tag('action_query')
                           . link_to(__('Search'), '@filter?module=images') ?></li>
                    <li><?php
                        echo picto_tag('picto_images')
                           . link_to(__('Collaborative images'), 'images/list?ityp=1') ?></li><commit_msg>Update _menu_content.php<commit_after><?php
use_helper('Forum','Button', 'Link', 'ModalBox', 'General');

$c2c_news_forum = PunbbTopics::getC2cNewsForumId($lang);
?>
    <div id="menu_content">
        <ul>
            <li><?php echo link_to(__('Home'), '@homepage') ?>
                <ul>
                    <li><?php
                        echo picto_tag('action_informations')
                           . link_to(__('Kesako?'), getMetaArticleRoute('know_more')) ?></li>
                    <li><?php
                        echo picto_tag('action_help')
                           . link_to(__('FAQ short'), getMetaArticleRoute('faq')) ?></li>
                    <li class="lilast"><?php
                        echo picto_tag('action_help')
                           . link_to(__('Global help'), getMetaArticleRoute('help')) ?></li>
                </ul>
            </li>
            <li><?php echo link_to(__('Guidebook / Map'), getMetaArticleRoute('help_guide')) ?>
                <ul>
	            <li><?php
                        echo picto_tag('picto_maps')
                           . link_to(__('Map tool'), '@map') ?></li>
                    <li><?php
                        echo picto_tag('picto_outings')
                           . link_to(ucfirst(__('outings')), '@default_index?module=outings') ?>
                        <ul>
                            <li><?php
                                echo picto_tag('action_create');
                                if ($is_connected)
                                {
                                    echo m_link_to(__('Add'), 'outings/wizard',
                                                   array('title'=> __('Create new outing with some help')),
                                                   array('width' => 600));
                                }
                                else
                                {
                                    echo m_link_to(__('Add'), '@login',
                                                   array('title' => __('Create new outing unconnected'),
                                                         'query_string' => 'redirect=outings/wizard'),
                                                   array('width' => 600));
                                }
                            ?></li>
                            <li><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=outings') ?></li>
                            <li><?php
                                echo picto_tag('action_list')
                                   . link_to(__('cond short'), '@default?module=outings&action=conditions&orderby=date&order=desc') ?></li>
                            <li class="lilast"><?php
                                echo picto_tag('action_list')
                                   . link_to(__('avalanche_infos_short'), '@default?module=outings&action=conditions&avdate=2-3-4-5&date=2W&perso=areas-cult-ifon&orderby=date&order=desc') ?></li>
                        </ul>
                    </li>
                    <li><?php echo picto_tag('picto_routes')
                                 . link_to(ucfirst(__('routes')), '@default_index?module=routes') ?>
                        <ul>
                            <li><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=routes') ?></li>
                            <?php if ($is_connected): ?>
                            <li><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), getMetaArticleRoute('help_guide', false, 'route')) ?></li>
                            <?php endif ?>
                            <li class="lilast"><?php
                                echo picto_tag('picto_tools')
                                   . m_link_to(__('cotometre'), '@tool?action=cotometre',
                                               array('title'=> __('cotometre long')),
                                               array('width' => 600)) ?></li>
                        </ul>
                    </li>
                    <li><?php echo picto_tag('picto_summits')
                                 . link_to(ucfirst(__('summits')), '@default_index?module=summits') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=summits') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=summits&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_sites')
                           . link_to(ucfirst(__('sites')), '@default_index?module=sites') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=sites') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=sites&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_xreports')
                           . link_to(ucfirst(__('xreports')), '@default_index?module=xreports') ?>
                        <ul>
                            <li><?php
                                echo picto_tag('action_create');
                                if ($is_connected)
                                {
                                    echo link_to(__('Add'), '@document_edit?module=xreports&id=&lang=');
                                }
                                else
                                {
                                    echo m_link_to(__('Add'), '@login',
                                                   array('title' => __('Create new xreport unconnected'),
                                                         'query_string' => 'redirect=xreports/edit'),
                                                   array('width' => 600));
                                }
                            ?></li>
                            <li><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=xreports') ?></li>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_parkings')
                           . link_to(ucfirst(__('parkings')), '@default_index?module=parkings') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=parkings') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=parkings&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_huts')
                           . link_to(ucfirst(__('huts')), '@default_index?module=huts') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=huts') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=huts&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_products')
                           . link_to(ucfirst(__('products')), '@default_index?module=products') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=products') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=products&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('picto_books')
                           . link_to(ucfirst(__('books')), '@default_index?module=books') ?>
                        <ul>
                            <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                                echo picto_tag('action_query')
                                   . link_to(__('Search'), '@filter?module=books') ?></li>
                            <?php if ($is_connected): ?>
                            <li class="lilast"><?php
                                echo picto_tag('action_create')
                                   . link_to(__('Add'), '@document_edit?module=books&id=&lang=') ?></li>
                            <?php endif ?>
                        </ul>
                    </li>
                    <li><?php
                        echo picto_tag('action_filter')
                           . link_to(ucfirst(__('tags')), 'articles/list?ccat=10') ?></li>
                    <li class="lilast"><?php
                        echo picto_tag('action_help')
                           . link_to(__('Help'), getMetaArticleRoute('help_guide')) ?></li>
                </ul>
            </li>
            <li><?php
                echo link_to(__('Articles'), '@default_index?module=articles') ?>
                <ul>
                    <li><?php echo picto_tag('action_list')
                                 . link_to(ucfirst(__('Summary')), getMetaArticleRoute('home_articles')) ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('mountain environment')), 'articles/list?ccat=1') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('technique article')), 'articles/list?ccat=11') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('gear article')), 'articles/list?ccat=2') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('topoguide supplements')), 'articles/list?ccat=4') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('soft mobility')), 'articles/list?ccat=7') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('expeditions')), 'articles/list?ccat=8') ?></li>
                    <li><?php echo picto_tag('picto_articles')
                                 . link_to(ucfirst(__('stories')), 'articles/list?ccat=3') ?></li>
                    <li><?php
                        echo picto_tag('action_query')
                           . link_to(__('Search'), '@filter?module=articles') ?></li>
                    <li<?php if (!$is_connected): ?> class="lilast"<?php endif ?>><?php
                        echo picto_tag('action_help')
                           . link_to(__('Help'), getMetaArticleRoute('help_articles')) ?></li>
                    <?php if ($is_connected): ?>
                    <li class="lilast"><?php
                        echo picto_tag('action_create')
                           . link_to(__('Add'), '@document_edit?module=articles&id=&lang=') ?></li>
                    <?php endif ?>
                </ul>
            </li>
            <li><?php
                echo link_to(__('Gallery'), '@default_index?module=images') ?>
                <ul>
                    <li><?php
                        echo picto_tag('action_query')
                           . link_to(__('Search'), '@filter?module=images') ?></li>
                    <li><?php
                        echo picto_tag('picto_images')
                           . link_to(__('Collaborative images'), 'images/list?ityp=1') ?></li>
{'fraction_non_alphanumeric': 0.13948608452363423, 'fraction_numerical': 0.00213517891326756, 'mean_word_length': 0.9968391649514848, 'pattern_counts': {'":': 0, '<': 432, '<?xml version=': 0, '>': 452, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 117, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3629172', 'n_tokens_mistral': 6722, 'n_tokens_neox': 6508, 'n_words': 980}