Location: PHPKode > projects > phlyMail Lite > phlymail/frontend/templates/files.upload.tpl
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
    var wh = $(window).height();
    var dh = $(document).height();
    var ww = $(window).width();
    var dw = $(document).width();
    window.resizeBy(ww < dw ? dw-ww : 0, wh < dh ? dh-wh : 0);
});

function pleasewait_on()
{
    $('#pleasewait').show();
}
//]]>
</script>
<div style="width:370px;">
    <form id="form" action="{action}" accept-charset="utf-8" enctype="multipart/form-data" method="post" onsubmit="pleasewait_on();">
    <fieldset>
        <legend>{leg_localfolder}</legend>
        {msg_filetofolder}<br />
        <div style="margin-top:4px;">
            <select size="1" id="destfolder" name="folder"><!-- START destfolder -->
                <option value="{id}"<!-- START sel --> selected="selected"<!-- END sel -->>{name}</option><!-- END destfolder -->
            </select>
        </div>
    </fieldset>
    <br />
    <fieldset>
        <legend>{leg_choosefile}</legend>
        <div>{about_choosefile}. {msg_maxfilesize}</div>
        <div style="margin-top:4px;">
            <input id="upload" name="file[]" type="file" multiple="multiple" /><!-- START maxfilesize -->
            <input type="hidden" name="MAX_FILE_SIZE" value="{maxfilesize}" /><!-- END maxfilesize -->
    </fieldset>
    <br />
    <input type="submit" value="{msg_upload}" />
    </form>
    <div id="pleasewait" style="display:none;position:absolute;top:50px;width:100%;">
        <div style="margin:auto;width:65px;height:16px;background:url({theme_path}/images/semitrans.png) repeat;padding:10px;z-index:200;">
            <img src="{theme_path}/images/pleasewait.gif" style="display:block;" alt="..." />
        </div>
    </div>
</div>
Return current item: phlyMail Lite