venice-main-classic/web/format/conf/attachment.jsp

43 lines
2.0 KiB
Plaintext
Raw Normal View History

<%--
The contents of this file are subject to the Mozilla Public License Version 1.1
(the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
The Original Code is the Venice Web Communities System.
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@users.sf.net>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
--%>
<%@ page import = "java.util.*" %>
<%@ page import = "com.silverwrist.venice.core.*" %>
<%@ page import = "com.silverwrist.venice.ui.conf.CurrentConference" %>
<%@ page import = "com.silverwrist.venice.ui.view.JSPView" %>
<%@ taglib uri="/tlds/util" prefix="util" %>
<%@ taglib uri="/tlds/community" prefix="comm" %>
<%@ taglib uri="/tlds/conference" prefix="conf" %>
<%
JSPView view = JSPView.get(request);
CurrentConference currc = CurrentConference.get(request);
%>
<util:header title="Upload Your Attachment"/>
<util:font color="content.fg" size="content">
Your attachment may be no more than <B>1 megabyte</B> in size.<P>
<util:form action="conf/upload_attachment.js.vs" type="servlet" isfile="true">
<DIV CLASS="content">
<INPUT TYPE=HIDDEN NAME="cc" VALUE="<comm:ID/>">
<INPUT TYPE=HIDDEN NAME="conf" VALUE="<conf:ID/>">
<INPUT TYPE=HIDDEN NAME="msg" VALUE="<%= view.getRequestAttribute("attachment.postid") %>">
<INPUT TYPE=HIDDEN NAME="target" VALUE="<%= view.getRequestAttribute("attachment.target") %>">
File to attach: <INPUT TYPE="FILE" NAME="thefile"><BR>
<util:button id="upload" type="input"/>
</DIV>
</util:form><P>
</util:font>