1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" 5 xmlns:template="http://www.boddie.org.uk/ns/xmltools/template"> 6 <head> 7 <title>Very Simple Login</title> 8 <script type="text/javascript" src="{$root}scripts/sarissa.js"> </script> 9 <script type="text/javascript" src="{$root}scripts/XSLForms.js"> </script> 10 </head> 11 12 <body template:element="login"> 13 <h1 template:i18n="-">Login</h1> 14 15 <form method="post"> 16 <table cellspacing="0" cellpadding="5" id="login-info"> 17 <thead> 18 <tr> 19 <th class="heading" colspan="2" template:i18n="-">Login</th> 20 </tr> 21 </thead> 22 <tbody> 23 <tr template:element="error" template:init="no"> 24 <th class="error" template:i18n="-">Error</th> 25 <td><span template:i18n="{@message}">error message</span></td> 26 </tr> 27 <tr> 28 <th template:i18n="-">Username</th> 29 <td><input type="text" template:attribute-field="username" name="..." value="..." size="20"/></td> 30 </tr> 31 <tr> 32 <th template:i18n="-">Password</th> 33 <td><input type="password" template:attribute-field="password" name="..." value="..." size="20"/></td> 34 </tr> 35 <tr> 36 <td colspan="2"> 37 <input type="submit" value="{template:i18n('Log in!')}" name="login" /> 38 </td> 39 </tr> 40 </tbody> 41 </table> 42 </form> 43 44 </body> 45 </html>