/usr/share/pyshared/acct_mgr/templates/register.html is in trac-accountmanager 0.4.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:i18n="http://genshi.edgewall.org/i18n"
i18n:domain="acct_mgr">
<xi:include href="layout.html" />
<?python
if _dgettext is not None:
dgettext = _dgettext ?>
<head>
<title>Register</title>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('input[@name=username]')[0].focus();
});
</script>
</head>
<body>
<div id="content" class="register">
<h1>Register an account</h1>
<div class="system-message" py:if="registration_error">
<h2>Error</h2>
<p>$registration_error</p>
</div>
<form method="post" id="acctmgr_registerform" action="">
<fieldset>
<legend>Required</legend>
<div>
<input type="hidden" name="action" value="create" />
<label>Username:
<input type="text" name="username" class="textwidget"
size="20" value="${acctmgr.username}" />
</label>
<p class="hint" py:if="ignore_auth_case">
Only lowercase usernames allowed
</p>
</div>
<div>
<label>Password:
<input type="password" name="password"
class="textwidget" size="20" />
</label>
</div>
<div>
<label>Confirm Password:
<input type="password" name="password_confirm"
class="textwidget" size="20" />
</label>
</div>
<div py:for="field in required_fields">
<!--! Additional required fields can be included below. -->
${field}
</div>
</fieldset>
<fieldset>
<legend>Optional</legend>
<div>
<label>Name:
<input type="text" name="name" class="textwidget" size="20"
value="${acctmgr.name}"/>
</label>
</div>
<div py:for="field in optional_fields">
<!--! Additional optional fields can be included below. -->
${field}
</div>
</fieldset>
<div class="buttons">
<input type="submit"
value="${dgettext('acct_mgr', 'Create account')}" />
</div>
</form>
</div>
</body>
</html>
|