Code: Select all
<div class="panel bg3" id="attach-panel">
<div class="inner"><span class="corners-top"><span></span></span>
<p>{L_ADD_ATTACHMENT_EXPLAIN}</p>
<fieldset class="fields2">
<dl>
<dt><label for="fileupload">{L_FILENAME}:</label></dt>
<dd id="buttonsatt">
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
</dd>
<dd id="processingatt" style="display:none;">
<img src="{ROOT_PATH}images/loader.gif" width="16" height="16" alt="" style="margin-bottom:-5px; padding-right:10px;" /> <input type="button" class="button2" value="{L_AT_FILE_UPLOADING}" disabled="disabled" />
</dd>
</dl>
<dl>
<dt><label for="filecomment">{L_FILE_COMMENT}:</label></dt>
<dd><textarea name="filecomment" id="filecomment" rows="1" cols="40" class="inputbox autowidth">{FILE_COMMENT}</textarea></dd>
</dl>
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>