View previous topic :: View next topic |
Author |
Message |
webzn -
Joined: 01 Apr 2003 Posts: 27 Location: Canada
|
Posted: Thu Aug 05, 2004 5:33 pm Post subject: MOD: Colored Server Status |
|
|
If you would like a little color in the server status page, this is the mod todo it.
//Abyss Server Control Panel Hack (C) Carl (Neogenisis.net)
// Files to edit: srvstatus.chl
//Open /chl/srvstatus.chl
Find:
Replace with...
Code: | <script>
var statust = "^@status^";
if(statust == "Stopped") { document.write("<font color=red><b>Stopped</b></font>"); }
if(statust == "Running") { document.write("<font color=green><b>Running</b></font>"); }
if(statust == "Halted") { document.write("<font color=yellow><b>Halted</b></font>"); }
</script>
|
|
|
Back to top |
|
|
HIWD -
Joined: 13 Apr 2004 Posts: 142 Location: Dublin, Ireland
|
Posted: Sat Aug 07, 2004 2:28 pm Post subject: |
|
|
Really cool, do I'm not sure is Aprelium like people changing the script, but anyway its good. Thanks. |
|
Back to top |
|
|
webzn -
Joined: 01 Apr 2003 Posts: 27 Location: Canada
|
Posted: Sun Aug 08, 2004 7:33 pm Post subject: |
|
|
Thanks, Its not like I am changing much. Just cosmetic stuff. If they don't want me to, I will stop |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Aug 09, 2004 1:50 am Post subject: |
|
|
HIWD wrote: | Really cool, do I'm not sure is Aprelium like people changing the script, but anyway its good. Thanks. |
You're free to modify the files as long as you use them on your personal computer only and as long as you don't redistribute them. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|