<commit_before>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <link rel="stylesheet" href="{{ asset('bundles/sonatablueprint/screen.css') }}" type="text/css" media="screen, projection">
        <link rel="stylesheet" href="{{ asset('bundles/sonatablueprint/print.css') }}" type="text/css" media="print">
        <!--[if lt IE 8]><link rel="stylesheet" href="{{ asset('bundles/sonatapage/blueprint/ie.css') }}" type="text/css" media="screen, projection"><![endif]-->

        <link rel="stylesheet" href="{{ asset('bundles/sonatajquery/themes/flick/jquery-ui-1.8.6.custom.css') }}" type="text/css" media="all" />
        <script src="{{ asset('bundles/sonatajquery/jquery-1.4.4.js') }}" type="text/javascript"></script>
        <script src="{{ asset('bundles/sonatajquery/jquery-ui-1.8.6.custom.js') }}" type="text/javascript"></script>
        <script src="{{ asset('bundles/sonatajquery/jquery-ui-i18n.js') }}" type="text/javascript"></script>

        <link rel="stylesheet" href="{{ asset('bundles/sonatapage/page.css') }}" type="text/css" media="all">

        <title>{% block title %}{{ page.name }}{%endblock%}</title>
    </head>

    <body>
        {% if page_admin is defined and page_admin.isGranted(['EDIT']) %}
            <script src="{{ asset('bundles/sonatapage/page.js') }}" type="text/javascript"></script>
            <div class="sonata-page-top-bar">
                <div style="float: right"><strong><em><a href="http://sonata-project.<EMAIL>">Sonata Project</a></em></strong></div>
                <input type="checkbox" id="page-action-enabled-edit" />
                <label for="page-action-enabled-edit">{% trans from 'PageBundle' %}show_zone{% endtrans%}</label>
                &#149; {{ page.name }} :
                <a href="{{ path('admin_sonata_page_page_edit', {'id': page.id }) }}" target="_new">{{ "edit_page"|trans({}, 'PageBundle') }}</a>
                , <a href="{{ path('admin_sonata_page_page_snapshot_create', {'id': page.id }) }}" target="_new">{{ "create_snapshot"|trans({}, 'PageBundle') }}</a>
                &#149; <a href="{{ path('admin_sonata_page_page_list') }}" target="_new">{{ "view_all_pages"|trans({}, 'PageBundle') }}</a><commit_msg>move the admin css into the conditional edit check<commit_after>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <link rel="stylesheet" href="{{ asset('bundles/sonatablueprint/screen.css') }}" type="text/css" media="screen, projection">
        <link rel="stylesheet" href="{{ asset('bundles/sonatablueprint/print.css') }}" type="text/css" media="print">
        <!--[if lt IE 8]><link rel="stylesheet" href="{{ asset('bundles/sonatapage/blueprint/ie.css') }}" type="text/css" media="screen, projection"><![endif]-->

        <link rel="stylesheet" href="{{ asset('bundles/sonatajquery/themes/flick/jquery-ui-1.8.6.custom.css') }}" type="text/css" media="all" />
        <script src="{{ asset('bundles/sonatajquery/jquery-1.4.4.js') }}" type="text/javascript"></script>
        <script src="{{ asset('bundles/sonatajquery/jquery-ui-1.8.6.custom.js') }}" type="text/javascript"></script>
        <script src="{{ asset('bundles/sonatajquery/jquery-ui-i18n.js') }}" type="text/javascript"></script>

        <title>{% block title %}{{ page.name }}{%endblock%}</title>
    </head>

    <body>
        {% if page_admin is defined and page_admin.isGranted(['EDIT']) %}
            <script src="{{ asset('bundles/sonatapage/page.js') }}" type="text/javascript"></script>
            <link rel="stylesheet" href="{{ asset('bundles/sonatapage/page.css') }}" type="text/css" media="all">
            <div class="sonata-page-top-bar">
                <div style="float: right"><strong><em><a href="http://sonata-project.org">Sonata Project</a></em></strong></div>
                <input type="checkbox" id="page-action-enabled-edit" />
                <label for="page-action-enabled-edit">{% trans from 'PageBundle' %}show_zone{% endtrans%}</label>
                &#149; {{ page.name }} :
                <a href="{{ path('admin_sonata_page_page_edit', {'id': page.id }) }}" target="_new">{{ "edit_page"|trans({}, 'PageBundle') }}</a>
                , <a href="{{ path('admin_sonata_page_page_snapshot_create', {'id': page.id }) }}" target="_new">{{ "create_snapshot"|trans({}, 'PageBundle') }}</a>
                &#149; <a href="{{ path('admin_sonata_page_page_list') }}" target="_new">{{ "view_all_pages"|trans({}, 'PageBundle') }}</a>
{'fraction_non_alphanumeric': 0.21437222446507873, 'fraction_numerical': 0.007670569236980218, 'mean_word_length': 3.746168582375479, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 0, '>': 92, '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': '2113691', 'n_tokens_mistral': 1620, 'n_tokens_neox': 1555, 'n_words': 303}