<commit_before><?php
 /**
 * ClipIt - JuxtaLearn Web Space
 * PHP version:     >= 5.2
 * Creation date:   7/07/14
 * Last update:     7/07/14
 * @author          <NAME> <<EMAIL>>, URJC JuxtaLearn Project
 * @version         $Version$
 * @link            http://www.juxtalearn.eu
 * @license         GNU Affero General Public License v3
 * @package         ClipIt
 */
$id = uniqid();
?>
<script>
$("[data-task='<?php echo $id;?>'] .datepicker").each(function() {
    var defaults = {hour: 0, minute: 0};
    if($(this).hasClass('input-task-end')){
        defaults = {hour: 23, minute: 45};
    }
    var activity_start = moment($('input[name="activity-start"').val(), 'DD/MM/YYYY').format('DD/MM/YY'),
        activity_end = moment($('input[name="activity-end"').val(), 'DD/MM/YYYY').format('DD/MM/YY');
    $(this).datetimepicker(clipit.datetimepickerDefault(
        $.extend(defaults, {
            minDate: activity_start ,
            maxDate: activity_end
        })
    ));
});
</script>
<li class="list-item col-md-12 task" data-task="<?php echo $id;?>">
    <?php echo elgg_view('activity/create/task', array('task_type' => 'upload', 'id' => $id));?>
    <ul class="feedback_form" style="margin-left: 20px;display: none">
        <li style="padding: 10px;background: #fafafa;" class="col-md-12">
            <div class="col-mds-12">
                <h4><?php echo elgg_echo('task:feedback');?></h4>
            </div>
            <?php echo elgg_view('activity/create/task', array('task_type' => 'feedback', 'id' => $id));?>
        </li>
    </ul>
</li><commit_msg>* input task (start date, end date) fixed<commit_after><?php
 /**
 * ClipIt - JuxtaLearn Web Space
 * PHP version:     >= 5.2
 * Creation date:   7/07/14
 * Last update:     7/07/14
 * @author          <NAME> <<EMAIL>>, URJC JuxtaLearn Project
 * @version         $Version$
 * @link            http://www.juxtalearn.eu
 * @license         GNU Affero General Public License v3
 * @package         ClipIt
 */
$id = uniqid();
?>
<script>
$("[data-task='<?php echo $id;?>'] .datepicker").each(function() {
    var defaults = {hour: 0, minute: 0};
    if($(this).hasClass('input-task-end')){
        defaults = {hour: 23, minute: 45};
    }
    var activity_start = moment($('input[name="activity-start"]').val(), 'DD/MM/YYYY').format('DD/MM/YY'),
        activity_end = moment($('input[name="activity-end"]').val(), 'DD/MM/YYYY').format('DD/MM/YY');
    $(this).datetimepicker(clipit.datetimepickerDefault(
        $.extend(defaults, {
            minDate: activity_start ,
            maxDate: activity_end
        })
    ));
});
</script>
<li class="list-item col-md-12 task" data-task="<?php echo $id;?>">
    <?php echo elgg_view('activity/create/task', array('task_type' => 'upload', 'id' => $id));?>
    <ul class="feedback_form" style="margin-left: 20px;display: none">
        <li style="padding: 10px;background: #fafafa;" class="col-md-12">
            <div class="col-mds-12">
                <h4><?php echo elgg_echo('task:feedback');?></h4>
            </div>
            <?php echo elgg_view('activity/create/task', array('task_type' => 'feedback', 'id' => $id));?>
        </li>
    </ul>
</li>
{'fraction_non_alphanumeric': 0.20566037735849058, 'fraction_numerical': 0.01949685534591195, 'mean_word_length': 2.805023923444976, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3020567', 'n_tokens_mistral': 1128, 'n_tokens_neox': 1071, 'n_words': 218}