Commit | Line | Data |
---|---|---|
e586807d H |
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 | ||
9 | {include file="modules/header.tpl"} | |
10 | ||
11 | <table width=100%> | |
12 | <tr><td valign='top' width=12%> | |
13 | {include file="modules/get_userlist.tpl"} | |
14 | </td> | |
15 | ||
16 | <td valign='top' width=50%> | |
17 | ||
18 | <form method='post' action='/id/{$node.node_id}'> | |
19 | ||
20 | {get_bookmarks} | |
21 | <input type="button" value="+ {$bookmark_category.node_name}" | |
22 | onClick="document.getElementById('{$bookmark_category.node_id}').style.visibility = | |
23 | 'visible';"><br> | |
24 | <div style="visibility:hidden" id="{$bookmark_category.node_id}" name="{$bookmark_category.node_id}"> | |
25 | {foreach from=$get_bookmarks item=bookmark_category} | |
26 | {* showing bookmark category *} | |
27 | {if $bookmark_category.node_name neq false} | |
28 | .kategoria::<a class='important' href='/id/{$bookmark_category.node_id}/'>{$bookmark_category.node_name}</a> | |
29 | {if $bookmark_category.sum neq false} | |
30 | .:: <span class='most_important'> {$bookmark_category.sum} NEW</span> | |
31 | {/if} | |
32 | {/if} | |
33 | <br> | |
34 | ||
35 | {foreach from=$bookmark_category.children item=bookmarks} | |
36 | {if $bookmarks.node_name neq false && $bookmarks.node_id neq ''} | |
37 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> | |
38 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> | |
39 | {if $bookmarks.node_user_subchild_count neq false} | |
40 | zle:: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW CHILDREN</span> | |
41 | {/if} | |
42 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} | |
43 | :: <span class='most_important'>!!NEW DESCENDANT!!</span> | |
44 | {/if} | |
45 | {/if} | |
46 | <br> | |
47 | ||
48 | {/foreach} | |
49 | </div> | |
50 | {/foreach} | |
51 | ||
52 | ||
53 | <input type='text' name='bookmark_category_id'><input type='submit' name='event' value='set_bookmark_category'> | |
54 | ||
55 | </form> | |
56 | ||
57 | </td></tr></table> | |
58 | ||
59 | {include file="modules/footer.tpl"} | |
60 |