<commit_before><?
/**
 * @version     $Id: default.php 843 2011-04-06 21:06:44Z johanjanssens $
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Users
 * @copyright   Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */
?>

<!--
<script src="media://lib_koowa/js/koowa.js" />
-->
<?= @helper('behavior.keepalive'); ?>

<div class="page-header">
    <h1><?= @escape($parameters->get('page_title')) ?></h1>
</div>

<form action="" method="post" id="com-form-login" class="form-horizontal">
    <? if($parameters->get('description_login_text')) : ?>
    <p><?= $parameters->get('description_login_text' ) ?></p>
    <? endif ?>
    
    <div class="control-group">
        <label class="control-label" for="email"><?= @text('E-mail') ?></label>
        <div class="controls">
            <input name="email" type="text" alt="email" />
        </div>
    </div>
    
    <div class="control-group">
        <label class="control-label" for="password"><?= @text('Password') ?></label>
        <div class="controls">
            <input type="password" name="password" alt="password" />
            <span class="help-block">
                <small><a href="<?= @route('view=password&layout=token') ?>"><?php echo JText::_('FORGOT_YOUR_PASSWORD'); ?></a></small>
            </span>
        </div>
    </div>
    
    <div class="form-actions">
        <button type="submit" class="validate btn btn-primary"><?= @text('Sign in') ?></button>
        <? if($parameters->get('registration')) : ?>
        	<?= @text('or') ?>
        	<a href="<?= @route('view=user&layout=form') ?>"><?= @text('Sign up'); ?></a>
        <?php endif; ?>
    </div>
</form><commit_msg>Added JS validation.<commit_after><?
/**
 * @version     $Id: default.php 843 2011-04-06 21:06:44Z johanjanssens $
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Users
 * @copyright   Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */
?>

<?=@helper('behavior.mootools')?>
<?=@helper('behavior.keepalive')?>
<?=@helper('behavior.validator')?>

<div class="page-header">
    <h1><?= @escape($parameters->get('page_title')) ?></h1>
</div>

<form action="" method="post" id="com-form-login" class="-koowa-form form-horizontal">
    <? if($parameters->get('description_login_text')) : ?>
    <p><?= $parameters->get('description_login_text' ) ?></p>
    <? endif ?>
    
    <div class="control-group">
        <label class="control-label" for="email"><?= @text('E-mail') ?></label>
        <div class="controls">
            <input id="email" class="required validate-email" name="email" type="text" alt="email" />
        </div>
    </div>
    
    <div class="control-group">
        <label class="control-label" for="password"><?= @text('Password') ?></label>
        <div class="controls">
            <input id="password" class="required" type="password" name="password" alt="password" />
            <span class="help-block">
                <small><a href="<?= @route('view=password&layout=token') ?>"><?php echo JText::_('FORGOT_YOUR_PASSWORD'); ?></a></small>
            </span>
        </div>
    </div>
    
    <div class="form-actions">
        <button type="submit" class="validate btn btn-primary"><?= @text('Sign in') ?></button>
        <? if($parameters->get('registration')) : ?>
        	<?= @text('or') ?>
        	<a href="<?= @route('view=user&layout=form') ?>"><?= @text('Sign up'); ?></a>
        <?php endif; ?>
    </div>
</form>
{'fraction_non_alphanumeric': 0.22958771220695232, 'fraction_numerical': 0.01509027216383724, 'mean_word_length': 3.106194690265487, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 117, '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': '3107519', 'n_tokens_mistral': 1259, 'n_tokens_neox': 1237, 'n_words': 229}