XFileSharing Pro - What file do I edit to remove...

Message
Author
Mister9
Posts: 11
Joined: Aug 09, 2009 8:35 am

What file do I edit to remove...

#1 Postby Mister9 » Aug 11, 2009 2:05 am

I am trying to remove this..

Server stats: Files: 1 | Disk Used: 0.00 Gb | Users: 3

What file do I need to edit to do this?

Thanks!

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 11, 2009 6:25 am

upload_form.html, this line:

Code: Select all

<div style="margin-top:5px;"><TMPL_VAR lang_srv_stats>: <TMPL_VAR lang_files_hdr>: <TMPL_VAR files_total> | <TMPL_VAR lang_disk_used>: <TMPL_VAR used_total> Gb | <TMPL_VAR lang_users>: <TMPL_VAR user_total></div>

Mister9
Posts: 11
Joined: Aug 09, 2009 8:35 am

#3 Postby Mister9 » Aug 11, 2009 10:26 am

Thank you!

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#4 Postby adiga » Aug 13, 2009 8:10 am

You can replace this code:

Code: Select all

<div style="margin-top:5px;"><TMPL_VAR lang_srv_stats>: <TMPL_VAR lang_files_hdr>: <TMPL_VAR files_total> | <TMPL_VAR lang_disk_used>: <TMPL_VAR used_total> Gb | <TMPL_VAR lang_users>: <TMPL_VAR user_total></div>


With:

Code: Select all

<TMPL_IF admin>
<div style="margin-top:5px;"><TMPL_VAR lang_srv_stats>: <TMPL_VAR lang_files_hdr>: <TMPL_VAR files_total> | <TMPL_VAR lang_disk_used>: <TMPL_VAR used_total> Gb | <TMPL_VAR lang_users>: <TMPL_VAR user_total></div>
</TMPL_IF>


for show to admin only

Hlias
Posts: 14
Joined: May 03, 2009 2:01 am

#5 Postby Hlias » Aug 13, 2009 12:57 pm

Nice!!

Thank you adiga!!

aWebPro
Posts: 5
Joined: Aug 04, 2009 4:47 am

#6 Postby aWebPro » Aug 17, 2009 5:33 pm

Thanks for the sharing of this tip!

Works like a charm

GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

#7 Postby GMC » Aug 20, 2009 6:38 am

Thanks - this is a great tip


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests