<script type='text/javascript'>
    <!--
    var strSelectLabelset='<?php eT('You have to select at least one label set.','js');?>';
    //-->
</script>

<div class="col-lg-12 list-surveys">
    <h3><?php eT('Export multiple label sets');?></h3>

    <div class="row">
        <div class="col-lg-12 content-right text-center">

<?php echo CHtml::form(array("admin/export/sa/dumplabel"), 'post', array('id'=>'exportlabelset','class'=>'')); ?>
<div class="form-group">
        <label for='labelsets'><?php eT('Please choose the label sets you want to export:');?><br /><?php eT('(Select multiple label sets by using the Ctrl key)');?></label>
        <br/>
            <select id='labelsets' multiple='multiple' name='lids[]' size='20' class="form-control">
                <?php if (count($labelsets)>0)
                    {
                        foreach ($labelsets as $lb)
                        {
                            echo "<option value='{$lb[0]}'>{$lb[0]}: {$lb[1]}</option>\n";
                        }
                } ?>

            </select>
    <p>
        <br/>
        <input type='submit' id='btnDumpLabelSets' value='<?php eT('Export selected label sets');?>'  class="hidden"/>
        <input type='hidden' name='action' value='dumplabel' />
    </p>        
</div>    
</form>            
        </div>
    </div>
</div>            

