[Spong-users] Patch to HostGroups.pm
Brought to you by:
apremselaar,
sljohnson
|
From: Andrew R. <pu...@ch...> - 2001-02-15 22:24:20
|
Hi guys,
Attached is a patch which allows you to specify a group with a name of
"break". When this group shows up depending on the group view you're
using it does several things.
In the HTML mode, it displays the header bar again. This allows you to
cleanly breakup some different groups in either the brief or standard
group summary views. This group is skipped in the full view.
In text mode it does a simialr thing, but just prints a blank line instead
of repeating the header lines.
An example of what to put in your spong.groups file is:
'group 1' => { ... },
'----' => { name => 'break' },
'completely different group' => { ... }
Well, I like it. :)
Prompted by me initially putting in an empty group labelled "----", but
decided that it looked really ugly, and a work mate asking if I could
repeat the header line.
Cheers!
--
Andrew Ruthven
Unix guy, Chelmer Limited --> <http://www.chelmer.co.nz>
#include <stddisclaimer.h>
----------
The information contained in this e-mail and any attachments is confidential
and is intended for the attention and use of the named addressee(s) only.
Any views expressed in this message are those of the individual sender and
may not necessarily reflect the views of Chelmer Limited.
|