<commit_before><%@ taglib uri="/WEB-INF/tld/jspwiki.tld" prefix="wiki" %>

<%-- Provides a small login/logout form to include in a side bar. --%>

<div class="loginbox" align="center">
  <wiki:UserCheck status="unvalidated">
    <form action="<wiki:Variable var="baseURL"/>Login.jsp" accept-charset="UTF-8" method="post" >
    <p>
      <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>" />
      <input type="text" name="uid" size="8" />
      <br />
      <input type="password" name="passwd" size="8" />
      <br />
      <input type="submit" name="action" value="login" />
    </p>
    </form>
  </wiki:UserCheck>
  <wiki:UserCheck status="validated">
    <form action="<wiki:Variable var="baseURL"/>Login.jsp" accept-charset="UTF-8">
    <p>
      <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>" />
      <input type="submit" name="action" value="logout" />
    </p>
    </form>
  </wiki:UserCheck>
</div>

<commit_msg>If user is know from cookie, prefill the Login box<commit_after><%@ taglib uri="/WEB-INF/tld/jspwiki.tld" prefix="wiki" %>

<%-- Provides a small login/logout form to include in a side bar. --%>

<div class="loginbox" align="center">
  <wiki:UserCheck status="unvalidated">
    <tt>Please log in</tt>
    <form action="<wiki:Variable var="baseURL"/>Login.jsp" accept-charset="UTF-8" method="post" >
    <p>
      <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>" />
      <input type="text" name="uid" size="8" value="<wiki:UserCheck status="known"><wiki:UserName /></wiki:UserCheck>" />
      <br />
      <input type="password" name="passwd" size="8" />
      <br />
      <input type="submit" name="action" value="login" />
    </p>
    </form>
  </wiki:UserCheck>
  <wiki:UserCheck status="validated">
    <form action="<wiki:Variable var="baseURL"/>Login.jsp" accept-charset="UTF-8">
    <p>
      <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>" />
      <input type="submit" name="action" value="logout" />
    </p>
    </form>
  </wiki:UserCheck>
</div>


{'fraction_non_alphanumeric': 0.20989433237271854, 'fraction_numerical': 0.0038424591738712775, 'mean_word_length': 3.7665903890160184, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 64, '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': '922115', 'n_tokens_mistral': 725, 'n_tokens_neox': 712, 'n_words': 151}