rejetto forum
May 24, 2012, 02:11:08 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Number of Upload  (Read 2456 times)
0 Members and 2 Guests are viewing this topic.
Xnorky
Guest


Email
« on: January 20, 2007, 12:47:29 PM »

Hello,

Sorry for my english, i'm french...  Smiley

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

Thanks
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #1 on: January 20, 2007, 02:00:57 PM »

easy answer: no.

but there is a hard way, don't do it: recompiling sources, changing this piece
Code:
  for i:=1 to 10 do
    files:=files+ x_template(diffTpl['upload-file'], ['%idx%',intToStr(i)]);
with the number you want. forget about it.
Logged
Giant Eagle
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« Reply #2 on: January 20, 2007, 03:14:17 PM »

 Huh? Huh? Huh?

why not?

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

and replace it with this:
Code:
<input name=fileupload size=70 type=file><br />

Much easier then de- and recompiling Grin
Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #3 on: January 20, 2007, 07:38:40 PM »

yes, i forgot this solution
though i already gave it a long time ago
Logged
ebola
Guest


Email
« Reply #4 on: December 31, 2007, 08:38:41 AM »

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?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 23, 2012, 04:39:59 AM