<commit_before><?php
	// location
	if(!isset($location)) {
		$location = Utility::currentPageURL();
	}
?>
<?php if(!isset($nomodal) || !$nomodal): ?>
<div id="loginModal" class="reveal-modal small" data-reveal>
<?php endif; ?>
	<form action="<?php echo AUTHENTICATION_PATH; ?>login/?goto=<?php echo $location; ?>" id="loginForm" method="post">
		<input type="hidden" name="goto" value="<?php echo $location; ?>">
		<input type="hidden" name="endpoint" value="<?php echo AUTHENTICATION_PATH; ?>ajax.php">
		<div class="row">
			<div class="medium-12 small-12 columns">
				<h3>Login to Felix Online</h3>
				<div class="alert-box ajax-login-error" style="display: none;">
				</div>
				<div class="row">
					<div class="small-3 columns">
						<label for="user" class="right inline">IC Username</label>
					</div>
					<div class="small-9 columns">
						<input type="text" name="username" id="user" class="small" placeholder="a.gast"/>
					</div>
				</div>
				<div class="row">
					<div class="small-3 columns">
						<label for="password" class="right inline">IC Password</label>
					</div>
					<div class="small-9 columns">
						<input type="password" name="password" id="password" placeholder="•••••••••••"/>
					</div>
				</div>
				<div class="row">
					<div class="small-3 columns">
						<label for="rememberButton" class="right">Remember Me?</label>
					</div>
					<div class="small-9 columns">
						<input type="checkbox" name="remember" id="rememberButton" value="rememberme" checked="checked" />
					</div>
				</div>
				<div class="row">
					<div class="small-3 push-3 columns">
						<input type="submit" value="Login (SSL)" name="login" id="submit" class="login-button button small radius" />
					</div>
				</div>
			</div>
		</div>
	</form>
	<div class="login-spin" style="display: none;">
		<h3>Login to Felix Online</h3>
		<img src="<?php echo STANDARD_URL; ?>/img/loading.gif" alt="Loading">
	</div>
<?php if(!isset($nomodal) || !$nomodal): ?>
	<a class="close-reveal-modal">&#215;</a>
</div>
<?php endif; ?>
<input type="hidden" name="login-token" id="login-token" value="<?php echo Utility::generateCSRFToken('login'); ?>"/><commit_msg>Remove some old ajax login code<commit_after><?php
	// location
	if(!isset($location)) {
		$location = Utility::currentPageURL();
	}
?>
<?php if(!isset($nomodal) || !$nomodal): ?>
<div id="loginModal" class="reveal-modal small" data-reveal>
<?php endif; ?>
	<form action="<?php echo AUTHENTICATION_PATH; ?>login/?goto=<?php echo $location; ?>" id="loginForm" method="post">
		<div class="row">
			<div class="medium-12 small-12 columns">
				<h3>Login to Felix Online</h3>
				<div class="alert-box ajax-login-error" style="display: none;">
				</div>
				<div class="row">
					<div class="small-3 columns">
						<label for="user" class="right inline">IC Username</label>
					</div>
					<div class="small-9 columns">
						<input type="text" name="username" id="user" class="small" placeholder="a.gast"/>
					</div>
				</div>
				<div class="row">
					<div class="small-3 columns">
						<label for="password" class="right inline">IC Password</label>
					</div>
					<div class="small-9 columns">
						<input type="password" name="password" id="password" placeholder="•••••••••••"/>
					</div>
				</div>
				<div class="row">
					<div class="small-3 columns">
						<label for="rememberButton" class="right">Remember Me?</label>
					</div>
					<div class="small-9 columns">
						<input type="checkbox" name="remember" id="rememberButton" value="rememberme" checked="checked" />
					</div>
				</div>
				<div class="row">
					<div class="small-3 push-3 columns">
						<input type="submit" value="Login (SSL)" name="login" id="submit" class="login-button button small radius" />
					</div>
				</div>
			</div>
		</div>
	</form>
<?php if(!isset($nomodal) || !$nomodal): ?>
	<a class="close-reveal-modal">&#215;</a>
</div>
<?php endif; ?>
{'fraction_non_alphanumeric': 0.21337741607324517, 'fraction_numerical': 0.009155645981688708, 'mean_word_length': 3.9347553324968634, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4608345', 'n_tokens_mistral': 1622, 'n_tokens_neox': 1316, 'n_words': 306}