<commit_before><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' lang='en-US' xml:lang='en-US'>
<head>
    <link rel='shortcut icon' href='images/favicon.ico'/>
    <title>Child Protection Takedown</title>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
    <script src='scripts/jquery-1.10.2.min.js'></script>
    <script src='scripts/jquery.validate.min.js'></script>
    <script src='scripts/moment.min.js'></script>
    <script src='scripts/pikaday.js'></script>
    <script src='scripts/pikaday.jquery.js'></script>
    <script src='scripts/lca.js'></script>
    <script>
    $(document).ready(function(){

    //validate
    $("#ncmec-form1").validate();

    //initialize datepickers

    var $datepicker1 = $('#access-date').pikaday({
        firstDay: 1,
        minDate: new Date('2000-01-01'),
        maxDate: new Date('2020-12-31'),
        yearRange: [2000,2020]
    });

    var $datepicker2 = $('#incident-date').pikaday({
        firstDay: 1,
        minDate: new Date('2000-01-01'),
        maxDate: new Date('2020-12-31'),
        yearRange: [2000,2020]
    });

   //From http://www.alessioatzeni.com/blog/simple-tooltip-with-jquery-only-text/
   $('.showTooltip').hover(function(){
        // Hover over code
        var title = $(this).attr('title');
        $(this).data('tipText', title).removeAttr('title');
        $('<p class="tooltip"></p>')
        .text(title)
        .appendTo('body')
        .fadeIn('slow');
    }, function() {
        // Hover out code
        $(this).attr('title', $(this).data('tipText'));
        $('.tooltip').remove();
    }).mousemove(function(e) {
        var mousex = e.pageX + 20; //Get X coordinates
        var mousey = e.pageY + 10; //Get Y coordinates
        $('.tooltip')
        .css({ top: mousey, left: mousex })
    });

    //remove browser tooltip by removing title on hover
    $('.showTooltip[title]').mouseover(function () {
        $this = $(this);
        $this.data('title', $this.attr('title'));
        // Using null here wouldn't work in IE, but empty string will work just fine.
        $this.attr('title', '');
    }).mouseout(function () {
        $this = $(this);
        $this.attr('title', $this.data('title'));
    });

    var selectedH = <?php echo "'".gmdate( "H", time() )."'"?>;
    $("select#access-time-hour option").filter(function() {
        return $(this).val() == selectedH;
    }).prop('selected', true);

    var selectedi = <?php echo "'".gmdate( "i", time() )."'"?>;
    $("select#access-time-min option").filter(function() {
        return $(this).val() == selectedi;
    }).prop('selected', true);

    $('#legal-approved').change(function(){
        var val = $(this).val();

        if(val == 'Y') {
            $('#who-approved').attr("readonly", false);
            $('#why-not-approved').attr("readonly", true);
        } else {
            $('#why-not-approved').attr("readonly", false);
            $('#who-approved').attr("readonly", true);
        }
    });


});

