/kyberia-legacy/2.0/templates/own_templates/modules/get_nodeshell_children.tpl
https://github.com/Harvie/Kyberia · Smarty Template · 80 lines · 69 code · 11 blank · 0 comment · 1 complexity · 1496af8010fd6a806d57b2bb2c87659e MD5 · raw file
- <!--
- This program is free software. It comes without any warranty, to
- the extent permitted by applicable law. You can redistribute it
- and/or modify it under the terms of the Do What The Fuck You Want
- To Public License, Version 2, as published by Sam Hocevar. See
- http://sam.zoy.org/wtfpl/COPYING for more details.
- -->
- {get_children listing_amount='23232323232323' offset=$offset types=$children_types}
- {foreach from=$get_children item=child}
- {$child.depth}
- {if $child.template_id eq 2}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- nodeshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> ::
- (<a href='/id/23/{$child.node_vector}'>posledne</a>,
- <a href='/id/15/{$child.node_vector}'>k</a>)
- {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if}
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 3}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- forum:: <a href='/id/{$child.node_id}'>{$child.node_name}</a> ::
- ({$child.node_children_count} children{if $child.node_user_subchild_count} <span class='most_important'> {$child.node_user_subchild_count} NEW</span>{/if})
- {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'> NEW DESCENDANT</span>{/if}
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 5}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- article:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 12}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- data:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 14}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- template:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 4}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- broken:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 28}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- rss_bot:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {elseif $child.template_id eq 1041756}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- gallery:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {else}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
- unspecified:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
- (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
- {/if}
- {/foreach}
- {get_linked_nodes orderby=$listing_order}
- {foreach from=$get_linked_nodes item=link}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'>
- link:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
- (<a href='/id/23/{$link.node_vector}'>posledne</a>,
- <a href='/id/15/{$link.node_vector}'>k</a>)
- (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
- {/foreach}
- {foreach from=$get_linked_bookmarks item=link}
- <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='link_chosen[]'>
- bookmark:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
- (<a href='/id/23/{$link.node_vector}'>posledne</a>,
- <a href='/id/15/{$link.node_vector}'>k</a>)
- {if $link.synapse_created > $link.last_visit}<span class='most_important'> NEW LINK</span>{/if}
- (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
- {/foreach}