<commit_before><?
/**
 * Nooku Framework - http://www.nooku.org
 *
 * @copyright	Copyright (C) 2011 - 2013 <NAME> and Timble CVBA. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		git://git.assembla.com/nooku-framework.git for the canonical source repository
 */
?>

<?= helper('behavior.mootools') ?>
<?= helper('behavior.modal') ?>

<? $list = (isset($row) && isset($table)) ? $attachments->find(array('row' => $row, 'table' => $table)) : $attachments ?>

<? if(count($list)) : ?>
    <ul class="thumbnails">
        <? foreach($list as $item) : ?>
            <? if($item->file->isImage() && !in_array($item->id, Nooku\Library\ObjectConfig::unbox($exclude))) : ?>
                <li class="span3">
                    <a onClick="_gaq.push(['_trackEvent', 'Attachments', 'Preview', 'Image']);" class="thumbnail modal" href="attachments://<?= $item->path; ?>" rel="{handler: 'image'}">
                        <img width="640px" src="attachments://<?= $item->thumbnail ?>" /><commit_msg>re #596 - Renamed event<commit_after><?
/**
 * Nooku Framework - http://www.nooku.org
 *
 * @copyright	Copyright (C) 2011 - 2013 <NAME> and Timble CVBA. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		git://git.assembla.com/nooku-framework.git for the canonical source repository
 */
?>

<?= helper('behavior.mootools') ?>
<?= helper('behavior.modal') ?>

<? $list = (isset($row) && isset($table)) ? $attachments->find(array('row' => $row, 'table' => $table)) : $attachments ?>

<? if(count($list)) : ?>
    <ul class="thumbnails">
        <? foreach($list as $item) : ?>
            <? if($item->file->isImage() && !in_array($item->id, Nooku\Library\ObjectConfig::unbox($exclude))) : ?>
                <li class="span3">
                    <a onClick="_gaq.push(['_trackEvent', 'Attachments', 'Modalbox', 'Image']);" class="thumbnail modal" href="attachments://<?= $item->path; ?>" rel="{handler: 'image'}">
                        <img width="640px" src="attachments://<?= $item->thumbnail ?>" />
{'fraction_non_alphanumeric': 0.23213429256594725, 'fraction_numerical': 0.013908872901678656, 'mean_word_length': 3.419491525423729, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2897309', 'n_tokens_mistral': 734, 'n_tokens_neox': 694, 'n_words': 125}