<commit_before><?php
/**
 * @version     $Id$
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Banners
 * @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.tooltip') ?>
<?= @helper('behavior.validator') ?>
  
<script src="media://lib_koowa/js/koowa.js" />
<style src="media://lib_koowa/css/koowa.css" />

<script>
window.addEvent('domready', function(){
    $('reset_hits').addEvent('click', function() {
        $('hits_label').setHTML(0);
        $('hits_field').set('value',0);
    });
});
</script>

<form action="" method="post" id="banner-form" class="-koowa-form">
    <div class="grid_8">
        <div class="panel title group">
			<input class="inputbox required" type="text" name="title" id="title" size="40" maxlength="255" value="<?= @escape($banner->title) ?>" placeholder="<?= @text('Name') ?>" />
		
			<label for="slug">
				<?= @text( 'Slug' ) ?>
				<input class="inputbox" type="text" name="slug" id="slug" size="40" maxlength="255" value="<?= @escape($banner->slug) ?>" title="<?= @text('ALIASTIP') ?>" placeholder="<?= @text('Slug') ?>" />
			</label><commit_msg>Render toolbars.<commit_after><?php
/**
 * @version     $Id$
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Banners
 * @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.tooltip') ?>
<?= @helper('behavior.validator') ?>
  
<script src="media://lib_koowa/js/koowa.js" />
<style src="media://lib_koowa/css/koowa.css" />

<script>
window.addEvent('domready', function(){
    $('reset_hits').addEvent('click', function() {
        $('hits_label').setHTML(0);
        $('hits_field').set('value',0);
    });
});
</script>

<?= @template('com://admin/default.view.form.toolbar'); ?>

<form action="" method="post" id="banner-form" class="-koowa-form">
    <div class="grid_8">
        <div class="panel title group">
			<input class="inputbox required" type="text" name="title" id="title" size="40" maxlength="255" value="<?= @escape($banner->title) ?>" placeholder="<?= @text('Name') ?>" />
		
			<label for="slug">
				<?= @text( 'Slug' ) ?>
				<input class="inputbox" type="text" name="slug" id="slug" size="40" maxlength="255" value="<?= @escape($banner->slug) ?>" title="<?= @text('ALIASTIP') ?>" placeholder="<?= @text('Slug') ?>" />
			</label>
{'fraction_non_alphanumeric': 0.24117428465254553, 'fraction_numerical': 0.013377926421404682, 'mean_word_length': 4.247563352826511, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 50, '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': '5712393', 'n_tokens_mistral': 998, 'n_tokens_neox': 963, 'n_words': 167}