| 1 | <form method='post' action='/id/{$node.node_id}'> |
| 2 | <table width=100%> |
| 3 | <tr><td valign='top' width=12%> |
| 4 | {* get_userlist *}{include file="1549848.tpl"} |
| 5 | </td> |
| 6 | |
| 7 | <td valign='top' width=50%> |
| 8 | <h1>Bookmarks</h1> |
| 9 | |
| 10 | {if $bookstyl eq 0} |
| 11 | |
| 12 | {get_bookmarks} |
| 13 | {foreach from=$get_bookmarks item=bookmark_category} |
| 14 | {* showing bookmark category *} |
| 15 | {if $bookmark_category.node_name neq false} |
| 16 | <a class='important' href='/id/{$bookmark_category.node_id}/'><span class="bookcat">{$bookmark_category.node_name}</span></a> |
| 17 | {if $bookmark_category.sum neq false} |
| 18 | :: <span class='most_important'> {$bookmark_category.sum} NEW</span> |
| 19 | {/if} |
| 20 | {/if} |
| 21 | <br> |
| 22 | |
| 23 | {foreach from=$bookmark_category.children item=bookmarks} |
| 24 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> |
| 25 | {if $bookmarks.node_name} |
| 26 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> |
| 27 | {if $bookmarks.node_user_subchild_count neq false} |
| 28 | :: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW CHILDREN</span> |
| 29 | {/if} |
| 30 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 31 | :: <span class='most_important'>!!NEW DESCENDANT!!</span> |
| 32 | {/if} |
| 33 | {if $bookmarks.node_updated > $bookmarks.last_visit} |
| 34 | :: <span class='most_important'>!!CONTENT CHANGED!!</span> |
| 35 | {/if} |
| 36 | |
| 37 | {/if} |
| 38 | <br> |
| 39 | {/foreach} |
| 40 | |
| 41 | <br> |
| 42 | {/foreach} |
| 43 | |
| 44 | |
| 45 | {/if} |
| 46 | {if $bookstyl eq 1} |
| 47 | |
| 48 | {get_bookmarks} |
| 49 | {foreach from=$get_bookmarks item=bookmark_category} |
| 50 | {* showing bookmark category *} |
| 51 | {if $bookmark_category.node_name neq false} |
| 52 | kategoria::<a class='important' href='/id/{$bookmark_category.node_id}/'>{$bookmark_category.node_name}</a> |
| 53 | |
| 54 | {/if} |
| 55 | <br> |
| 56 | |
| 57 | {foreach from=$bookmark_category.children item=bookmarks} |
| 58 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 59 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> |
| 60 | {if $bookmarks.node_name} |
| 61 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> |
| 62 | {if $bookmarks.node_user_subchild_count neq false} |
| 63 | :: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW CHILDREN</span> |
| 64 | {/if} |
| 65 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 66 | :: <span class='most_important'>!!NEW DESCENDANT!!</span> |
| 67 | {/if} |
| 68 | {if $bookmarks.node_updated > $bookmarks.last_visit} |
| 69 | :: <span class='most_important'>!!CONTENT CHANGED!!</span> |
| 70 | {/if} |
| 71 | |
| 72 | {/if} |
| 73 | <br> |
| 74 | {/if} |
| 75 | {/foreach} |
| 76 | |
| 77 | <br> |
| 78 | {/foreach} |
| 79 | |
| 80 | |
| 81 | {/if} |
| 82 | {if $bookstyl eq 2} |
| 83 | |
| 84 | {get_bookmarks} |
| 85 | {foreach from=$get_bookmarks item=bookmark_category} |
| 86 | {* showing bookmark category *} |
| 87 | {if $bookmark_category.node_name neq false} |
| 88 | kategoria::<a class='important' href='/id/{$bookmark_category.node_id}/'>{$bookmark_category.node_name}</a> |
| 89 | {if $bookmark_category.sum neq false} |
| 90 | :: <span class='most_important'> {$bookmark_category.sum} NEW</span> |
| 91 | {/if} |
| 92 | {/if} |
| 93 | <br> |
| 94 | |
| 95 | {foreach from=$bookmark_category.children item=bookmarks} |
| 96 | {if $bookmarks.node_user_subchild_count neq false} |
| 97 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> |
| 98 | {if $bookmarks.node_name} |
| 99 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> |
| 100 | {if $bookmarks.node_user_subchild_count neq false} |
| 101 | :: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW CHILDREN</span> |
| 102 | {/if} |
| 103 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 104 | :: <span class='most_important'>!!NEW DESCENDANT!!</span> |
| 105 | {/if} |
| 106 | {if $bookmarks.node_updated > $bookmarks.last_visit} |
| 107 | :: <span class='most_important'>!!CONTENT CHANGED!!</span> |
| 108 | {/if} |
| 109 | |
| 110 | {/if} |
| 111 | <br> |
| 112 | {/if} |
| 113 | {/foreach} |
| 114 | |
| 115 | <br> |
| 116 | {/foreach} |
| 117 | |
| 118 | {/if} |
| 119 | |
| 120 | {if $bookstyl eq 3} |
| 121 | |
| 122 | {get_bookmarks} |
| 123 | {foreach from=$get_bookmarks item=bookmark_category} |
| 124 | {* showing bookmark category *} |
| 125 | {if $bookmark_category.node_name neq false} |
| 126 | kategoria::<a class='important' href='/id/{$bookmark_category.node_id}/'>{$bookmark_category.node_name}</a> |
| 127 | {if $bookmark_category.sum neq false} |
| 128 | :: <span class='most_important'> {$bookmark_category.sum} NEW</span> |
| 129 | {/if} |
| 130 | {/if} |
| 131 | <br> |
| 132 | |
| 133 | {foreach from=$bookmark_category.children item=bookmarks} |
| 134 | {if $bookmarks.node_user_subchild_count neq false || $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 135 | <input style='height: 11px; width: 11px;' type='checkbox' name='bookmarks_chosen[]' value='{$bookmarks.node_id}'> |
| 136 | {if $bookmarks.node_name} |
| 137 | <a href='/id/{$bookmarks.node_id}'>{$bookmarks.node_name}</a> |
| 138 | {if $bookmarks.node_user_subchild_count neq false} |
| 139 | :: <span class='most_important'> {$bookmarks.node_user_subchild_count} NEW CHILDREN</span> |
| 140 | {/if} |
| 141 | {if $bookmarks.lastdescendant_created > $bookmarks.last_visit} |
| 142 | :: <span class='most_important'>!!NEW DESCENDANT!!</span> |
| 143 | {/if} |
| 144 | {if $bookmarks.node_updated > $bookmarks.last_visit} |
| 145 | :: <span class='most_important'>!!CONTENT CHANGED!!</span> |
| 146 | {/if} |
| 147 | |
| 148 | {/if} |
| 149 | <br> |
| 150 | {/if} |
| 151 | {/foreach} |
| 152 | |
| 153 | <br> |
| 154 | {/foreach} |
| 155 | |
| 156 | {/if} |
| 157 | |
| 158 | Recycle Bin [<a href='/id/1571388/2086083'>1</a>,<a href='/id/123456/2086083'>2</a>] |
| 159 | <br><br> |
| 160 | <input type='text' name='bookmark_category_id' /><input type='submit' name='event' value='set_bookmark_category' /><br /> |
| 161 | <input type='submit' name='event' value='unbook_multi' /> |
| 162 | <input type='submit' name='event' value='set_as_read' /><br /> |
| 163 | <input type='radio' value='0' name='bookstyl'> Vsechny bookmarty |
| 164 | <input type='radio' value='1' name='bookstyl'> Jen new descendant |
| 165 | <input type='radio' value='2' name='bookstyl'> Jen new children |
| 166 | <input type='radio' value='3' name='bookstyl'> New Children a new descendant |
| 167 | <input type='submit' name='event' value='bookstyl' /> |
| 168 | </form> |
| 169 | |
| 170 | </td></tr></table> |
| 171 | {*footer*}{include file="1694307.tpl"} |