<commit_before><?php
    global $mysqli,$route,$session;
    require_once "Modules/dashboard/dashboard_model.php";
    $dashboard = new Dashboard($mysqli);
    load_language_files("Modules/dashboard/locale", "dashboard_messages");

    // get the default dashboard 
    $default = array();
    foreach($dashboard->get_list($session['userid'],false,false) as $item){
        if($item['main']===true){
            $default = $item;
        }
    }

    // navbar link
    $menu['tabs'][] = array(
        'icon'=>'dashboard',
        'title'=> dgettext("dashboard_messages","Dashboards"),
        'path'=> 'dashboard/view',
        'order' => 3,
        'data'=> array('sidebar' => '#sidebar_dashboard')
    );

    // sidebar nav list
    // Contains a list for the drop down with dashboards available for user session type<commit_msg>feature-topnav-text<commit_after><?php
    global $mysqli,$route,$session;
    require_once "Modules/dashboard/dashboard_model.php";
    $dashboard = new Dashboard($mysqli);
    load_language_files("Modules/dashboard/locale", "dashboard_messages");

    // get the default dashboard 
    $default = array();
    foreach($dashboard->get_list($session['userid'],false,false) as $item){
        if($item['main']===true){
            $default = $item;
        }
    }

    // navbar link
    $menu['tabs'][] = array(
        'icon'=>'dashboard',
        'text'=> dgettext("dashboard_messages","Dashboards"),
        'path'=> 'dashboard/view',
        'order' => 3,
        'data'=> array('sidebar' => '#sidebar_dashboard')
    );

    // sidebar nav list
    // Contains a list for the drop down with dashboards available for user session type
{'fraction_non_alphanumeric': 0.1625821876867902, 'fraction_numerical': 0.001195457262402869, 'mean_word_length': 3.072992700729927, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1310338', 'n_tokens_mistral': 486, 'n_tokens_neox': 499, 'n_words': 105}