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 | {if $error eq true} | |
12 | <center><font style='error'>{$error}</font></center> | |
13 | {/if} | |
14 | ||
15 | {if $user_id eq false} | |
16 | <center>{include file="modules/loginbox.tpl"}</center> | |
17 | ||
18 | {else} | |
19 | ||
20 | <table width=100% cellpadding='5'> | |
21 | <tr> | |
22 | <td valign='top' width=20%> | |
23 | </td> | |
24 | ||
25 | <td valign='top' width=70%> | |
26 | ||
27 | {get_bookmarks} | |
28 | {foreach from=$get_bookmarks item=bookmark_category} | |
29 | {* showing bookmark category *} | |
30 | ||
31 | {foreach from=$bookmark_category.children item=bookmarks} | |
32 | {if $bookmarks.parent eq $node.node_id} | |
33 | ||
34 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> | |
35 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name|strip_tags}</a> | |
36 | ||
37 | {if $bookmarks.node_user_subchild_count neq false} :: <span class='most_important'>{$bookmarks.node_user_subchild_count} NeW</span> | |
38 | {/if} | |
39 | ||
40 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit}:: <span class='most_important'>DeSC</span> | |
41 | {/if} | |
42 | {if $bookmarks.node_creator eq $user_id or $bookmarks.node_permission eq 'master' or $bookmarks.node_permission eq 'op'} :: [<a href='/id/{$bookmarks.node_id}/configure'>configure</a>]{/if} | |
43 | </div> | |
44 | ||
45 | {/if} | |
46 | {/foreach} | |
47 | ||
48 | <br> | |
49 | ||
50 | {/foreach} | |
51 | ||
52 | </td> | |
53 | </tr></table> | |
54 | {/if} | |
55 | ||
56 | {include file="modules/footer.tpl"} |