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 | {get_movement_params children_count=$node.node_children_count} | |
10 | {include file="modules/header.tpl"} | |
11 | ||
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 | ||
24 | <!--left column--> | |
25 | <td valign='top' align='center' width='23%'> | |
26 | {* show node info *} | |
27 | {include file="modules/node_settings.tpl"} | |
28 | ||
29 | {* showing poll *} | |
30 | {include file="modules/get_poll_box.tpl"} | |
31 | <br> | |
32 | {*showing bookmark_statistics*} | |
33 | {include file="modules/get_bookmark_statistics_box.tpl"} | |
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}{include file="modules/addnode.tpl"}{/if} | |
45 | </form> | |
46 | ||
47 | {get_children listing_amount='23232323232323' offset=$offset types=$children_types} | |
48 | ||
49 | {foreach from=$get_children item=child} | |
50 | {$child.depth} | |
51 | ||
52 | {if $child.template_id eq 2} | |
53 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
54 | nodeshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
55 | (<a href='/id/23/{$child.node_vector}'>posledne</a>, | |
56 | <a href='/id/15/{$child.node_vector}'>k</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}/1961033'>configure</a>{/if}) | |
57 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
58 | (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
59 | {elseif $child.template_id eq 1417553} | |
60 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
61 | node-hell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
62 | (<a href='/id/23/{$child.node_vector}'>posledne</a>, | |
63 | <a href='/id/15/{$child.node_vector}'>k</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}/1961033'>configure</a>{/if}) | |
64 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
65 | (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
66 | {elseif $child.template_id eq 3} | |
67 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
68 | forum:: <a href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
69 | ({$child.node_children_count} children{if $child.node_user_subchild_count} <span class='most_important'> {$child.node_user_subchild_count} NEW</span>{/if}) | |
70 | {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if} | |
71 | {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}/1961033'>configure</a>>{/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
72 | {elseif $child.template_id eq 5} | |
73 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
74 | 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}/1961033'>configure</a>){/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
75 | {elseif $child.template_id eq 12} | |
76 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
77 | data:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> | |
78 | {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}/1961033'>configure</a>){/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br> | |
79 | {elseif $child.template_id eq 14} | |
80 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
81 | 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}/1961033'>configure</a>){/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>) (<br> | |
82 | ||
83 | {elseif $child.template_id eq 4} | |
84 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
85 | submission:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
86 | {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}/1961033'>configure</a>){/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
87 | ||
88 | {elseif $child.template_id eq 28} | |
89 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
90 | 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}/1961033'>configure</a>){/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
91 | ||
92 | {elseif $child.template_id eq $child.node_id} | |
93 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
94 | tpl:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: (<a href='/id/{$child.node_id}/14'>code</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}/1961033'>configure</a>{/if}) (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
95 | ||
96 | ||
97 | {else} | |
98 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'> | |
99 | node:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> :: | |
100 | {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}/1961033'>configure</a>){/if} (<a href='/id/{$child.node_creator}'>{$child.login}</a>) <br> | |
101 | {/if} | |
102 | {/foreach} | |
103 | ||
104 | {get_linked_nodes orderby=$listing_order} | |
105 | {foreach from=$get_linked_nodes item=link} | |
106 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'> | |
107 | link:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> :: | |
108 | (<a href='/id/23/{$link.node_vector}'>posledne</a>, | |
109 | <a href='/id/15/{$link.node_vector}'>k</a>) | |
110 | {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}/1961033'>configure</a>){/if} | |
111 | (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>) <br> | |
112 | {/foreach} | |
113 | ||
114 | {foreach from=$get_linked_bookmarks item=link} | |
115 | <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'> | |
116 | bookmark:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> :: | |
117 | (<a href='/id/23/{$link.node_vector}'>posledne</a>, | |
118 | <a href='/id/15/{$link.node_vector}'>k</a>) | |
119 | {if $link.synapse_created > $link.last_visit}<span class='most_important'> NEW LINK</span>{/if} | |
120 | (<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}/1961033'>configure</a>{/if})<br> | |
121 | {/foreach} | |
122 | ||
123 | <!--end of central column--> | |
124 | </td></tr></table> | |
125 | ||
126 | ||
127 | {include file="modules/footer.tpl"} | |
128 | ||
129 | ||
130 |