Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / sv / modules / get_threaded_children.tpl~
CommitLineData
e586807d
H
1{if $template_event eq 'preview'}
2<table>
3<tr>
4<td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
5<td width='100%' valign='top'>
6<table width='100%'><tr class='header'>
7<td align='center'>PREVIEW
8
9<tr><td>{$post_vars.node_content|preview}</td></tr>
10</table>
11</table>
12{* end of preview *}
13
14{elseif $template_event eq 'filter_by'}
15{get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
16{elseif $node.node_user_subchild_count eq true}
17{get_threaded_children listing_amount=$node.node_user_subchild_count time=$node.last_visit offset=$offset types=$children_types}
18{else}
19{get_threaded_children listing_amount=$listing_amount offset=$offset types=$children_types}
20{/if}
21
22{foreach from=$get_threaded_children item=child}
23<table>
24<tr>
25<td width='{math equation="(x-y)" x=$child.depth y=$node.vector_depth}%'></td>
26<td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'></td>
27<td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'>
28<table width='100%'><tr class="BgTitleContent">
29<td>
30&nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
31&nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
32<tr><td>{$child.node_content|stripslashes}</td></tr>
33</table>
34</table>
35<br>
36{/foreach}
This page took 0.141743 seconds and 4 git commands to generate.