<commit_before><?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:yanel="http://www.wyona.org/yanel/1.0"
>

<!--
  <xsl:output method="xhtml" encoding="UTF-8"/>
-->

  <xsl:param name="yanel.back2realm" select="'BACK2REALM_IS_NULL'"/>
  <xsl:param name="yanel.reservedPrefix" select="'RESERVEDPREFIX_IS_NULL'"/>

  <xsl:template match="/">
    <html>
      <head>
        <title>Yanel - Login</title>
        <link rel="stylesheet" href="{$yanel.back2realm}{$yanel.reservedPrefix}/yanel-css/global.css" type="text/css"/>
      </head>
      <body>
        <table cellspacing="0" cellpadding="0" id="bodytable">
          <tr>
            <td id="title">
              Login to realm "<xsl:value-of select="/yanel:yanel-auth-screen/yanel:realm/@yanel:name"/>"
            </td>
            <td id="logo">  
               <img src="{$yanel.back2realm}{$yanel.reservedPrefix}/yanel-img/yanel_header.png"/>
            </td>
          </tr>
          <tr>
            <td width="100%" valign="top"  colspan="2">
              <div id="content">

        <p>Authorization was denied. Please, enter your username and password.</p>
        <xsl:apply-templates select="/yanel:yanel-auth-screen/yanel:message"/>
          <form method="POST">
            Username:<xsl:choose><xsl:when test="/yanel:yanel-auth-screen/yanel:login-default"><input type="text" name="yanel.login.username" value="{/yanel:yanel-auth-screen/yanel:login-default/@yanel:username}"/></xsl:when><xsl:otherwise><input type="text" name="yanel.login.username"/></xsl:otherwise></xsl:choose>
            Password:<input type="password" name="yanel.login.password"/>
            <xsl:choose><xsl:when test="/yanel:yanel-auth-screen/yanel:login-default"><input type="checkbox" name="remember-my-login-name" checked="checked"/></xsl:when><xsl:otherwise><input type="checkbox" name="remember-my-login-name"/></xsl:otherwise></xsl:choose> Remember my login name (for 1 day (<a href="">More info</a>). Uncheck if on a shared computer!)
            <input type="submit" value="Login"/>
          </form>
        <xsl:apply-templates select="/yanel:yanel-auth-screen/yanel:ssl"/>
	<p>
	or login with <a href="http://www.openid.net">OpenID</a>:
	<form method="POST">
          <input type="text" name="yanel.login.openid"/>
          <input type="checkbox" name="remember-my-login-name"/> Remember my OpenID (for 1 day (<a href="">More info</a>). Uncheck if on a shared computer!)
          <input type="submit" value="Login"/>
	</form>
	(For example: username.wordpress.com)
	</p>
        <hr/>
        <p>
        <xsl:choose>
          <xsl:when test="/yanel:yanel-auth-screen/yanel:request/@yanel:qs"><commit_msg>also cover the openid case<commit_after><?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:yanel="http://www.wyona.org/yanel/1.0"
>

<!--
  <xsl:output method="xhtml" encoding="UTF-8"/>
-->

  <xsl:param name="yanel.back2realm" select="'BACK2REALM_IS_NULL'"/>
  <xsl:param name="yanel.reservedPrefix" select="'RESERVEDPREFIX_IS_NULL'"/>

  <xsl:template match="/">
    <html>
      <head>
        <title>Yanel - Login</title>
        <link rel="stylesheet" href="{$yanel.back2realm}{$yanel.reservedPrefix}/yanel-css/global.css" type="text/css"/>
      </head>
      <body>
        <table cellspacing="0" cellpadding="0" id="bodytable">
          <tr>
            <td id="title">
              Login to realm "<xsl:value-of select="/yanel:yanel-auth-screen/yanel:realm/@yanel:name"/>"
            </td>
            <td id="logo">  
               <img src="{$yanel.back2realm}{$yanel.reservedPrefix}/yanel-img/yanel_header.png"/>
            </td>
          </tr>
          <tr>
            <td width="100%" valign="top"  colspan="2">
              <div id="content">

        <p>Authorization was denied. Please, enter your username and password.</p>
        <xsl:apply-templates select="/yanel:yanel-auth-screen/yanel:message"/>
          <form method="POST">
            Username:<xsl:choose><xsl:when test="/yanel:yanel-auth-screen/yanel:login-default"><input type="text" name="yanel.login.username" value="{/yanel:yanel-auth-screen/yanel:login-default/@yanel:username}"/></xsl:when><xsl:otherwise><input type="text" name="yanel.login.username"/></xsl:otherwise></xsl:choose>
            Password:<input type="password" name="yanel.login.password"/>
            <xsl:choose><xsl:when test="/yanel:yanel-auth-screen/yanel:login-default"><input type="checkbox" name="remember-my-login-name" checked="checked"/></xsl:when><xsl:otherwise><input type="checkbox" name="remember-my-login-name"/></xsl:otherwise></xsl:choose> Remember my login name (for 1 day (<a href="">More info</a>). Uncheck if on a shared computer!)
            <input type="submit" value="Login"/>
          </form>
        <xsl:apply-templates select="/yanel:yanel-auth-screen/yanel:ssl"/>
	<p>
	or login with <a href="http://www.openid.net">OpenID</a>:
	<form method="POST">
          <xsl:choose><xsl:when test="/yanel:yanel-auth-screen/yanel:login-openid"><input type="text" name="yanel.login.openid" value="{/yanel:yanel-auth-screen/yanel:login-openid/@yanel:openid}"/></xsl:when><xsl:otherwise><input type="text" name="yanel.login.openid"/></xsl:otherwise></xsl:choose>
          <xsl:choose><xsl:when test="/yanel:yanel-auth-screen/yanel:login-openid"><input type="checkbox" name="remember-my-login-name" checked="checked"/></xsl:when><xsl:otherwise><input type="checkbox" name="remember-my-login-name"/></xsl:otherwise></xsl:choose> Remember my OpenID (for 1 day (<a href="">More info</a>). Uncheck if on a shared computer!)
          <input type="submit" value="Login"/>
	</form>
	(For example: username.wordpress.com)
	</p>
        <hr/>
        <p>
        <xsl:choose>
          <xsl:when test="/yanel:yanel-auth-screen/yanel:request/@yanel:qs">
{'fraction_non_alphanumeric': 0.19758130413466252, 'fraction_numerical': 0.011439777741461023, 'mean_word_length': 3.4347826086956523, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 10}, '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': '797792', 'n_tokens_mistral': 2198, 'n_tokens_neox': 2026, 'n_words': 311}