
<!-- start migratestories.thtml -->
<script type="text/javascript">
    <!-- Begin
    var allChecked;
    function checkAll(field)
    {
    allChecked=true;
    for (i = 0; i < field.length; i++)
        field[i].checked = true ;
    }

    function uncheckAll(field)
    {
    allChecked=false;
    for (i = 0; i < field.length; i++)
        field[i].checked = false ;
    }
    function confirmSubmit(text) {
      var yes = confirm(text);
      if (yes) return true;
      else return false;
    }

    //  End -->
</script>
<form name="storymigrate" action="{action_url}" method="post">
<div><input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}></div>
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-top:25px; margin-bottom:15px;">
    <tr>
        <td style="width:50%; padding-left:10px;">{filter_topic_selection}&nbsp;<input type="submit" value="{LANG_filterlist}"{xhtml}></td>
        <td style="text-align:right;"><select name="selforum"><option value="0">{LANG_selectforum}</option>{select_filter_options}</select></td>
        <td>&nbsp;<input type="submit" name="migrate" value="{LANG_migrate}"{xhtml}></td>
        <td class="alignright" style="padding-right:10px; white-space:nowrap;"><input type="checkbox" name="delPostMigrate" value="1"{xhtml}>&nbsp;{LANG_deleteafter}</td>
    </tr>
</table>
<table cellspacing="1" cellpadding="3" class="pluginSolidOutline" border="0" width="100%">
    <tr style="display:{show_message};">
        <td class="pluginAlert" colspan="5" style="padding:5px; white-space:nowrap;">{status_message}</td>
    </tr>
    <tr>
        <td class="pluginCellTitle" style="width:5%; white-space:nowrap;"><input type="checkbox" name="cb_migrateall" value="y" onclick="if(!allChecked) checkAll(document.storymigrate.elements['cb_chkentry[]']); else uncheckAll(document.storymigrate.elements['cb_chkentry[]']);"{xhtml}>&nbsp;{LANG_all}</td>
        <td class="pluginCellTitle" style="width:20%; padding-top:5px; white-space:nowrap;">{LANG_topic}</td>
        <td class="pluginCellTitle" style="width:55%; padding-top:5px; white-space:nowrap;">{LANG_title}</td>
        <td class="pluginCellTitle" style="width:15%; padding-top:5px; white-space:nowrap;">{LANG_date}</td>
        <td class="pluginCellTitle aligncenter" style="width:10%; padding-top:5px; white-space:nowrap;">{LANG_comments}</td>
    </tr>
{story_record}
</table>
<table cellspacing="0" cellpadding="4" border="0" width="100%" style="margin-top:10px;">
    <tr>
        <td class="aligncenter">{page_navigation}</td>
    </tr>
</table>
</form>
<!-- end migratestories.thtml -->
