<script type="text/javascript">
    function importCheck()
    {
        var flag = confirm("Are you sure?");
        if(flag ==true){
            window.location.href ="<?php echo url_for('import_schedule_one', $import_schedule)?>";
        }
    }
</script>
<a href="" onclick="importCheck(); return false;"><?php echo __('Import')?></a>