Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / own_templates / modules / get_nodeshell_children.tpl
CommitLineData
e586807d
H
1<!--
2This program is free software. It comes without any warranty, to
3the extent permitted by applicable law. You can redistribute it
4and/or modify it under the terms of the Do What The Fuck You Want
5To Public License, Version 2, as published by Sam Hocevar. See
6http://sam.zoy.org/wtfpl/COPYING for more details.
7-->
8
9{get_children listing_amount='23232323232323' offset=$offset types=$children_types}
10
11{foreach from=$get_children item=child}
12{$child.depth}
13
14{if $child.template_id eq 2}
15<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
16 nodeshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> ::
17 (<a href='/id/23/{$child.node_vector}'>posledne</a>,
18 <a href='/id/15/{$child.node_vector}'>k</a>)
19 {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW DESCENDANT</span>{/if}
20 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
21{elseif $child.template_id eq 3}
22<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
23 &nbsp;forum:: <a href='/id/{$child.node_id}'>{$child.node_name}</a> ::
24 ({$child.node_children_count} children{if $child.node_user_subchild_count} <span class='most_important'> {$child.node_user_subchild_count} NEW</span>{/if})
25 {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW DESCENDANT</span>{/if}
26 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
27{elseif $child.template_id eq 5}
28<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
29 &nbsp;article:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
30 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
31{elseif $child.template_id eq 12}
32<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
33 &nbsp;data:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
34 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
35{elseif $child.template_id eq 14}
36<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
37 &nbsp;template:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
38 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
39
40{elseif $child.template_id eq 4}
41<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
42 &nbsp;broken:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
43 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
44
45{elseif $child.template_id eq 28}
46<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
47 &nbsp;rss_bot:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
48 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
49{elseif $child.template_id eq 1041756}
50<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
51 &nbsp;gallery:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
52 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
53
54{else}
55<input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
56 &nbsp;unspecified:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
57 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
58{/if}
59
60
61{/foreach}
62
63{get_linked_nodes orderby=$listing_order}
64{foreach from=$get_linked_nodes item=link}
65<input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'>&nbsp;
66 link:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
67 (<a href='/id/23/{$link.node_vector}'>posledne</a>,
68 <a href='/id/15/{$link.node_vector}'>k</a>)
69 (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
70{/foreach}
71
72
73{foreach from=$get_linked_bookmarks item=link}
74<input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='link_chosen[]'>&nbsp;
75 bookmark:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
76 (<a href='/id/23/{$link.node_vector}'>posledne</a>,
77 <a href='/id/15/{$link.node_vector}'>k</a>)
78 {if $link.synapse_created > $link.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW LINK</span>{/if}
79 (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
80{/foreach}
This page took 0.213689 seconds and 4 git commands to generate.