| 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 | {get_nodes_by_type vector=$current_vector type=14 listing_amount=232323223 offset=$offset} |
| 11 | <table align='center'> |
| 12 | <tr> |
| 13 | <td colspan='2' align='center'><input type='submit' value='on_main' name='event'><input type='submit' value='off_main' name='event'></td> |
| 14 | </tr> |
| 15 | |
| 16 | {foreach from=$get_nodes_by_type item=article} |
| 17 | <tr><td><a href='/id/{$article.node_id}'>{$article.node_name}</a></td> |
| 18 | <td><input type='checkbox' name='chosen[{$article.node_id}]' {if $article.on_main eq 'yes'} checked{/if}></td></tr> |
| 19 | {/foreach} |
| 20 | |
| 21 | <tr> |
| 22 | <td colspan='2' align='center'><input type='submit' value='on_main' name='event'><input type='submit' value='off_main' name='event'></td> |
| 23 | </tr> |
| 24 | |
| 25 | |
| 26 | </table> |
| 27 | {include file="modules/footer.tpl"} |