Mercurial > prosody-modules
comparison mod_register_web/mod_register_web.lua @ 791:b9d149936764
mod_register_web: Show actual hostname in registration form
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 10 Aug 2012 21:40:52 +0200 |
| parents | 03595194075a |
| children | 6617f5f79d68 |
comparison
equal
deleted
inserted
replaced
| 790:4f9cd19c4658 | 791:b9d149936764 |
|---|---|
| 33 <form action="]]..request.path..[[" method="POST">]] | 33 <form action="]]..request.path..[[" method="POST">]] |
| 34 ..("<p>%s</p>\n"):format((display_options or {}).register_error or "").. | 34 ..("<p>%s</p>\n"):format((display_options or {}).register_error or "").. |
| 35 [[ <table> | 35 [[ <table> |
| 36 <tr> | 36 <tr> |
| 37 <td>Username:</td> | 37 <td>Username:</td> |
| 38 <td><input type="text" name="username">@server</td> | 38 <td><input type="text" name="username">@]]..module.host..[[</td> |
| 39 </tr> | 39 </tr> |
| 40 <tr> | 40 <tr> |
| 41 <td>Password:</td> | 41 <td>Password:</td> |
| 42 <td><input type="password" name="password"></td> | 42 <td><input type="password" name="password"></td> |
| 43 </tr> | 43 </tr> |
