Jump to content

Scott

Retired Forum Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Scott

  1. Matt, I think I figured it out. For some reason, despite the fact that I can see the colspan'8" in the above code, it didn't take in the actual template. Re-inserted that change back in the template and it works.
  2. I have read in the forums that you can customer the Server status to monitor different ports, and I have altered the serverstatus.tpl page the way I would think it would need to be altered, however the changes are not appearing. I would like to add the ability to monitor Port 25 for instance. So I changed the code to (not a big coder by the way!): {$LANG.serverstatusheadingtext}</p> <table id="serverstatus" align="center" cellspacing="1"> <tr> <td width="15%" id="serverstatusheading">{$LANG.servername}</td> <td width="11%" id="serverstatusheading">HTTP</td> <td width="11%" id="serverstatusheading">FTP</td> <td width="11%" id="serverstatusheading">POP3</td> <td width="11%" id="serverstatusheading">SMTP</td> <td width="11%" id="serverstatusheading">{$LANG.serverstatusphpinfo}</td> <td width="15%" id="serverstatusheading">{$LANG.serverstatusserverload}</td> <td width="15%" id="serverstatusheading">{$LANG.serverstatusuptime}</td> </tr> {foreach key=num item=server from=$servers} <tr> <td width="15%" id="serverstatusrow">{$server.name}</td> <td width="11%" id="serverstatusrow">{get_port_status num="$num" port="80"}</td> <td width="11%" id="serverstatusrow">{get_port_status num="$num" port="21"}</td> <td width="11%" id="serverstatusrow">{get_port_status num="$num" port="110"}</td> <td width="11%" id="serverstatusrow">{get_port_status num="$num" port="25"}</td> <td width="11%" id="serverstatusrow">{$LANG.serverstatusphpinfo}</td> <td width="15%" id="serverstatusrow">{$server.serverload}</td> <td width="15%" id="serverstatusrow">{$server.uptime}</td> </tr> {foreachelse} <tr> <td id="serverstatusrow" colspan="8">{$LANG.serverstatusnoservers}</td> </tr> {/foreach} </table> I dumped the cache from the templaces_c file but still nothing. What am I doing wrong?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated