| 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 | <BR> |
| 10 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
| 11 | <br> |
| 12 | {if $permissions.w eq true} |
| 13 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
| 14 | <table><tr><td><input type='submit' name='event' value='add'> |
| 15 | |
| 16 | <td> |
| 17 | <select name='node_system_access'> |
| 18 | <option value='public' {if $node.node_system_access eq 'public'}selected{/if}>public</option> |
| 19 | <option value='moderated' {if $node.node_system_access eq 'moderated'}selected{/if}>moderated</option> |
| 20 | <option value='private' {if $node.node_system_access eq 'private'}selected{/if}>private</option> |
| 21 | <option value='crypto' {if $node.node_system_access eq 'crypto'}selected{/if}>crypto</option> |
| 22 | </select> |
| 23 | </td> |
| 24 | |
| 25 | <td> |
| 26 | <select name='template_id'> |
| 27 | {foreach from=$children_types item=template_id} |
| 28 | <option value='{$template_id}'>{$types[$template_id]}</option> |
| 29 | {/foreach} |
| 30 | </select> |
| 31 | </td> |
| 32 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
| 33 | </table> |
| 34 | {/if} |