[PATCH] add hostname to html title

Craig Leres nagios-devel at ee.lbl.gov
Thu Oct 7 03:13:47 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached is a short patch that uses javascript to add the current
hostname to the page title in the html generated by index.php. For
example, this changes the title from "Nagios" to "Nagios: ee.lbl.gov"
and makes it easier to open the "right" browser window when running
nagios on multiple servers.

		Craig
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkytHsoACgkQWxlAhAje3Jt15wCeLWEuIqPnPYw9GigvI3kAg0dK
4HUAn1YUuZmioTp4tMnMsxpd6PHH+srX
=PoGk
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-index.php.txt
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101006/ab0c40ef/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-index.php.txt.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101006/ab0c40ef/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-index.php.txt.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101006/ab0c40ef/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-index.php.txt.sig.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101006/ab0c40ef/attachment-0002.obj>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list