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 | <ul id="bookmarks"> | |
12 | ||
13 | {get_bookmarks} | |
14 | {foreach from=$get_bookmarks item=bookmark_category} | |
15 | ||
16 | {if $bookmark_category.node_name neq false} | |
17 | <li><h1>{$bookmark_category.node_name}</h1></li> | |
18 | {else} | |
19 | <li>{$bookmark_category.node_id}</li> | |
20 | {/if} | |
21 | ||
22 | {foreach from=$bookmark_category.children item=bookmarks} | |
23 | <ul> | |
24 | ||
25 | {if $bookmarks.node_name} | |
26 | <li> | |
27 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> | |
28 | ||
29 | {if $bookmarks.node_user_subchild_count neq false} | |
30 | <strong>({$bookmarks.node_user_subchild_count} New Children)</strong> | |
31 | {/if} | |
32 | ||
33 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} | |
34 | <strong>(New descendant)</strong> | |
35 | {/if} | |
36 | </li> | |
37 | {/if} | |
38 | ||
39 | </ul> | |
40 | {/foreach} | |
41 | ||
42 | {/foreach} | |
43 | ||
44 | </ul> |