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 | ||
10 | {get_movement_params children_count=$node.node_children_count} | |
11 | {include file="modules/header.tpl"} | |
12 | ||
13 | {if $error eq true} | |
14 | <center><font style='error'>{$error}</font></center> | |
15 | {/if} | |
16 | ||
17 | {if $user_id eq false} | |
18 | <center>{include file="modules/loginbox.tpl"}</center><br><br> | |
19 | {/if} | |
20 | ||
21 | <table width='100%'><tr> | |
22 | ||
23 | <!--left column--> | |
24 | <td valign='top' align='center' width='23%'> | |
25 | {* show node info *} | |
26 | {include file="modules/node_settings.tpl"} | |
27 | ||
28 | {* showing poll *} | |
29 | {include file="modules/get_poll_box.tpl"} | |
30 | <br> | |
31 | {*showing bookmark_statistics*} | |
32 | {include file="modules/get_bookmark_statistics_box.tpl"} | |
33 | ||
34 | </td> | |
35 | ||
36 | <!--end of left column--> | |
37 | ||
38 | <!--main central column--> | |
39 | <td valign='top'> | |
40 | {*showing node_content*} | |
41 | {include file="modules/node_content.tpl"} | |
42 | ||
43 | <form enctype="multipart/form-data" action='/id/{$node.node_id}/{if $action neq false}{$action}{/if}' method='post' name='formular'> | |
44 | {if $permissions.w eq true} | |
45 | <table> | |
46 | <tr><td> | |
47 | ||
48 | title or keywords:: | |
49 | <input type='text' name='node_name'> | |
50 | </td> | |
51 | <td><input type='checkbox' name='no_html' value='yes'><td valign='middle'> NO HTML</td> | |
52 | ||
53 | </tr></table> | |
54 | ||
55 | <textarea name='node_content'></textarea> | |
56 | ||
57 | <table width=666><tr> | |
58 | <td> | |
59 | ||
60 | <input type='submit' name='event' value='add'> | |
61 | <td> | |
62 | <select name='template_id'> | |
63 | <option value='2'>nodeshell</option> | |
64 | <option value='3'>forum</option> | |
65 | <option value='4'>submission</option> | |
66 | <option value='5'>article</option> | |
67 | <option value='10'>bookcat</option> | |
68 | <option value='12'>data</option> | |
69 | <option value='14'>template</option> | |
70 | <option value='28'>rss_bot</option> | |
71 | <option value='1683309'>noudshell</option> | |
72 | </select> | |
73 | </td> | |
74 | ||
75 | <td><input type='submit' name='template_event' value='preview'> | |
76 | <td><table><tr> | |
77 | <td><input type='hidden' name='get_children_offset' value='0'></td> | |
78 | <td><input type='submit' name='get_children_move' value='<'></td> | |
79 | <td><input type='submit' name='get_children_move' value='<<'></td> | |
80 | <td><input class='small' name='listing_amount' type='text' value=''></td> | |
81 | <td><select name='listing_order'> | |
82 | <option value='desc' selected >zozadu :-)</option> | |
83 | <option value='asc' >(-: zpredu</option></select></td> | |
84 | <td><input name='get_children_move' type='submit' value='>>'></td> | |
85 | <td><input type='submit' name='get_children_move' value='>'></td> | |
86 | </tr></table></td> | |
87 | ||
88 | <td align='left'><input type='submit' name='template_event' value='filter_by'> | |
89 | <td align='left'><select name='search_type'><option value='user'>user</option><option value='content'>content</option> | |
90 | </select> | |
91 | ||
92 | <td><input type='hidden' name='node_parent' value='{$node.node_id}'> | |
93 | </tr> | |
94 | ||
95 | <tr><td colspan='5' align='center'> | |
96 | <table><tr><td colspan='5' align='center'> | |
97 | <input type='submit' name='event' value='delete'> | |
98 | <input type='submit' name='event' value='set_parent'>::<input type='text' name='new_parent'> | |
99 | </td></tr></table></td></tr> | |
100 | </table> | |
101 | ||
102 | <table align='center'> | |
103 | <tr> | |
104 | <td>u have {$user_k}</td> | |
105 | <td><input type='submit' value='K' name='event'></td> | |
106 | </tr> | |
107 | </table> | |
108 | ||
109 | {/if} | |
110 | </form> | |
111 | ||
112 | {get_children listing_amount='23232323232323' offset=$offset types=$children_types} | |
113 | ||
114 | ||
115 | {foreach from=$get_children item=child} | |
116 | {$child.depth} | |
117 | ||
118 | {if $child.template_id eq 2} | |
119 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
120 | nodeshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
121 | (<a href='/id/23/{$child.node_vector}'>posledne</a>, <a href='/id/15/{$child.node_vector}'>k</a>, | |
122 | {if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) | |
123 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
124 | (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
125 | ||
126 | {elseif $child.template_id eq 1417553} | |
127 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
128 | node-hell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
129 | (<a href='/id/23/{$child.node_vector}'>posledne</a>, <a href='/id/15/{$child.node_vector}'>k</a>, | |
130 | {if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) | |
131 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
132 | (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
133 | ||
134 | {elseif $child.template_id eq 1683309} | |
135 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
136 | noudshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
137 | (<a href='/id/23/{$child.node_vector}'>posledne</a>, <a href='/id/15/{$child.node_vector}'>k</a>, | |
138 | {if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) | |
139 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
140 | (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
141 | ||
142 | {elseif $child.template_id eq 3} | |
143 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
144 | forum:: <a href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
145 | ({$child.node_children_count} children{if $child.node_user_subchild_count} <span class='most_important'> {$child.node_user_subchild_count} NEW</span>{/if}) | |
146 | ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'> | |
147 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
148 | {$child.login}</a>)<br> | |
149 | ||
150 | {elseif $child.template_id eq 4} | |
151 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
152 | submission:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
153 | ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
154 | ||
155 | {elseif $child.template_id eq 5} | |
156 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
157 | article:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
158 | ||
159 | {elseif $child.template_id eq 10} | |
160 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
161 | bookcat:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>) :: {$child.node_id}<br> | |
162 | ||
163 | {elseif $child.template_id eq 12} | |
164 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
165 | data:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: ({if $node.node_creator eq $user_id or $node.node_permission eq 'master' or $node.node_permission eq 'op'}<a href='/id/{$node.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
166 | ||
167 | {elseif $child.template_id eq 14} | |
168 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
169 | template:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>) :: {$child.node_id}<br> | |
170 | ||
171 | {elseif $child.template_id eq 28} | |
172 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
173 | rss_bot:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
174 | ||
175 | {elseif $child.template_id eq $child.node_id} | |
176 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
177 | templejt:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>) :: {$child.node_id}<br> | |
178 | ||
179 | {else} | |
180 | ||
181 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
182 | node:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
183 | ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
184 | {/if} | |
185 | {/foreach} | |
186 | ||
187 | ||
188 | {get_linked_nodes orderby=$listing_order} | |
189 | {foreach from=$get_linked_nodes item=link} | |
190 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'> | |
191 | link:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> :: | |
192 | (<a href='/id/23/{$link.node_vector}'>posledne</a>, | |
193 | ||
194 | <a href='/id/15/{$link.node_vector}'>k</a>) | |
195 | {if $link.synapse_created > $link.last_visit}<span class='most_important'> NEW LINK</span>{/if} (({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if}) | |
196 | (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>) <br> | |
197 | {/foreach} | |
198 | ||
199 | ||
200 | {foreach from=$get_linked_bookmarks item=link} | |
201 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'> | |
202 | bookmark:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> :: | |
203 | (<a href='/id/23/{$link.node_vector}'>posledne</a>, | |
204 | <a href='/id/15/{$link.node_vector}'>k</a>) | |
205 | {if $link.synapse_created > $link.last_visit}<span class='most_important'> NEW LINK</span>{/if} | |
206 | (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>) ({if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'}<a href='/id/{$child.node_id}/configure'>configure</a>{/if})<br> | |
207 | {/foreach} | |
208 | ||
209 | <!--end of central column--> | |
210 | </td></tr></table> | |
211 | ||
212 | {include file="modules/footer.tpl"} |