<commit_before>{* Set variables for TOS and Privacy links *}
{{ $terms_url = Framework\Mvc\Router\Uri::get('page', 'main', 'terms') }}
{{ $privacy_url = Framework\Mvc\Router\Uri::get('page', 'main', 'privacy') }}

{{ $design->staticFiles('css', PH7_STATIC . PH7_CSS . PH7_JS, 'disclaimer.css') }}
{{ $design->staticFiles('js', PH7_STATIC . PH7_JS, 'disclaimer.js') }}

<div id="disclaimer-window">
    <h1 class="center">
        {lang}Welcome to %site_name% ❤️{/lang}
    </h1>

    <p class="italic center">
        {lang}This site contains sexually-oriented adult materials which may be offensive to some viewers.{/lang}
    </p>

    <p class="bold center s_tMarg">
        {lang}To continue, please confirm you are over 18.{/lang}
    </p>

    <p class="center s_tMarg">
        <button id="accept-over18" class="btn btn-default btn-lg">{lang '✅ I am over 18'}</button>
        <button id="close-window" class="btn btn-default btn-lg">{lang '❌ EXIT'}</button>
    </p>

    <p class="small s_tMarg">
        {lang 'By entering to to <strong>%site_url%</strong>, you are agreeing to the <a class="bold" href="%0%" target="_blank" rel="nofollow">Terms of Use</a> and <a class="bold" href="%1%" target="_blank" rel="nofollow">Privacy Policy</a>.', $terms_url, $privacy_url}
    </p>
</div>
<div id="disclaimer-background"></div>
<commit_msg>Update disclaimer dialog<commit_after>{* Set variables for TOS and Privacy links *}
{{ $terms_url = Framework\Mvc\Router\Uri::get('page', 'main', 'terms') }}
{{ $privacy_url = Framework\Mvc\Router\Uri::get('page', 'main', 'privacy') }}

<div id="disclaimer-window" class="center">
    <h1>
        {lang}Welcome to %site_name% ❤️{/lang}
    </h1>

    <p class="italic s_tMarg">
        {lang}This site contains sexually-oriented adult materials which may be offensive to some viewers.{/lang}
    </p>

    <p class="bold s_tMarg">
        {lang}To continue, please confirm you are over 18.{/lang}
    </p>

    <p class="s_tMarg">
        <button id="accept-over18" class="btn btn-default btn-lg">
            {lang '✅ I am over 18'}
        </button>
        <button id="close-window" class="btn btn-default btn-lg">
            {lang '❌ EXIT'}
        </button>
    </p>

    <p class="s_tMarg">
        <small>
            {lang 'By entering to to <strong>%site_url%</strong>, you are agreeing to the <a class="bold" href="%0%" target="_blank" rel="nofollow">Terms of Use</a> and <a class="bold" href="%1%" target="_blank" rel="nofollow">Privacy Policy</a>.', $terms_url, $privacy_url}
        </small>
    </p>
</div>
<div id="disclaimer-background"></div>

{* Include the disclaimer's asset files *}
{{ $design->staticFiles('css', PH7_STATIC . PH7_CSS . PH7_JS, 'disclaimer.css') }}
{{ $design->staticFiles('js', PH7_STATIC . PH7_JS, 'disclaimer.js') }}

{'fraction_non_alphanumeric': 0.1875891583452211, 'fraction_numerical': 0.010699001426533523, 'mean_word_length': 3.6134868421052633, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 57, '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': '1205809', 'n_tokens_mistral': 1006, 'n_tokens_neox': 974, 'n_words': 248}