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