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 | {if $user_id eq false} | |
10 | <center>{include file="modules/loginbox.tpl"}</center><br><br> | |
11 | {/if} | |
12 | ||
13 | <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/'> | |
14 | <table align='center'> | |
15 | <tr><td><input type='text' name='node_name' value='{$node.node_name}'> | |
16 | <td><input type='submit' name='event' value='configure_node_name'> | |
17 | <tr><td><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='cube' {if $node.node_system_access eq 'cube'}selected{/if}>cube</option> | |
22 | <option value='crypto' {if $node.node_system_access eq 'crypto'}selected{/if}>crypto</option> | |
23 | </select></td> | |
24 | <td><input type='submit' name='event' value='configure_system_access'> | |
25 | <tr><td><input name='node_external_access' type='checkbox' value='yes' {if $node.node_external_access eq 'yes'}checked{/if}> | |
26 | <td><input type='submit' name='event' value='configure_external_access'> | |
27 | <tr><td><input type='file' name='description_image'> | |
28 | <td><input type='submit' name='event' value='configure_image'> | |
29 | <tr><td><input type='text' name='template_id' value='{$node.template_id}'> | |
30 | <td><input type='submit' name='event' value='configure_template_id'> | |
31 | </table> | |
32 | <table><tr><td>apply on vector ??? <input type='checkbox' name='apply_on_vector'> </td></tr></table> | |
33 | </form> | |
34 | ||
35 | ||
36 | ||
37 | <form action='/id/{$node.node_id}/' method='post'> | |
38 | <table> | |
39 | <tr><td colspan='2'>vector: {$node.node_vector} </td></tr> | |
40 | <tr><td> | |
41 | <input type='text' name='new_parent' value='{$node.node_parent}'> | |
42 | </td><td> | |
43 | <input type='submit' name='event' value='set_parent'> | |
44 | </td></tr> | |
45 | </table> | |
46 | </form> | |
47 | ||
48 | <form action='/id/{$node.node_id}/' method='post'> | |
49 | <table> | |
50 | <tr><td><input type='text' name='owner' value='{$node.owner}'><input type='submit' name='event' value='set_creator'> | |
51 | </table> | |
52 | </form> | |
53 | ||
54 | <!-- | |
55 | <form action='/id/{$node.node_id}/' method='post'> | |
56 | <table><tr><td> | |
57 | <select name='template_id'> | |
58 | {foreach key=key from=$types item=template_id} | |
59 | <option value='{$key}'>{$template_id}</option> | |
60 | {/foreach} | |
61 | </select> | |
62 | </td> | |
63 | <td> | |
64 | <input type='submit' name='event' value='set_type'> | |
65 | </td></tr></table> | |
66 | </form> | |
67 | --> | |
68 | <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/'> | |
69 | {if $node.node_system_access eq 'crypto'}crypto password: {$crypto_pass}{/if} | |
70 | <input type='file' name='data_file'> <input type='submit' name='event' value='upload_data_file'> | |
71 | <br><input type='checkbox' name='unzip'>unzip? | |
72 | <input type='checkbox' name='gallery'>gallery<Br><br> | |
73 | </form> | |
74 | ||
75 | {if $user_id eq $node.node_id} | |
76 | <form action='/id/{$node.node_id}/' method='post'> | |
77 | <table align='center'> | |
78 | <tr><td><input type='text' name='header_id' value='{$header_id}'></td><td><input type='submit' name='event' value='set_header_template'></td></tr> | |
79 | <tr><td><input type='text' name='listing_amount' value='{$listing_amount}'></td><td><input type='submit' name='event' value='set_listing_amount'></td></tr> | |
80 | <tr><td><select name='listing_order'> | |
81 | <option value='desc' {if $smarty.session.listing_order eq 'desc'}selected{/if}>najnovsie hore</option> | |
82 | <option value='asc' {if $smarty.session.listing_order eq 'asc'}selected{/if}>najstarsie hore</option> | |
83 | </select> | |
84 | <td><input type='submit' name='event' value='set_listing_order'></td></tr> | |
85 | </table> | |
86 | <br> | |
87 | <table class='bordered'> | |
88 | <tr><td>old password</td><td><input name='old_password' type='password'></td></tr> | |
89 | <tr><td>new password</td><td><input name='new_password1' type='password'></td></tr> | |
90 | <tr><td>new password (again)</td><td><input name='new_password2' type='password'></td></tr> | |
91 | <tr><td colspan='2' align='center'><input type='submit' name='event' value='set_password'></td></tr> | |
92 | </table> | |
93 | </FORM> | |
94 | {/if} |