    <div class="space"></div>
{include file=$webdoc.template_dir|cat:"message.tpl"}
{if !$no_display}
    <form method="get" action="">
    {insert_form type="hidden" name="subpage1" value=$smarty.get.subpage1}
    {insert_form type="hidden" name="subpage2" value="columns"}
{include file=$webdoc.template_dir|cat:"pages_hidden.tpl"}
{include file=$webdoc.template_dir|cat:"sort_hidden.tpl"} 
{include file=$webdoc.template_dir|cat:"filter_hidden.tpl"}
    <table class="record">
      <tr><th>Select columns:</th></tr><tr><td>{html_checkboxes2 name='columns' options=$checkboxes selected=$columns disabled=$disabled separator='<br />'}</td></tr><tr class="space"><td></td></tr>
      <tr><td>{insert_form type="hidden" name="columns[name]" value="1"}{insert_form type="submit" name="button_select" value="Select"}</td><tr>
    </table>
    </form>
{/if}