Index: openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml,v diff -u -r1.18 -r1.19 --- openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml 16 Dec 2003 01:32:57 -0000 1.18 +++ openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml 18 Jan 2004 14:19:42 -0000 1.19 @@ -60,7 +60,7 @@ Live version of "%title%" Modify permissions on this file Modify permissions on this folder - Please enter the new name for this file: + Please enter the new name for this file Select the folder that you would like to copy "%file_name%" to Select the folder that you would like to move "%file_name%" under Show files modified in the past Index: openacs-4/packages/file-storage/www/file-edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/file-edit.adp,v diff -u -r1.7 -r1.8 --- openacs-4/packages/file-storage/www/file-edit.adp 13 Oct 2003 17:16:08 -0000 1.7 +++ openacs-4/packages/file-storage/www/file-edit.adp 18 Jan 2004 14:19:42 -0000 1.8 @@ -3,15 +3,5 @@ @page_title;noquote@ @context;noquote@ -
- + -

#file-storage.lt_Please_enter_the_new_# - -

- -

- -

- - Index: openacs-4/packages/file-storage/www/file-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/file-edit.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/file-storage/www/file-edit.tcl 13 Oct 2003 17:16:08 -0000 1.5 +++ openacs-4/packages/file-storage/www/file-edit.tcl 18 Jan 2004 14:19:42 -0000 1.6 @@ -33,4 +33,12 @@ # Variable title used by message lookup set page_title [_ file-storage.file_edit_page_title] +set title_help [_ file-storage.lt_Please_enter_the_new_] +set submit_label [_ file-storage.Change_Name] + +ad_form -action file-edit-2 -export file_id -form { + {title:text(text) {help_text $title_help} {label \#file-storage.Name\#}} + {submit:text(submit) {label $submit_label}} +} -has_submit 1 + ad_return_template Index: openacs-4/packages/file-storage/www/simple-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/simple-add.adp,v diff -u -r1.8 -r1.9 --- openacs-4/packages/file-storage/www/simple-add.adp 13 Oct 2003 17:16:08 -0000 1.8 +++ openacs-4/packages/file-storage/www/simple-add.adp 18 Jan 2004 14:19:42 -0000 1.9 @@ -2,40 +2,6 @@ @page_title;noquote@ @context;noquote@ -
- - + - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#file-storage.Title# @title@
#file-storage.URL#
#file-storage.Description#
-
-
- - Index: openacs-4/packages/file-storage/www/simple-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/simple-add.tcl,v diff -u -r1.9 -r1.10 --- openacs-4/packages/file-storage/www/simple-add.tcl 13 Oct 2003 17:16:08 -0000 1.9 +++ openacs-4/packages/file-storage/www/simple-add.tcl 18 Jan 2004 14:19:42 -0000 1.10 @@ -44,3 +44,27 @@ # Message lookup uses variable pretty_name set page_title [_ file-storage.simple_add_page_title] + + +ad_form -action simple-add-2 -export {folder_id type} -form { + {dummy:text(hidden)} +} -has_submit 1 + +if {$lock_title_p} { + ad_form -extend -form { + {title_display:text(inform) {label \#file-storage.Title\#} } + {title:text(hidden) {value $title}} + } +} else { + ad_form -extend -form { + {title:text {label \#file-storage.Title\#} {html {size 30}} } + } +} + +set submit_label [_ file-storage.Create] + +ad_form -extend -form { + {url:text(text) {label \#file-storage.URL\#} {value "http://"}} + {description:text(textarea),optional {html {rows 5 cols 50}} {label \#file-storage.Description\#}} + {submit:text(submit) {label $submit_label}} +} Index: openacs-4/packages/file-storage/www/version-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/version-add.adp,v diff -u -r1.7 -r1.8 --- openacs-4/packages/file-storage/www/version-add.adp 13 Oct 2003 17:16:08 -0000 1.7 +++ openacs-4/packages/file-storage/www/version-add.adp 18 Jan 2004 14:19:42 -0000 1.8 @@ -2,36 +2,4 @@ @page_title;noquote@ @context;noquote@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#file-storage.Version_filename_1#
 #file-storage.lt_Use_the_Browse_button#
  
#file-storage.Version_Notes_1#
-
-
+ Index: openacs-4/packages/file-storage/www/version-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/version-add.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/file-storage/www/version-add.tcl 13 Oct 2003 17:16:08 -0000 1.5 +++ openacs-4/packages/file-storage/www/version-add.tcl 18 Jan 2004 14:19:42 -0000 1.6 @@ -36,4 +36,12 @@ # Message lookup uses variable title set page_title [_ file-storage.version_add_page_title] +set upload_file_help [_ file-storage.lt_Use_the_Browse_button] +set submit_label [_ file-storage.Update] +ad_form -html { enctype multipart/form-data } -export { file_id title } -action version-add-2 -form { + {upload_file:file {label \#file-storage.Version_filename_1\#} {help_text $upload_file_help}} + {description:text(textarea),optional {html {rows 5 cols 50}} {label \#file-storage.Version_Notes_1\#}} + {submit:text(submit) {label $submit_label}} +} -has_submit 1 + ad_return_template