RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Change date format?

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
xfileshare.eu



Joined: 06 May 2010
Posts: 17

PostPosted: May 07, 2010 6:03 pm    Post subject: Change date format? Reply with quote

Hi, is it possible to change the date format on the download page to the ITALIAN standard dd-mm-yyyy ?

Thanks, Denis
Back to top
View user's profile Send private message
xfileshare.eu



Joined: 06 May 2010
Posts: 17

PostPosted: May 11, 2010 12:36 am    Post subject: Reply with quote

Isn't possible ?
Back to top
View user's profile Send private message
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: May 11, 2010 9:20 am    Post subject: Reply with quote

Everything's possible:
Code:
$file->{file_created}=~s/(\d+)-(\d+)-(\d+)/$3-$2-$1/;
Back to top
View user's profile Send private message
peterdays



Joined: 10 Mar 2010
Posts: 55

PostPosted: May 11, 2010 11:27 am    Post subject: Reply with quote

wont this screw up the script tho?
Back to top
View user's profile Send private message
xfileshare.eu



Joined: 06 May 2010
Posts: 17

PostPosted: May 11, 2010 8:45 pm    Post subject: Reply with quote

komi wrote:
Everything's possible:
Code:
$file->{file_created}=~s/(\d+)-(\d+)-(\d+)/$3-$2-$1/;


but where is the line I write?
Back to top
View user's profile Send private message
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: May 11, 2010 10:09 pm    Post subject: Reply with quote

In 1.7 place it under:
Code:
LIMIT 20",$file->{usr_id},$file->{file_created},$file->{file_created},$file->{file_id});
(line 798)

Last edited by komi on May 12, 2010 10:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
xfileshare.eu



Joined: 06 May 2010
Posts: 17

PostPosted: May 12, 2010 8:58 pm    Post subject: Reply with quote

komi wrote:
In 1.7 place it under:
Code:
LIMIT 20",$file->{usr_id},$file->{file_created},$file->{file_created},$file->{file_id});
(line 682)


In my index.cgi in line 682 :
Code:


{
- 680         require Time::Elapsed;
- 681         my $et = new Time::Elapsed;
- 682         my $elapsed = $et->convert($wait);



if copy you code its wrong
Back to top
View user's profile Send private message
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: May 12, 2010 10:56 pm    Post subject: Reply with quote

Sorry, correct line in latest version is 798.
Back to top
View user's profile Send private message
xfileshare.eu



Joined: 06 May 2010
Posts: 17

PostPosted: May 13, 2010 3:57 pm    Post subject: Reply with quote

komi wrote:
Sorry, correct line in latest version is 798.


ok, thanks ! and for my files section is possible?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group