X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=basic-data%2Ftemplates%2Fown_templates%2F1549822.tpl;fp=basic-data%2Ftemplates%2Fown_templates%2F1549822.tpl;h=42bb9eae50e101c906981ecc1157e4e1f09588ef;hb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;hp=0000000000000000000000000000000000000000;hpb=b097cd5c3065f23e47a0226ee43fa0ce9cc4cd99;p=mirrors%2FKyberia-bloodline.git diff --git a/basic-data/templates/own_templates/1549822.tpl b/basic-data/templates/own_templates/1549822.tpl new file mode 100644 index 0000000..42bb9ea --- /dev/null +++ b/basic-data/templates/own_templates/1549822.tpl @@ -0,0 +1,61 @@ +{get_children listing_amount='232323' offset=$offset types=$children_types} + +{foreach from=$get_children item=child} +{$child.depth} + +{if $child.template_id eq 2} +  + nodeshell:: {$child.node_name} :: + (posledne, + k) + {if $child.lastdescendant_created > $child.last_visit}  NEW DESCENDANT{/if} + ({$child.login}){if $child.node_creator eq $user_id} --conf{/if} +{elseif $child.template_id eq 3} +  +  forum:: {$child.node_name|strip_tags} :: + ({$child.node_children_count} children{if $child.node_user_subchild_count} {$child.node_user_subchild_count} NEW{/if}) + {if $child.lastdescendant_created > $child.last_visit}  NEW DESCENDANT{/if} + ({$child.login}){if $child.node_creator eq $user_id} --conf{/if} +{elseif $child.template_id eq 5} +  +  article:: {$child.node_name} + ({$child.login}){if $child.node_creator eq $user_id} --conf{/if} +{elseif $child.template_id eq 12} +  +  data:: {$child.node_name} + ({$child.login}){if $child.node_creator eq $user_id} --conf{/if} +{elseif $child.template_id eq 14} +  +  template:: {$child.node_name} + ({$child.login}){if $child.node_creator eq $user_id} -conf{/if} + +{elseif $child.template_id eq 4} +  +  submission:: {$child.node_name} + ({$child.login}){if $child.node_creator eq $user_id} --conf{/if} +{else} +  +  node:: {$child.node_name} + ({$child.login}){if $child.node_creator eq $user_id} --conf{/if} +{/if} + {if $child.k > 0}[{$child.k}K]{/if}
+{/foreach} + +{get_linked_nodes orderby=$listing_order} +{foreach from=$get_linked_nodes item=link} +  + link:: {$link.node_name} :: + (posledne, + k) + {if $link.synapse_created > $link.last_visit}  NEW LINK{/if} + ({$link.login}){if $link.node_creator eq $user_id} --conf{/if}
+{/foreach} + +{foreach from=$get_linked_bookmarks item=link} +  + bookmark:: {$link.node_name} :: + (posledne, + k) + {if $link.synapse_created > $link.last_visit}  NEW LINK{/if} + ({$link.login}){if $link.node_creator eq $user_id} --conf{/if}
+{/foreach} \ No newline at end of file