Codex's updates...

This commit is contained in:
2026-10-18 19:27:17 -04:00
parent a1643eb1b7
commit 02223083f6
338 changed files with 14757 additions and 7986 deletions
+27 -21
View File
@@ -5,63 +5,69 @@
<!-- Parameters -->
<xsl:param name="CSRF_TOKEN"/><xsl:param name="PASSWORD_ERROR"/>
<xsl:param name="VERSION">1.0</xsl:param>
<xsl:param name="PAGE-TITLE">Change Password</xsl:param>
<xsl:param name="PAGE-NAME">changePassword</xsl:param>
<xsl:template match="/">
<script src="js/{$PAGE-NAME}.js?version={$VERSION}"/>
<div class="{$PAGE-NAME}">
<div class="card">
<div class="card-header bg-primary text-white p-1 ps-3">
<i class="bi bi-lock me-2"/>
<xsl:value-of select="$PAGE-TITLE"/>
</div>
<div class="card-body">
<form action="" name="{$PAGE-NAME}" method="post" id="{$PAGE-NAME}">
<xsl:if test="$PASSWORD_ERROR != ''"><p class="alert alert-danger" role="alert"><xsl:value-of select="$PASSWORD_ERROR"/></p></xsl:if>
<form action="main.php" name="{$PAGE-NAME}" method="post" id="{$PAGE-NAME}">
<input type="hidden" name="action" value="Users.changePassword"/>
<input type="hidden" name="step" value="change"/>
<input type="hidden" name="step" value="change"/>
<input type="hidden" name="csrf_token" value="{$CSRF_TOKEN}"/>
<label for="user_current_password" class="form-label">Current password</label>
<input type="password" class="form-control mb-3" name="user_current_password" id="user_current_password" autocomplete="current-password" required="required"/>
<p>Use a new password between 12 and 72 bytes long.</p>
<div class="row">
<div class="col-lg-3 mb-3">
<label class="form-label" for="user_new_password">New Password</label>
<input type="password" class="form-control form-control-sm autosave" name="user_new_password" id="user_new_password" maxlength="128" autocomplete="off" autofocus="autofocus"/>
<input type="password" class="form-control form-control-sm" name="user_new_password" id="user_new_password" maxlength="128" autocomplete="new-password" required="required" autofocus="autofocus"/>
</div>
</div>
<div class="row">
<div class="col-lg-3 mb-3">
<label class="form-label" for="user_verify_password">Verify Password</label>
<input type="password" class="form-control form-control-sm autosave" name="user_verify_password" id="user_verify_password" maxlength="128" autocomplete="off" autofocus="autofocus"/>
<input type="password" class="form-control form-control-sm" name="user_verify_password" id="user_verify_password" maxlength="128" autocomplete="new-password" required="required" autofocus="autofocus"/>
</div>
</div>
</form>
<div class="buttons mt-1 mb-2">
<button type="button" class="btn btn-sm btn-primary me-2 btnSave">
<button type="submit" form="changePassword" class="btn btn-sm btn-primary me-2">
<i class="bi bi-save me-2"/>Save</button>
<button type="button" class="btn btn-sm btn-primary me-2 btnCancel">
<button type="button" class="btn btn-sm btn-primary me-2" onclick="window.location.href='main.php'">
<i class="bi bi-box-arrow-left me-2"/>Cancel</button>
</div>
</div>
</div>
</div>
</xsl:template>
</xsl:stylesheet>