|
From: Chris W. <la...@us...> - 2001-10-25 14:58:31
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/template
In directory usw-pr-cvs1:/tmp/cvs-serv21944/template
Modified Files:
page_form.tmpl
Log Message:
add the ability to upload a file
Index: page_form.tmpl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/template/page_form.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** page_form.tmpl 2001/10/24 23:04:21 1.3
--- page_form.tmpl 2001/10/25 14:58:28 1.4
***************
*** 12,16 ****
made instantly.</p>
! <form name="page" method="POST" action="/Page/edit/">
[% INCLUDE table_bordered_begin( table_width = '90%' ) -%]
--- 12,17 ----
made instantly.</p>
! <form name="page" method="POST" action="/Page/edit/"
! enctype="multipart/form-data">
[% INCLUDE table_bordered_begin( table_width = '90%' ) -%]
***************
*** 62,65 ****
--- 63,74 ----
cols = 70, rows = 18,
colspan = 2, wrap = 'virtual' ) -%]
+
+ [%- count = count + 1 -%]
+ [%- INCLUDE label_row_begin( label = 'Upload' ) -%]
+ <td>[% INCLUDE form_checkbox( name = 'use_upload', value = 'yes' ) %]
+ Check if you want to upload the content (will replace existing content)<br>
+ [% INCLUDE form_upload( name = 'content_upload' ) -%]
+ </td>
+ </tr>
[%- count = count + 1 -%]
|