diff options
Diffstat (limited to 'phpBB/styles/subSilver/template/posting_attach_body.html')
-rw-r--r-- | phpBB/styles/subSilver/template/posting_attach_body.html | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/phpBB/styles/subSilver/template/posting_attach_body.html b/phpBB/styles/subSilver/template/posting_attach_body.html index 707570953a..e50500d946 100644 --- a/phpBB/styles/subSilver/template/posting_attach_body.html +++ b/phpBB/styles/subSilver/template/posting_attach_body.html @@ -1,5 +1,23 @@ <!-- $Id$ --> +<script language="javascript" type="text/javascript"> +<!-- + function popup_progress_bar() + { + close_waitscreen = 0; + window.open('{U_PROGRESS_BAR}', '_upload', 'HEIGHT=200,resizable=yes,scrollbars=no,WIDTH=400'); + } +//--> +</script> + +<!-- IF S_CLOSE_PROGRESS_WINDOW --> +<script language="javascript" type="text/javascript"> +<!-- + close_waitscreen = 1; +//--> +</script> +<!-- ENDIF --> + <tr> <th colspan="2" height="28">{L_ADD_ATTACHMENT}</th> </tr> @@ -9,7 +27,7 @@ <tr> <td class="row1"><b class="genmed">{L_FILENAME}</b></td> - <td class="row2"><input class="post" type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="{FILENAME}" class="btnlite" /></td> + <td class="row2"><input type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="{FILENAME}" class="btnlite" /></td> </tr> <tr> <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td> @@ -18,7 +36,7 @@ <td><textarea class="post" name="filecomment" rows="3" cols="35" wrap="virtual" size=40>{FILE_COMMENT}</textarea> </td> <td valign="top"><table border="0" cellspacing="4" cellpadding="0"> <tr> - <td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" /></td> + <td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" onclick="javascript:popup_progress_bar();" /></td> </tr></table> </td> </tr></table> |