From: <st...@us...> - 2012-01-23 09:10:36
|
Revision: 6894 http://xymon.svn.sourceforge.net/xymon/?rev=6894&view=rev Author: storner Date: 2012-01-23 09:10:25 +0000 (Mon, 23 Jan 2012) Log Message: ----------- info page: Add link to detailed status page on status page Modified Paths: -------------- trunk/web/svcstatus-info.c Modified: trunk/web/svcstatus-info.c =================================================================== --- trunk/web/svcstatus-info.c 2012-01-21 12:52:53 UTC (rev 6893) +++ trunk/web/svcstatus-info.c 2012-01-23 09:10:25 UTC (rev 6894) @@ -357,7 +357,9 @@ addtobuffer(buf, "<tr>"); - addtobuffer(buf, "<td><img src=\""); + addtobuffer(buf, "<td><a href=\""); + addtobuffer(buf, hostsvcurl(hostname, tnames[i].name, 1)); + addtobuffer(buf, "\"><img src=\""); addtobuffer(buf, xgetenv("XYMONSKIN")); addtobuffer(buf, "/"); addtobuffer(buf, dotgiffilename(tnames[i].color, 0, 1)); @@ -367,7 +369,7 @@ addtobuffer(buf, xgetenv("DOTWIDTH")); addtobuffer(buf, "\" border=0 alt=\""); addtobuffer(buf, colorname(tnames[i].color)); - addtobuffer(buf, " status\"> "); + addtobuffer(buf, " status\"></a> "); addtobuffer(buf, tnames[i].name); addtobuffer(buf, "</td>"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |