XFileSharing Pro - remove

Message
Author
box_207
Posts: 11
Joined: May 13, 2012 10:19 am

remove

#1 Postby box_207 » May 18, 2012 8:49 pm

Or I can remove this line which is on the home page thank you

Server stats: Files: 9 | Disk Used: 0.02 Gb | Users: 5

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

#2 Postby adiga » May 18, 2012 10:13 pm

in upload_form.html

find :

<TMPL_IF user_total>
<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>


replace to :

<TMPL_IF admin>
<TMPL_IF user_total>
<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>
</TMPL_IF>



now only admin can see

box_207
Posts: 11
Joined: May 13, 2012 10:19 am

thank you

#3 Postby box_207 » May 19, 2012 4:12 pm

thank you very much it works very well

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

Re: thank you

#4 Postby adiga » May 19, 2012 4:22 pm

box_207 wrote:thank you very much it works very well


always welcome

hostlife
Posts: 190
Joined: Aug 13, 2011 12:34 pm

#5 Postby hostlife » May 19, 2012 4:35 pm

Go to setting page & uncheck this
Show server stats on main page

box_207
Posts: 11
Joined: May 13, 2012 10:19 am

thank you

#6 Postby box_207 » May 19, 2012 6:38 pm

thank you very much


Return to “XFileSharing Pro”