home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
cgi-bin
/
discus4_00
/
source
/
upload.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
2KB
|
59 lines
# FILE: upload.html
# DESCRIPTION: Image/Attachment Upload Form
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
# Translation note: This file is drawn from language.conf and should not itself need
# to be translated.
<!--BEGIN-->
<#define $pagetitle = "$L{BPIMGUPLOADTITLE3_00}"#>
<#language: $L{UPLOAD_DIMENSIONS_EXCEEDED} = "Your uploaded image exceeded the maximum dimensions of %width x %height. Please shrink your image to be smaller than these dimensions."#>
<html>
<head>
<title>$L{BPIMGUPLOADTITLE3_00}</title>
<#insert part () "dynamic_top"#>
$L{BPIMGUPLOADINSTR3_00}
<form action="$script_url/board-post.$cgi_extension" method="post" enctype="multipart/form-data">
<table width=100% border=0 cellpadding=3 cellspacing=0>
<#foreach $attach (@attachments)#>
<tr bgcolor="<#pick color $attach->{_iteration} from @_ALTCOLOR(7,8)#>">
<td><font size="$color->{size}" face="$color->{face}">
<#if $attach->{error} > 0#>
<b>$L{BI_UPLOAD_ERROR_TITLE}</b>:<br>
<#if $attach->{error} == 1#>$L{BI_UPLOAD_ERROR_NODATA}
<#if $attach->{error} == 2#>
<#define $temp = "$L{BI_UPLOAD_ERROR_BADFORMAT}"#>
<#replace "%format" with "$attach->{content}" in $temp#>
$temp
<#endif#>
<#if $attach->{error} == 3#>$L{BI_UPLOAD_ERROR_NODATA}
<#if $attach->{error} == 4#>
<#define $temp = "$L{BI_UPLOAD_EXCEEDED_MAXLENGTH}"#>
<#replace "%maxsize" with "$attach->{maxsize}" in $temp#>
<#replace "%yoursize" with "$attach->{yoursize}" in $temp#>
$temp
<#endif#>
<#if $attach->{error} == 5#>Upload failed due to an unusual internal system error
<#if $attach->{error} == 6#>
<#define $temp = "$L{UPLOAD_DIMENSIONS_EXCEEDED}"#>
<#replace "%width" with "$attach->{width}" in $temp#>
<#replace "%height" with "$attach->{height}" in $temp#>
$temp
<#endif#>
<p>
<#endif#>
$L{BPPROVIDEFILE} <b>$attach->{descr}</b>:<p></p>
</font>
<input type="file" name="attach$attach->{_iteration}" size=40></td></tr>
<#endloop#>
</table>
<p></p>
<input type="submit" value="$L{BPIMGUPLOADBUTTON}">
<input type="hidden" name="action" value="imageupload">
<input type="hidden" name="tempfile" value="$general->{tempfile}">
</form>
<#insert part () "dynamic_bottom"#>
<!--END-->