| 1 | <!-- |
| 2 | This program is free software. It comes without any warranty, to |
| 3 | the extent permitted by applicable law. You can redistribute it |
| 4 | and/or modify it under the terms of the Do What The Fuck You Want |
| 5 | To Public License, Version 2, as published by Sam Hocevar. See |
| 6 | http://sam.zoy.org/wtfpl/COPYING for more details. |
| 7 | --> |
| 8 | |
| 9 | <form enctype="multipart/form-data" action='/id/{$node.node_id}/{if $action neq false}{$action}{/if}' method='post'> |
| 10 | {$error} |
| 11 | {if $permissions.r neq true} you don't have permissions for viewing this data node{/if} |
| 12 | {if $user_id eq false} |
| 13 | <table><tr><td>login::</td><td> <input tabindex=1 accesskey=l type='text' name='login'></td> |
| 14 | <td> password::</td><td><input tabindex=2 accesskey=p type='password' name='password'></td><td> |
| 15 | <input tabindex=3 type='submit' name='event' value='login'></td></tr></table> |
| 16 | <script language="JavaScript" type="text/javascript"> |
| 17 | <!-- |
| 18 | document.write("<input type='hidden' name='screen_width' value='" + screen.width + |
| 19 | "'><input type='hidden' name='screen_height' value='" + |
| 20 | screen.height + "'>"); |
| 21 | // --> |
| 22 | </script> |
| 23 | |
| 24 | {/if} |
| 25 | </form> |