| View previous topic :: View next topic |
| Author |
Message |
Mister9
Joined: 09 Aug 2009 Posts: 11
|
Posted: Aug 11, 2009 2:05 am Post subject: What file do I edit to remove... |
|
|
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! |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Aug 11, 2009 6:25 am Post subject: |
|
|
upload_form.html, this line:
| Code: | | <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> |
|
|
| Back to top |
|
 |
Mister9
Joined: 09 Aug 2009 Posts: 11
|
Posted: Aug 11, 2009 10:26 am Post subject: |
|
|
| Thank you! |
|
| Back to top |
|
 |
adiga
Joined: 23 Jul 2009 Posts: 117
|
Posted: Aug 13, 2009 8:10 am Post subject: |
|
|
You can replace this code:
| Code: |
<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: |
<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 |
|
| Back to top |
|
 |
Hlias
Joined: 03 May 2009 Posts: 14
|
Posted: Aug 13, 2009 12:57 pm Post subject: |
|
|
Nice!!
Thank you adiga!! |
|
| Back to top |
|
 |
aWebPro
Joined: 04 Aug 2009 Posts: 5
|
Posted: Aug 17, 2009 5:33 pm Post subject: |
|
|
Thanks for the sharing of this tip!
Works like a charm |
|
| Back to top |
|
 |
GMC
Joined: 15 Aug 2009 Posts: 160
|
Posted: Aug 20, 2009 6:38 am Post subject: |
|
|
| Thanks - this is a great tip |
|
| Back to top |
|
 |
|