| 1 | {include file="modules/header.tpl"} |
| 2 | |
| 3 | <div style=" |
| 4 | margin: 1em; |
| 5 | padding: 2em; |
| 6 | border: 1px solid darkgreen; |
| 7 | "> |
| 8 | |
| 9 | |
| 10 | <form method='post' action='/id/{$node.node_id}'> |
| 11 | |
| 12 | {get_bookmarks} |
| 13 | {foreach from=$get_bookmarks item=bookmark_category} |
| 14 | <ul> |
| 15 | |
| 16 | {* showing bookmark category *} |
| 17 | {if $bookmark_category.node_name neq false} |
| 18 | |
| 19 | <li> |
| 20 | <a href='/id/{$bookmark_category.node_id}/'> |
| 21 | <h1>{$bookmark_category.node_name}</h1> |
| 22 | </a> |
| 23 | </li> |
| 24 | |
| 25 | |
| 26 | {/if} |
| 27 | |
| 28 | {foreach from=$bookmark_category.children item=bookmarks} |
| 29 | {if $bookmarks.node_name} |
| 30 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> |
| 31 | |
| 32 | <a href='/id/{$bookmarks.node_id}'> |
| 33 | {$bookmarks.node_name} |
| 34 | </a> |
| 35 | |
| 36 | {if $bookmarks.node_user_subchild_count neq false} |
| 37 | :: <span class='most_important'> |
| 38 | {$bookmarks.node_user_subchild_count} NEW CHILDREN |
| 39 | </span> |
| 40 | {/if} |
| 41 | |
| 42 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 43 | :: <span class='most_important'> |
| 44 | !!NEW DESCENDANT!! |
| 45 | </span> |
| 46 | {/if} |
| 47 | |
| 48 | <br> |
| 49 | {/if} |
| 50 | {/foreach} |
| 51 | |
| 52 | </ul> |
| 53 | {/foreach} |
| 54 | |
| 55 | <input type='text' name='bookmark_category_id'> |
| 56 | <input type='submit' name='event' value='set_bookmark_category'> |
| 57 | </form> |
| 58 | |
| 59 | |
| 60 | </div> |