Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1549839.tpl
CommitLineData
51ff3226 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%'>
7 <tr class='header'><td align='center'>PREVIEW of {$post_vars.node_name}</td></tr>
8 <tr><td>{$post_vars.node_content|preview}</td></tr>
9 </table>
10</table>
11{* end of preview *}
12{elseif $template_event eq 'filter_by'}
13{get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
14{elseif $node.node_user_subchild_count eq true}
15{get_threaded_children offset=0 link='yes' listing_amount=23232323232 time=$node.last_visit time=$node.last_visit orderby=$listing_order }
16<!--<center><span class='most_important'>pozor doslo k zmene funkcnosti systemu, NEW prispevky (vsetky) sa zobrazuju od najstarsieho k najnovsiemu zhora dolu</span></center>-->
17{else}
18{get_threaded_children link='yes' listing_amount=$listing_amount offset=$offset ordearby=$listing_order}
19{/if}
20
21{foreach from=$get_threaded_children item=child}{if $child.template_id neq 1549834 and $child.external_link neq "session://fook"}
22<table width='666'>
23 <tr>
24{*IGNORE USER CONDITION*}{if $ignore[$child.node_creator] neq true}
25{*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
26 <td colspan='3'><a href='/id/{$child.node_parent}'>{$child.node_vector}</a></td>
27 </tr>
28{*/if*}
29 <tr>
5b9c0808 30<!--XXX test oflogarithmic threading (original (x-y)-8 ) XXX TODO fit to resolutions-->
c1e24638 31 <td width='{math equation="5*log((x-y))-8" x=$child.depth y=$node.vector_depth}%'></td>
51ff3226 32 <td valign='top' rowspan='2'>
33{* put.Ty hack *}
34{if $child.synapse_creator neq ''}
35 <img src='{get_image_link id=$child.synapse_creator}' width='50' hspace='5' alt='SYNAPSE CREATOR' />
36{else}
37 <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}')" />
38{/if}
39{*end of put.Ty hack *}
40 </td>
c1e24638 41 <!--XXX orig: 100-(x-y)-->
42 <td width='{math equation="100-(5*log(x-y))" x=$child.depth y=$node.vector_depth}%'>
51ff3226 43 <table class='bordered' width='100%'><tr class='header'>
44 <td>
45 &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
46{if $child.user_action neq false}
47 &nbsp;[lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>]
48{/if}
49&nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
50&nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
51{if $child.node_updated} (modif: {$child.node_updated|date_format:"%d.%m.%Y. - %H:%M:%S"}){/if}
52{if $child.k > 0} [<span class='most_important'>{$child.k}K</span>] {/if}
53{if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
54{if $child.node_status eq 'linked'}
55&nbsp;<span class='important'>HARDLINK</span>
56{/if}
57{if $child.node_updated > $node.last_visit}<span class='most_important'>!!CONTENT CHANGED!!</span>{/if}
58{if $bookmarks.last_visit eq true and $child.lastdescendant_created > $bookmarks.last_visit}<span class='most_important'>!!NEW DESCENDANT!!</span>{/if}
59
60
61<div style='text-align:center;'>
62{if $child.node_name eq ''}
63<a href='/id/{$child.node_id}'>enter node {$child.node_id}</a>
64{else}
65<a href='/id/{$child.node_id}'>{$child.node_name|stripslashes}</a>
66{/if}
67{if $child.node_creator eq $user_id}| <a href='/id/{$child.node_id}/1961033'>conf</a>{/if}
68</div></td></tr>
69<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>
70</table></td>
71{/if}{*IGNORE USER CONDITION end*}
72</tr>
73</table>
74
75<br>{/if}
76{/foreach}
77
78<table align='center'><tr>
79<td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
80<td><input type='submit' name='get_children_move' value='<'></td>
81<td><input type='submit' name='get_children_move' value='<<'></td>
82<td><input name='get_children_move' type='submit' value='>>'></td>
83<td><input type='submit' name='get_children_move' value='>'></td>
673568c7 84</tr></table>
This page took 0.732493 seconds and 4 git commands to generate.