Revert "renamed data directory"
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1549839.tpl
diff --git a/data/templates/own_templates/1549839.tpl b/data/templates/own_templates/1549839.tpl
new file mode 100644 (file)
index 0000000..66a060e
--- /dev/null
@@ -0,0 +1,84 @@
+{if $template_event eq 'preview'}
+<table>
+  <tr>
+    <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
+    <td width='100%' valign='top'>
+      <table width='100%'>
+        <tr class='header'><td align='center'>PREVIEW of {$post_vars.node_name}</td></tr>
+        <tr><td>{$post_vars.node_content|preview}</td></tr>
+      </table>
+</table>
+{* end of preview *}
+{elseif $template_event eq 'filter_by'}
+{get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
+{elseif $node.node_user_subchild_count eq true}
+{get_threaded_children offset=0 link='yes' listing_amount=23232323232 time=$node.last_visit time=$node.last_visit orderby=$listing_order }
+<!--<center><span class='most_important'>pozor doslo k zmene funkcnosti systemu, NEW prispevky (vsetky) sa zobrazuju od najstarsieho k najnovsiemu zhora dolu</span></center>-->
+{else}
+{get_threaded_children link='yes' listing_amount=$listing_amount offset=$offset ordearby=$listing_order}
+{/if}
+
+{foreach from=$get_threaded_children item=child}{if $child.template_id neq 1549834 and $child.external_link neq "session://fook"}
+<table width='666'>
+  <tr>
+{*IGNORE USER CONDITION*}{if $ignore[$child.node_creator] neq true}
+{*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
+    <td colspan='3'><a href='/id/{$child.node_parent}'>{$child.node_vector}</a></td>
+  </tr>
+{*/if*}
+  <tr>
+<!--XXX test oflogarithmic threading (original (x-y)-8 ) XXX TODO fit to resolutions-->
+    <td width='{math equation="10*log((x-y))-18" x=$child.depth y=$node.vector_depth}%'></td>
+    <td valign='top' rowspan='2'>
+{* put.Ty hack *}
+{if $child.synapse_creator neq ''}
+    <img src='{get_image_link id=$child.synapse_creator}' width='50' hspace='5' alt='SYNAPSE CREATOR' />
+{else}
+    <img src='{get_image_link id=$child.node_creator}' width='50' hspace='5' alt='{$child.login}' onclick="km();sm('{$child.login}','{$child.node_creator}','{$node.node_id}')" />
+{/if}
+{*end of put.Ty hack *}
+    </td>
+    <!--XXX orig: 100-(x-y)-->
+    <td width='{math equation="100-(10*log(x-y))+10" x=$child.depth y=$node.vector_depth}%'>
+      <table class='bordered' width='100%'><tr class='header'>
+        <td>
+          &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
+{if $child.user_action neq false}
+          &nbsp;[lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>]
+{/if}
+&nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
+&nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
+{if $child.node_updated} (modif: {$child.node_updated|date_format:"%d.%m.%Y. - %H:%M:%S"}){/if}
+{if $child.k > 0} [<span class='most_important'>{$child.k}K</span>] {/if}
+{if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
+{if $child.node_status eq 'linked'}
+&nbsp;<span class='important'>HARDLINK</span>
+{/if}
+{if $child.node_updated > $node.last_visit}<span class='most_important'>!!CONTENT CHANGED!!</span>{/if}
+{if $bookmarks.last_visit eq true and $child.lastdescendant_created > $bookmarks.last_visit}<span class='most_important'>!!NEW DESCENDANT!!</span>{/if}
+
+
+<div style='text-align:center;'>
+{if $child.node_name eq ''}
+<a href='/id/{$child.node_id}'>enter node {$child.node_id}</a>
+{else}
+<a href='/id/{$child.node_id}'>{$child.node_name|stripslashes}</a>
+{/if}
+{if $child.node_creator eq $user_id}| <a href='/id/{$child.node_id}/1961033'>conf</a>{/if}
+</div></td></tr>
+<tr><td>{if $permissions.r}{$child.node_content|stripslashes|nl2br|replace:'...':'&hellip;'}{else}you don't have permissions for viewing this data node{/if}</td></tr>
+</table></td>
+{/if}{*IGNORE USER CONDITION end*}
+</tr>
+</table>
+
+<br>{/if}
+{/foreach}
+
+<table align='center'><tr>
+<td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
+<td><input type='submit' name='get_children_move' value='<'></td>
+<td><input type='submit' name='get_children_move' value='<<'></td>
+<td><input name='get_children_move' type='submit' value='>>'></td>
+<td><input type='submit' name='get_children_move' value='>'></td>
+</tr></table>
This page took 0.110726 seconds and 4 git commands to generate.