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