</script>
    <style type='text/css'>
    <!--/* <![CDATA[ */
    @import 'css/main.css';
    @import 'css/pikaday.css';
    @import 'css/lca.css';
    /* ]]> */-->
    .external, .external:visited { color: #222222; }
    .autocomment{color:gray}
    </style>
</head>
<body class='mediawiki'>
    <div id='globalWrapper'>
        <div id='column-content'>
            <div id='content'>
                <h1>Child Protection Takedown</h1>
                <table border='1' style='position:absolute; left:10spx; top:40px;'>
                        <tr>
                            <td>
                                Server/Connection Status
                            </td>
                            <td >
                                Production
                                <img id='ncmec-prod' src='images/List-remove.svg' width='15px'/>
                            </td>
                            <td>
                                Test
                                <img id='ncmec-test' src='images/List-remove.svg' width='15px'/>
                            </td>
                        </tr>
                </table>
                <br />
                <form method='post' action='NCMECprocessing.php' id='ncmec-form1' enctype='multipart/form-data'>
                    <fieldset>
                        <legend>Logging Data</legend>
                        <table border='1' id='mw-movepage-table'>
                            <tr>
                                <td>
                                    <label for='legal-approved'> Was this release to NCMEC Approved by the legal department? </label>
                                </td>
                                <td>
                                    <select id='legal-approved' name='legal-approved' required>
                                        <option value='Y'>Yes</option>
                                        <option value='N'>No</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for='who-approved'>If Yes: Who in the legal department approved the release?</label>
                                </td>
                                <td>
                                    <input id ='who-approved' name='who-approved' type='text' size='30' value=''>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for='why-not-approved'> If No: Why not? </label>
                                </td>
                                <td>
                                    <input id='why-not-approved' name='why-not-approved' type='text' size='50' value='' readonly='true' />
                                </td>
                            </tr>
                            <tr>
                                <td >
                                    <label for='logging-metadata'> Please check all statements which are true </label>
                                </td>
                                <td>
                                    <input type='checkbox' name='logging-metadata[]' value='The content was taken down and suppressed.'> The content was taken down and suppressed. <br />
                                    <input type='checkbox' name='logging-metadata[]' value='An email was sent to <EMAIL> with the file name asking for it to be deleted.'> An email was sent to <a href='mailto:<EMAIL>' target='_blank'><EMAIL></a> with the file name asking for it to be deleted.<br />
                                    <input type='checkbox' name='logging-metadata[]' value='The user who uploaded the content has been locked.'> The user who uploaded the content has been locked. <br />
                                    <input type='checkbox' name='logging-metadata[]' value='Checkuser data was available and is being included below.'> Checkuser data was available and is being included below.
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for='logging-details'> Is there any information that you would like to record in the permenant log? <br /> <b><u>Note:</u> Do not include Checkuser data you are not ok with being permenantly kept </b></label>
                                </td>
                                <td>
                                    <textarea id ='logging-details' name='logging-details' wrap='virtual' rows='4' ></textarea>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <fieldset>
                        <legend> Information about the reporter </legend>
                        <table border='0' id='mw-movepage-table'>
                            <tr>
                                <td>
                                    <label for='is-test'> Is this a test? </label>
                                </td>
                                <td>
                                    <select name='is-test' id='is-test'>
                                        <option value='N'>No</option>
                                        <option value='Y' selected>Yes</option>
                                    </select> <img class='showTooltip' src='images/20px-Help.png' title='Select Yes if this is a test of the processing system. Remember to select No for sendign to Chilling Effects '/><commit_msg>default to not test to avoid production problems<commit_after><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' lang='en-US' xml:lang='en-US'>
<head>
    <link rel='shortcut icon' href='images/favicon.ico'/>
    <title>Child Protection Takedown</title>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
    <script src='scripts/jquery-1.10.2.min.js'></script>
    <script src='scripts/jquery.validate.min.js'></script>
    <script src='scripts/moment.min.js'></script>
    <script src='scripts/pikaday.js'></script>
    <script src='scripts/pikaday.jquery.js'></script>
    <script src='scripts/lca.js'></script>
    <script>
    $(document).ready(function(){

    //validate
    $("#ncmec-form1").validate();

    //initialize datepickers

    var $datepicker1 = $('#access-date').pikaday({
        firstDay: 1,
        minDate: new Date('2000-01-01'),
        maxDate: new Date('2020-12-31'),
        yearRange: [2000,2020]
    });

    var $datepicker2 = $('#incident-date').pikaday({
        firstDay: 1,
        minDate: new Date('2000-01-01'),
        maxDate: new Date('2020-12-31'),
        yearRange: [2000,2020]
    });

   //From http://www.alessioatzeni.com/blog/simple-tooltip-with-jquery-only-text/
   $('.showTooltip').hover(function(){
        // Hover over code
        var title = $(this).attr('title');
        $(this).data('tipText', title).removeAttr('title');
        $('<p class="tooltip"></p>')
        .text(title)
        .appendTo('body')
        .fadeIn('slow');
    }, function() {
        // Hover out code
        $(this).attr('title', $(this).data('tipText'));
        $('.tooltip').remove();
    }).mousemove(function(e) {
        var mousex = e.pageX + 20; //Get X coordinates
        var mousey = e.pageY + 10; //Get Y coordinates
        $('.tooltip')
        .css({ top: mousey, left: mousex })
    });

    //remove browser tooltip by removing title on hover
    $('.showTooltip[title]').mouseover(function () {
        $this = $(this);
        $this.data('title', $this.attr('title'));
        // Using null here wouldn't work in IE, but empty string will work just fine.
        $this.attr('title', '');
    }).mouseout(function () {
        $this = $(this);
        $this.attr('title', $this.data('title'));
    });

    var selectedH = <?php echo "'".gmdate( "H", time() )."'"?>;
    $("select#access-time-hour option").filter(function() {
        return $(this).val() == selectedH;
    }).prop('selected', true);

    var selectedi = <?php echo "'".gmdate( "i", time() )."'"?>;
    $("select#access-time-min option").filter(function() {
        return $(this).val() == selectedi;
    }).prop('selected', true);

    $('#legal-approved').change(function(){
        var val = $(this).val();

        if(val == 'Y') {
            $('#who-approved').attr("readonly", false);
            $('#why-not-approved').attr("readonly", true);
        } else {
            $('#why-not-approved').attr("readonly", false);
            $('#who-approved').attr("readonly", true);
        }
    });


});

</script>
    <style type='text/css'>
    <!--/* <![CDATA[ */
    @import 'css/main.css';
    @import 'css/pikaday.css';
    @import 'css/lca.css';
    /* ]]> */-->
    .external, .external:visited { color: #222222; }
    .autocomment{color:gray}
    </style>
</head>
<body class='mediawiki'>
    <div id='globalWrapper'>
        <div id='column-content'>
            <div id='content'>
                <h1>Child Protection Takedown</h1>
                <table border='1' style='position:absolute; left:10spx; top:40px;'>
                        <tr>
                            <td>
                                Server/Connection Status
                            </td>
                            <td >
                                Production
                                <img id='ncmec-prod' src='images/List-remove.svg' width='15px'/>
                            </td>
                            <td>
                                Test
                                <img id='ncmec-test' src='images/List-remove.svg' width='15px'/>
                            </td>
                        </tr>
                </table>
                <br />
                <form method='post' action='NCMECprocessing.php' id='ncmec-form1' enctype='multipart/form-data'>
                    <fieldset>
                        <legend>Logging Data</legend>
                        <table border='1' id='mw-movepage-table'>
                            <tr>
                                <td>
                                    <label for='legal-approved'> Was this release to NCMEC Approved by the legal department? </label>
                                </td>
                                <td>
                                    <select id='legal-approved' name='legal-approved' required>
                                        <option value='Y'>Yes</option>
                                        <option value='N'>No</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for='who-approved'>If Yes: Who in the legal department approved the release?</label>
                                </td>
                                <td>
                                    <input id ='who-approved' name='who-approved' type='text' size='30' value=''>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for='why-not-approved'> If No: Why not? </label>
                                </td>
                                <td>
                                    <input id='why-not-approved' name='why-not-approved' type='text' size='50' value='' readonly='true' />
                                </td>
                            </tr>
                            <tr>
                                <td >
                                    <label for='logging-metadata'> Please check all statements which are true </label>
                                </td>
                                <td>
                                    <input type='checkbox' name='logging-metadata[]' value='The content was taken down and suppressed.'> The content was taken down and suppressed. <br />
                                    <input type='checkbox' name='logging-metadata[]' value='An email was sent to <EMAIL> with the file name asking for it to be deleted.'> An email was sent to <a href='mailto:<EMAIL>' target='_blank'><EMAIL></a> with the file name asking for it to be deleted.<br />
                                    <input type='checkbox' name='logging-metadata[]' value='The user who uploaded the content has been locked.'> The user who uploaded the content has been locked. <br />
                                    <input type='checkbox' name='logging-metadata[]' value='Checkuser data was available and is being included below.'> Checkuser data was available and is being included below.
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for='logging-details'> Is there any information that you would like to record in the permenant log? <br /> <b><u>Note:</u> Do not include Checkuser data you are not ok with being permenantly kept </b></label>
                                </td>
                                <td>
                                    <textarea id ='logging-details' name='logging-details' wrap='virtual' rows='4' ></textarea>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <fieldset>
                        <legend> Information about the reporter </legend>
                        <table border='0' id='mw-movepage-table'>
                            <tr>
                                <td>
                                    <label for='is-test'> Is this a test? </label>
                                </td>
                                <td>
                                    <select name='is-test' id='is-test'>
                                        <option value='N' selected>No</option>
                                        <option value='Y'>Yes</option>
                                    </select> <img class='showTooltip' src='images/20px-Help.png' title='Select Yes if this is a test of the processing system. Remember to select No for sendign to Chilling Effects '/>
{'fraction_non_alphanumeric': 0.14609600271385764, 'fraction_numerical': 0.011307740148131396, 'mean_word_length': 1.285861979839752, 'pattern_counts': {'":': 0, '<': 283, '<?xml version=': 0, '>': 283, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 42, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3991619', 'n_tokens_mistral': 4840, 'n_tokens_neox': 4488, 'n_words': 1087}