<tr><td align=right><strong>New password:</strong></td><td align=left><input type="password" size="25" name="password" value="%s"><br><small><span class=quicknote>Note:</span> The password phrase may contain punctuation, spaces, etc.</small></td><td><input type="hidden" name="action" value="edit"></td></tr>
<tr><td align=center colspan=3><code class=blocknote><input class="formbutton" type="submit" value="Set new values"></code> </td></tr>
</table>
</form>
</body>
"""%(email,password)
return text
## perform_ask(): ask for the user's email and password, for login in the system
def perform_ask():
text = """
<p>If you already have an account, please log in by choosing the <strong class=headline>login
</strong> button below. <br>If you don't own an account yet, please enter the values of your preference and choose the <strong class=headline>register</strong> button.
<p><strong>Note:</strong> Your email address will stay strictly confidential and won't be disclosed to any third party. It will be used to indentify you to the CERN Document Server personal services. For example, you may set up an automatic alert search that will look for new preprints and will notify you daily of new arrivals by email.
</form>
"""
return text
# perform_logout: display the message of not longer authorized,
def perform_logout(req):
out =""
out+="""
<p>You are not longer recognized. If you wish you can login here <A href="./login">here</A>.
"""
return out
#def perform_lost: ask the user for his email, in order to send him the lost password
def perform_lost():
out =""
out +="""
<body>
<p><big><strong class=headline>Lost your password?</strong></big>