/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

  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. {get_children listing_amount='23232323232323' offset=$offset types=$children_types}
  9. {foreach from=$get_children item=child}
  10. {$child.depth}
  11. {if $child.template_id eq 2}
  12. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  13. nodeshell:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a> ::
  14. (<a href='/id/23/{$child.node_vector}'>posledne</a>,
  15. <a href='/id/15/{$child.node_vector}'>k</a>)
  16. {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW DESCENDANT</span>{/if}
  17. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  18. {elseif $child.template_id eq 3}
  19. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  20. &nbsp;forum:: <a href='/id/{$child.node_id}'>{$child.node_name}</a> ::
  21. ({$child.node_children_count} children{if $child.node_user_subchild_count} <span class='most_important'> {$child.node_user_subchild_count} NEW</span>{/if})
  22. {if $child.lastdescendant_created > $child.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW DESCENDANT</span>{/if}
  23. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  24. {elseif $child.template_id eq 5}
  25. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  26. &nbsp;article:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  27. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  28. {elseif $child.template_id eq 12}
  29. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  30. &nbsp;data:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  31. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  32. {elseif $child.template_id eq 14}
  33. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  34. &nbsp;template:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  35. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  36. {elseif $child.template_id eq 4}
  37. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  38. &nbsp;broken:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  39. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  40. {elseif $child.template_id eq 28}
  41. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  42. &nbsp;rss_bot:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  43. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  44. {elseif $child.template_id eq 1041756}
  45. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  46. &nbsp;gallery:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  47. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  48. {else}
  49. <input style='height: 11px; width: 11px;' type='checkbox' value='{$child.node_id}' name='node_chosen[]'>&nbsp;
  50. &nbsp;unspecified:: <a class='important' href='/id/{$child.node_id}'>{$child.node_name}</a>
  51. (<a href='/id/{$child.node_creator}'>{$child.login}</a>)<br>
  52. {/if}
  53. {/foreach}
  54. {get_linked_nodes orderby=$listing_order}
  55. {foreach from=$get_linked_nodes item=link}
  56. <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='node_chosen[]'>&nbsp;
  57. link:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
  58. (<a href='/id/23/{$link.node_vector}'>posledne</a>,
  59. <a href='/id/15/{$link.node_vector}'>k</a>)
  60. (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
  61. {/foreach}
  62. {foreach from=$get_linked_bookmarks item=link}
  63. <input style='height: 11px; width: 11px;' type='checkbox' value='{$link.node_id}' name='link_chosen[]'>&nbsp;
  64. bookmark:: <a class='important' href='/id/{$link.node_id}'>{$link.node_name}</a> ::
  65. (<a href='/id/23/{$link.node_vector}'>posledne</a>,
  66. <a href='/id/15/{$link.node_vector}'>k</a>)
  67. {if $link.synapse_created > $link.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW LINK</span>{/if}
  68. (<a href='/id/{$link.synapse_creator}'>{$link.login}</a>)<br>
  69. {/foreach}