rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Xnorky on January 20, 2007, 06:47:29 PM

Title: Number of Upload
Post by: Xnorky on January 20, 2007, 06:47:29 PM
Hello,

Sorry for my english, i'm french...  :)

It is possible to have only one input for upload file ? (instead 10)...

Thanks
Title: Re: Number of Upload
Post by: rejetto on January 20, 2007, 08:00:57 PM
easy answer: no.

but there is a hard way, don't do it: recompiling sources, changing this piece
Code: [Select]
  for i:=1 to 10 do
    files:=files+ x_template(diffTpl['upload-file'], ['%idx%',intToStr(i)]);
with the number you want. forget about it.
Title: Re: Number of Upload
Post by: Giant Eagle on January 20, 2007, 09:14:17 PM
 ??? ??? ???

why not?

find the %upload-files% thing inside the [upload] tag of your template

and replace it with this:
Code: [Select]
<input name=fileupload size=70 type=file><br />
Much easier then de- and recompiling ;D
Title: Re: Number of Upload
Post by: rejetto on January 21, 2007, 01:38:40 AM
yes, i forgot this solution
though i already gave it a long time ago
Title: Re: Number of Upload
Post by: ebola on December 31, 2007, 02:38:41 PM
Hi

using v2.2b (150) and looks like

<input name=fileupload size=70 type=file><br />

instead of

%upload-files%

isn't working anymore.
Someone else same problem?