51ff3226 |
1 | {get_movement_params children_count=$node.node_children_count} |
2 | {include file="1549864.tpl"} |
3 | |
4 | {if $error eq true} |
5 | <center><font style='error'>{$error}</font></center> |
6 | {/if} |
7 | |
8 | {if $user_id eq false} |
9 | <center>{include file="1549885.tpl"}</center><br><br> |
10 | |
11 | {else} |
12 | <script language="javascript" src="/id/1478235/download"></script> |
13 | <table width='100%'><tr> |
14 | |
15 | <!--left column--> |
16 | <td valign='top' align='center' width='23%'> |
17 | {* show node info *} |
18 | {include file="1549925.tpl"} |
19 | |
20 | {* showing poll *} |
21 | {include file="1549834.tpl"} |
22 | |
23 | <br> |
24 | {*showing bookmark_statistics*} |
25 | {include file="1549386.tpl"} |
26 | </td> |
27 | <!--end of left column--> |
28 | |
29 | <!--main central column--> |
30 | <td width=66% valign='top'> |
31 | |
32 | {if $user_id eq $node.node_creator} |
33 | |
34 | <form method='post' action='/id/{$node.node_id}'> |
35 | {* showing bookmarks *} |
36 | {get_bookmarks} |
37 | {foreach from=$get_bookmarks item=bookmarks} |
38 | {if $bookmarks.node_id eq $node.node_id} |
39 | {foreach from=$bookmarks.children item=bookmark} |
40 | {if $bookmark.node_name && $bookmark.node_id} |
41 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmark.node_id}'> |
42 | <a href='/id/{$bookmark.node_id}'>{$bookmark.node_name|strip_tags}</a> |
43 | {if $bookmark.node_user_subchild_count neq false} |
44 | <span class='most_important'>{$bookmark.node_user_subchild_count} NEW CHILDREN</span> |
45 | {/if} |
46 | {if $bookmark.lastdescendant_created > $bookmark.last_visit} |
47 | ::<b>!!NEW DESCENDANT!!</b> |
48 | {/if} |
49 | {if $bookmark.node_updated > $bookmark.last_visit} |
50 | ::<span class='most_important'>!!CONTENT CHANGED!!</span> |
51 | {/if} |
52 | {if $bookmark.node_creator eq $user_id or $bookmark.node_permission eq 'master' or $bookmark.node_permission eq 'op'} |
53 | ::[<a href='/id/{$bookmark.node_id}/1961033'>configure</a>] |
54 | {/if} |
55 | <br> |
56 | {/if} |
57 | {/foreach} |
58 | {/if} |
59 | {/foreach} |
60 | |
61 | <br> |
62 | <input type='text' name='bookmark_category_id'><input type='submit' name='event' value='set_bookmark_category'> |
63 | <br> |
64 | |
65 | {* showing bookcats *} |
66 | {get_bookmarks} |
67 | {foreach from=$get_bookmarks item=bookcat} |
68 | {if $bookcat.node_name neq false} |
69 | <a href="javascript:chngbukcat('{$bookcat.node_id}')">kategoria</a> |
70 | :: <a href='/id/{$bookcat.node_id}/'><b>{$bookcat.node_name}</b></a> |
71 | ::[<a href='/id/{$bookcat.node_id}/1961033'>configure</a>] |
72 | <br> |
73 | {/if} |
74 | {/foreach} |
75 | </form> |
76 | |
77 | {else} |
78 | |
79 | {get_linked_nodes orderby=$listing_order} |
80 | {foreach from=$get_linked_nodes item=link} |
81 | {if $link.node_name && $link.node_id} |
82 | <a href='/id/{$link.node_id}'>{$link.node_name}</a> |
83 | {if $child.node_creator eq $user_id or $child.node_permission eq 'master' or $child.node_permission eq 'op'} |
84 | :: (<a href='/id/{$child.node_id}/1961033'>configure</a>) |
85 | {/if} |
86 | (<a href='/id/{$link.node_creator}'>{$link.login}</a>) |
87 | <br> |
88 | {/if} |
89 | {/foreach} |
90 | |
91 | {/if} |
92 | </td> |
93 | <!--end of central column--> |
94 | |
95 | </tr></table> |
96 | {/if} |
97 | {include file="1549377.tpl"} |