Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / kyberia / modules / get_nodeshell_children.tpl
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_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;submission:: <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
50
51 {else}
52 <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
53 &nbsp;shit:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
54 (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
55 {/if}
56 {/foreach}
57
58 {get_linked_nodes orderby=$listing_order}
59 {foreach from=$get_linked_nodes item=link}
60 <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'>&nbsp;
61 link:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
62 (<a href='/id/23/{$link.node_vector}'>posledne</a>,
63 <a href='/id/15/{$link.node_vector}'>k</a>)
64 {if $link.synapse_created > $link.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW LINK</span>{/if}
65 (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
66 {/foreach}
67
68 {foreach from=$get_linked_bookmarks item=link}
69 <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'>&nbsp;
70 bookmark:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
71 (<a href='/id/23/{$link.node_vector}'>posledne</a>,
72 <a href='/id/15/{$link.node_vector}'>k</a>)
73 {if $link.synapse_created > $link.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW LINK</span>{/if}
74 (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
75 {/foreach}
This page took 0.295516 seconds and 4 git commands to generate.