<commit_before><?php
/**
 * @version     $Id$
 * @category    Nooku
 * @package     Nooku_Server
 * @subpackage  Articles
 * @copyright   Copyright (C) 2011 Timble CVBA and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */

defined('KOOWA') or die('Restricted access') ?>

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

<script src="media://lib_koowa/js/koowa.js" />
<style src="media://lib_koowa/css/koowa.css" />

<script>
window.addEvent('domready', function() {
	var elForm       = document.id('articles-form');
	
	['articles-form-created-by','articles-form-access'].each(function(item) {
		document.id(item).addEvent('change', function() {
			elForm.submit();
		})
	});
});
</script>

<?= @toolbar(); ?>

<?= @template('default_sidebar'); ?>

<form id="articles-form" action="<?= @route() ?>" method="get" class="-koowa-grid">
    <?= @template('default_filter'); ?>
    <table class="adminlist">
        <thead>
            <tr>
                <th width="10"></th>
                <th>
                    <?= @helper('grid.sort', array('column' => 'title')) ?>
                </th>
                <th width="7%"><commit_msg>Removed @toolbar() helper. Toolbar rendering is now being done through the commandable behavior.<commit_after><?php
/**
 * @version     $Id$
 * @category    Nooku
 * @package     Nooku_Server
 * @subpackage  Articles
 * @copyright   Copyright (C) 2011 Timble CVBA and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */

defined('KOOWA') or die('Restricted access') ?>

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

<script src="media://lib_koowa/js/koowa.js" />
<style src="media://lib_koowa/css/koowa.css" />

<script>
window.addEvent('domready', function() {
	var elForm       = document.id('articles-form');
	
	['articles-form-created-by','articles-form-access'].each(function(item) {
		document.id(item).addEvent('change', function() {
			elForm.submit();
		})
	});
});
</script>

<?= @template('default_sidebar'); ?>

<form id="articles-form" action="<?= @route() ?>" method="get" class="-koowa-grid">
    <?= @template('default_filter'); ?>
    <table class="adminlist">
        <thead>
            <tr>
                <th width="10"></th>
                <th>
                    <?= @helper('grid.sort', array('column' => 'title')) ?>
                </th>
                <th width="7%">
{'fraction_non_alphanumeric': 0.20841683366733466, 'fraction_numerical': 0.006412825651302605, 'mean_word_length': 2.869767441860465, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 46, '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': '7323072', 'n_tokens_mistral': 864, 'n_tokens_neox': 819, 'n_words': 142}