<commit_before><?
/**
 * Belgian Police Web Platform - Wanted Component
 *
 * @copyright	Copyright (C) 2012 - 2013 Timble CVBA. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		https://github.com/belgianpolice/internet-platform
 */
?>

<meta content="noimageindex" name="robots" />

<ul class="cards clearfix">
    <? foreach ($articles as $article) : ?>
        <li class="card card--horizontal">
            <a href="<?= helper('route.article', array('row' => $article)) ?>">
                <? if($article->attachments_attachment_id): ?>
                    <?= helper('com:police.image.thumbnail', array(
                        'attachment' => $article->attachments_attachment_id,
                        'attribs' => array('width' => '400', 'height' => '500'))) ?>
                <? else : ?>
                    <img src="assets://found/images/placeholder.jpg" />
                <? endif ?>

                <span class="card__metadata">
                    <span class="card__metadata--inner">
                        <span class="card__name"><?= escape($article->title) ?></span>
                        <span class="card__date"><?= date(array('date' => $article->date, 'format' => 'd/m/y')) ?> <?= $article->city ? translate('in').' '.escape($article->city) : '' ?></span>
                        <? if($article->params->get('place', false) || $article->city) : ?>
                        <span class="card__place"><?= $article->city ? $article->city : $article->params->get('place') ?></span>
                        <? endif ?>
                    </span>
                </span>
            </a>
        </li>
    <? endforeach; ?>
</ul><commit_msg>#27 - Typo<commit_after><?
/**
 * Belgian Police Web Platform - Wanted Component
 *
 * @copyright	Copyright (C) 2012 - 2013 Timble CVBA. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		https://github.com/belgianpolice/internet-platform
 */
?>

<meta content="noimageindex" name="robots" />

<ul class="cards clearfix">
    <? foreach ($articles as $article) : ?>
        <li class="card card--horizontal">
            <a href="<?= helper('route.article', array('row' => $article)) ?>">
                <? if($article->attachments_attachment_id): ?>
                    <?= helper('com:police.image.thumbnail', array(
                        'attachment' => $article->attachments_attachment_id,
                        'attribs' => array('width' => '400', 'height' => '500'))) ?>
                <? else : ?>
                    <img src="assets://found/images/placeholder.jpg" />
                <? endif ?>

                <span class="card__metadata">
                    <span class="card__metadata--inner">
                        <span class="card__name"><?= escape($article->title) ?></span>
                        <span class="card__date"><?= date(array('date' => $article->date, 'format' => 'd/m/y')) ?>
                        <? if($article->params->get('place', false) || $article->city) : ?>
                        <span class="card__place"><?= $article->city ? $article->city : $article->params->get('place') ?></span>
                        <? endif ?>
                    </span>
                </span>
            </a>
        </li>
    <? endforeach; ?>
</ul>
{'fraction_non_alphanumeric': 0.19520958083832335, 'fraction_numerical': 0.009580838323353293, 'mean_word_length': 1.8976582827406765, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 105, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '3959656', 'n_tokens_mistral': 987, 'n_tokens_neox': 924, 'n_words': 170}