<commit_before><?php
/**
 * @version     $Id: default.php 843 2011-04-06 21:06:44Z johanjanssens $
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Users
 * @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' ); ?>

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

<? if($parameters->get('show_page_title', 1)) : ?>
    <div class="componentheading<?= @escape($parameters->get('pageclass_sfx')) ?>">
        <?= @escape($parameters->get('page_title')) ?>
    </div>
<? endif ?>

<form action="<?= @route('view=user') ?>" method="post" id="com-form-login">
    <input type="hidden" name="action" value="login" />
    <table width="100%" border="0" align="center" cellpadding="4" cellspacing="0" class="contentpane<?= @escape($parameters->get('pageclass_sfx')) ?>">
        <tr>
            <td colspan="2">
                <? if($parameters->get('show_login_title')) : ?>
                    <div class="componentheading<?= @escape($parameters->get('pageclass_sfx')) ?>">
                        <?= $parameters->get('header_login') ?>
                    </div>
                <? endif ?>
                <div>
                    <? if($parameters->get('description_login')) : ?>
                        <?= $parameters->get('description_login_text' ) ?>
                        <br /><br />
                    <? endif ?>
                </div>
            </td>
        </tr>
    </table>

    <fieldset class="input">
        <p id="com-form-login-username">
            <label for="username"><?= @text('Username') ?></label><br />
            <input name="username" id="username" type="text" class="inputbox" alt="username" size="18" />
        </p>
        <p id="com-form-login-password">
            <label for="password"><?= @text('Password') ?></label><br />
            <input type="password" id="password" name="password" class="inputbox" size="18" alt="password" />
        </p>
        <input type="submit" name="Submit" class="button" value="<?= @text('LOGIN') ?>" />
    </fieldset>

    <ul>
        <li>
            <a href="<?= @route('view=reset') ?>">
            <?= @text('FORGOT_YOUR_PASSWORD') ?></a>
        </li>
        <li>
            <a href="<?= @route('view=remind') ?>">
            <?= @text('FORGOT_YOUR_USERNAME') ?></a>
        </li>
        <? if($parameters->get('registration')) : ?>
        <li>
            <a href="<?= @route('view=register') ?>">
                <?= @text('REGISTER') ?></a>
        </li>
        <? endif ?>
    </ul>
</form><commit_msg>re #176 : Fixed typo<commit_after><?php
/**
 * @version     $Id: default.php 843 2011-04-06 21:06:44Z johanjanssens $
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Users
 * @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' ); ?>

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

<? if($parameters->get('show_page_title', 1)) : ?>
    <div class="componentheading<?= @escape($parameters->get('pageclass_sfx')) ?>">
        <?= @escape($parameters->get('page_title')) ?>
    </div>
<? endif ?>

<form action="<?= @route('view=user') ?>" method="post" id="com-form-login">
    <input type="hidden" name="action" value="login" />
    <table width="100%" border="0" align="center" cellpadding="4" cellspacing="0" class="contentpane<?= @escape($parameters->get('pageclass_sfx')) ?>">
        <tr>
            <td colspan="2">
                <? if($parameters->get('show_login_title')) : ?>
                    <div class="componentheading<?= @escape($parameters->get('pageclass_sfx')) ?>">
                        <?= $parameters->get('header_login') ?>
                    </div>
                <? endif ?>
                <div>
                    <? if($parameters->get('description_login')) : ?>
                        <?= $parameters->get('description_login_text' ) ?>
                        <br /><br />
                    <? endif ?>
                </div>
            </td>
        </tr>
    </table>

    <fieldset class="input">
        <p id="com-form-login-username">
            <label for="username"><?= @text('Username') ?></label><br />
            <input name="username" id="username" type="text" class="inputbox" alt="username" size="18" />
        </p>
        <p id="com-form-login-password">
            <label for="password"><?= @text('Password') ?></label><br />
            <input type="password" id="password" name="password" class="inputbox" size="18" alt="password" />
        </p>
        <input type="submit" name="Submit" class="button" value="<?= @text('LOGIN') ?>" />
    </fieldset>

    <ul>
        <li>
            <a href="<?= @route('view=reset') ?>">
            <?= @text('FORGOT_YOUR_PASSWORD') ?></a>
        </li>
        <li>
            <a href="<?= @route('view=remind') ?>">
            <?= @text('FORGOT_YOUR_USERNAME') ?></a>
        </li>
        <? if($parameters->get('registration')) : ?>
        <li>
            <a href="<?= @route('view=user&layout=register') ?>">
                <?= @text('REGISTER') ?></a>
        </li>
        <? endif ?>
    </ul>
</form>
{'fraction_non_alphanumeric': 0.21858519730860157, 'fraction_numerical': 0.012911438443353337, 'mean_word_length': 2.2602252519264967, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 171, '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': '4550982', 'n_tokens_mistral': 1791, 'n_tokens_neox': 1713, 'n_words': 292}