| 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 | <form method='post' action='/id/{$node.node_id}'> |
| 12 | |
| 13 | <ul id="bookmarks"> |
| 14 | {get_bookmarks} |
| 15 | {foreach from=$get_bookmarks item=bookmark_category} |
| 16 | {if $bookmark_category.node_name neq false} |
| 17 | <li><hr noshade><h1><a href="/id/{$bookmark_category.node_id}">{$bookmark_category.node_name}</a></h1></li> |
| 18 | {else} |
| 19 | <li>{$bookmark_category.node_id}</li> |
| 20 | {/if} |
| 21 | {foreach from=$bookmark_category.children item=bookmarks} |
| 22 | <ul> |
| 23 | {if $bookmarks.node_name} |
| 24 | <li> |
| 25 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> |
| 26 | {if $bookmarks.node_user_subchild_count neq false} |
| 27 | <strong> [{$bookmarks.node_user_subchild_count} New]</strong> |
| 28 | {/if} |
| 29 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 30 | <strong> [Babooo]</strong> |
| 31 | {/if} |
| 32 | </li> |
| 33 | {/if} |
| 34 | </ul> |
| 35 | {/foreach} |
| 36 | {/foreach} |
| 37 | <br> |
| 38 | <input type='text' name='bookmark_category_id'> <input type='submit' name='event' value='set_bookmark_category'> |
| 39 | </form> |
| 40 | </ul> |
| 41 | {include file="modules/footer.tpl"} |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |